UserFunction Class Reference

Class for user defined surfaces. More...

#include <Graph3D.h>

List of all members.

Public Member Functions

unsigned int columns ()
QString function ()
double operator() (double x, double y)
unsigned int rows ()
void setMesh (unsigned int columns, unsigned int rows)
 UserFunction (const QString &s, SurfacePlot &pw)

Private Attributes

unsigned int d_columns
unsigned int d_rows
QString formula

Detailed Description

Class for user defined surfaces.


Constructor & Destructor Documentation

UserFunction::UserFunction ( const QString &  s,
SurfacePlot &  pw 
)

Member Function Documentation

unsigned int UserFunction::columns (  )  [inline]
QString UserFunction::function (  )  [inline]
double UserFunction::operator() ( double  x,
double  y 
)

References formula.

unsigned int UserFunction::rows (  )  [inline]
void UserFunction::setMesh ( unsigned int  columns,
unsigned int  rows 
)

References d_columns, and d_rows.

Referenced by Graph3D::addFunction().


Member Data Documentation

unsigned int UserFunction::d_columns [private]

Referenced by columns(), and setMesh().

unsigned int UserFunction::d_rows [private]

Referenced by rows(), and setMesh().

QString UserFunction::formula [private]

Referenced by function(), and operator()().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2