UserFunction Class Reference

#include <Graph3D.h>

List of all members.


Detailed Description

Class for user defined surfaces.

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

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 on Tue Jun 17 08:36:17 2008 for QtiPlot by  doxygen 1.5.5