QtiPlot 0.9.8.2
|
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 |
Class for user defined surfaces.
UserFunction::UserFunction | ( | const QString & | s, |
Qwt3D::Curve * | pw | ||
) |
unsigned int UserFunction::columns | ( | ) | [inline] |
Referenced by Graph3D::copy(), Graph3D::save(), SurfaceDialog::setFunction(), and setMesh().
QString UserFunction::function | ( | ) | [inline] |
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] |
Referenced by Graph3D::copy(), Graph3D::save(), SurfaceDialog::setFunction(), and setMesh().
void UserFunction::setMesh | ( | unsigned int | columns, |
unsigned int | rows | ||
) |
References columns(), d_columns, d_rows, and rows().
Referenced by Graph3D::addFunction().
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()().