QtiPlot  0.9.8.2
Public Member Functions | Private Attributes | List of all members
UserFunction Class Reference

Class for user defined surfaces. More...

#include <Graph3D.h>

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, Qwt3D::Curve *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,
Qwt3D::Curve *  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 columns(), d_columns, d_rows, and rows().

Referenced by Graph3D::addFunction().

Member Data Documentation

unsigned int UserFunction::d_columns
private

Referenced by setMesh().

unsigned int UserFunction::d_rows
private

Referenced by setMesh().

QString UserFunction::formula
private

Referenced by operator()().


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