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, SurfacePlot &pw) | |
Private Attributes | |
unsigned int | d_columns |
unsigned int | d_rows |
QString | formula |
Class for user defined surfaces.
UserFunction::UserFunction | ( | const QString & | s, | |
SurfacePlot & | pw | |||
) |
unsigned int UserFunction::columns | ( | ) | [inline] |
References d_columns.
Referenced by Graph3D::copy(), Graph3D::save(), and SurfaceDialog::setFunction().
QString UserFunction::function | ( | ) | [inline] |
References formula.
Referenced by Graph3D::copy(), Graph3D::formula(), Graph3D::save(), and SurfaceDialog::setFunction().
double UserFunction::operator() | ( | double | x, | |
double | y | |||
) |
References formula.
unsigned int UserFunction::rows | ( | ) | [inline] |
References d_rows.
Referenced by Graph3D::copy(), Graph3D::save(), and SurfaceDialog::setFunction().
void UserFunction::setMesh | ( | unsigned int | columns, | |
unsigned int | rows | |||
) |
References d_columns, and d_rows.
Referenced by Graph3D::addFunction().
unsigned int UserFunction::d_columns [private] |
unsigned int UserFunction::d_rows [private] |
QString UserFunction::formula [private] |
Referenced by function(), and operator()().