Class for user defined parametric surfaces. More...
#include <Graph3D.h>
Public Member Functions | |
unsigned int | columns () |
Triple | operator() (double u, double v) |
unsigned int | rows () |
void | setDomain (double ul, double ur, double vl, double vr) |
void | setMesh (unsigned int columns, unsigned int rows) |
void | setPeriodic (bool u, bool v) |
double | uEnd () |
bool | uPeriodic () |
UserParametricSurface (const QString &xFormula, const QString &yFormula, const QString &zFormula, SurfacePlot &pw) | |
double | uStart () |
double | vEnd () |
bool | vPeriodic () |
double | vStart () |
QString | xFormula () |
QString | yFormula () |
QString | zFormula () |
Private Attributes | |
unsigned int | d_columns |
unsigned int | d_rows |
bool | d_u_periodic |
double | d_ul |
double | d_ur |
bool | d_v_periodic |
double | d_vl |
double | d_vr |
QString | d_x_formula |
QString | d_y_formula |
QString | d_z_formula |
Class for user defined parametric surfaces.
UserParametricSurface::UserParametricSurface | ( | const QString & | xFormula, | |
const QString & | yFormula, | |||
const QString & | zFormula, | |||
SurfacePlot & | pw | |||
) |
unsigned int UserParametricSurface::columns | ( | ) | [inline] |
References d_columns.
Referenced by ApplicationWindow::clone(), Graph3D::save(), and SurfaceDialog::setParametricSurface().
Triple UserParametricSurface::operator() | ( | double | u, | |
double | v | |||
) |
References d_x_formula, d_y_formula, and d_z_formula.
unsigned int UserParametricSurface::rows | ( | ) | [inline] |
References d_rows.
Referenced by ApplicationWindow::clone(), Graph3D::save(), and SurfaceDialog::setParametricSurface().
void UserParametricSurface::setDomain | ( | double | ul, | |
double | ur, | |||
double | vl, | |||
double | vr | |||
) |
References d_ul, d_ur, d_vl, and d_vr.
Referenced by Graph3D::addParametricSurface().
void UserParametricSurface::setMesh | ( | unsigned int | columns, | |
unsigned int | rows | |||
) |
References d_columns, and d_rows.
Referenced by Graph3D::addParametricSurface().
void UserParametricSurface::setPeriodic | ( | bool | u, | |
bool | v | |||
) |
References d_u_periodic, and d_v_periodic.
Referenced by Graph3D::addParametricSurface().
double UserParametricSurface::uEnd | ( | ) | [inline] |
References d_ur.
Referenced by ApplicationWindow::clone(), Graph3D::save(), and SurfaceDialog::setParametricSurface().
bool UserParametricSurface::uPeriodic | ( | ) | [inline] |
References d_u_periodic.
Referenced by ApplicationWindow::clone(), Graph3D::save(), and SurfaceDialog::setParametricSurface().
double UserParametricSurface::uStart | ( | ) | [inline] |
References d_ul.
Referenced by ApplicationWindow::clone(), Graph3D::save(), and SurfaceDialog::setParametricSurface().
double UserParametricSurface::vEnd | ( | ) | [inline] |
References d_vr.
Referenced by ApplicationWindow::clone(), Graph3D::save(), and SurfaceDialog::setParametricSurface().
bool UserParametricSurface::vPeriodic | ( | ) | [inline] |
References d_v_periodic.
Referenced by ApplicationWindow::clone(), Graph3D::save(), and SurfaceDialog::setParametricSurface().
double UserParametricSurface::vStart | ( | ) | [inline] |
References d_vl.
Referenced by ApplicationWindow::clone(), Graph3D::save(), and SurfaceDialog::setParametricSurface().
QString UserParametricSurface::xFormula | ( | ) | [inline] |
References d_x_formula.
Referenced by ApplicationWindow::clone(), Graph3D::save(), and SurfaceDialog::setParametricSurface().
QString UserParametricSurface::yFormula | ( | ) | [inline] |
References d_y_formula.
Referenced by ApplicationWindow::clone(), Graph3D::save(), and SurfaceDialog::setParametricSurface().
QString UserParametricSurface::zFormula | ( | ) | [inline] |
References d_z_formula.
Referenced by ApplicationWindow::clone(), Graph3D::save(), and SurfaceDialog::setParametricSurface().
unsigned int UserParametricSurface::d_columns [private] |
unsigned int UserParametricSurface::d_rows [private] |
bool UserParametricSurface::d_u_periodic [private] |
Referenced by setPeriodic(), and uPeriodic().
double UserParametricSurface::d_ul [private] |
Referenced by setDomain(), and uStart().
double UserParametricSurface::d_ur [private] |
Referenced by setDomain(), and uEnd().
bool UserParametricSurface::d_v_periodic [private] |
Referenced by setPeriodic(), and vPeriodic().
double UserParametricSurface::d_vl [private] |
Referenced by setDomain(), and vStart().
double UserParametricSurface::d_vr [private] |
Referenced by setDomain(), and vEnd().
QString UserParametricSurface::d_x_formula [private] |
Referenced by operator()(), and xFormula().
QString UserParametricSurface::d_y_formula [private] |
Referenced by operator()(), and yFormula().
QString UserParametricSurface::d_z_formula [private] |
Referenced by operator()(), and zFormula().