Define surface plot dialog. More...
#include <SurfaceDialog.h>
Public Slots | |
void | accept () |
void | setFunction (Graph3D *) |
void | setParametricSurface (Graph3D *) |
Public Member Functions | |
SurfaceDialog (QWidget *parent=0, Qt::WFlags fl=0) | |
Private Slots | |
void | clearList () |
Private Member Functions | |
void | acceptFunction () |
void | acceptParametricSurface () |
void | initFunctionPage () |
void | initParametricSurfacePage () |
Private Attributes | |
QSpinBox * | boxColumns |
QSpinBox * | boxFuncColumns |
QSpinBox * | boxFuncRows |
QComboBox * | boxFunction |
QSpinBox * | boxRows |
QComboBox * | boxType |
QLineEdit * | boxUFrom |
QCheckBox * | boxUPeriodic |
QLineEdit * | boxUTo |
QLineEdit * | boxVFrom |
QCheckBox * | boxVPeriodic |
QLineEdit * | boxVTo |
QLineEdit * | boxX |
QLineEdit * | boxXFrom |
QLineEdit * | boxXTo |
QLineEdit * | boxY |
QLineEdit * | boxYFrom |
QLineEdit * | boxYTo |
QLineEdit * | boxZ |
QLineEdit * | boxZFrom |
QLineEdit * | boxZTo |
QPushButton * | buttonCancel |
QPushButton * | buttonClear |
QPushButton * | buttonOk |
Graph3D * | d_graph |
QWidget * | functionPage |
QStackedWidget * | optionStack |
QWidget * | parametricPage |
Define surface plot dialog.
SurfaceDialog::SurfaceDialog | ( | QWidget * | parent = 0 , |
|
Qt::WFlags | fl = 0 | |||
) |
void SurfaceDialog::accept | ( | ) | [slot] |
References acceptFunction(), acceptParametricSurface(), and boxType.
Referenced by SurfaceDialog().
void SurfaceDialog::acceptFunction | ( | ) | [private] |
References Graph3D::addFunction(), boxFuncColumns, boxFuncRows, boxFunction, boxXFrom, boxXTo, boxYFrom, boxYTo, boxZFrom, boxZTo, d_graph, ApplicationWindow::plotSurface(), and ApplicationWindow::updateSurfaceFuncList().
Referenced by accept().
void SurfaceDialog::acceptParametricSurface | ( | ) | [private] |
References Graph3D::addParametricSurface(), boxColumns, boxRows, boxUFrom, boxUPeriodic, boxUTo, boxVFrom, boxVPeriodic, boxVTo, boxX, boxY, boxZ, d_graph, ApplicationWindow::d_param_surface_func, and ApplicationWindow::plotParametricSurface().
Referenced by accept().
void SurfaceDialog::clearList | ( | ) | [private, slot] |
References boxFunction, boxType, ApplicationWindow::clearSurfaceFunctionsList(), and ApplicationWindow::d_param_surface_func.
Referenced by SurfaceDialog().
void SurfaceDialog::initFunctionPage | ( | ) | [private] |
References boxFuncColumns, boxFuncRows, boxFunction, boxXFrom, boxXTo, boxYFrom, boxYTo, boxZFrom, boxZTo, functionPage, and optionStack.
Referenced by SurfaceDialog().
void SurfaceDialog::initParametricSurfacePage | ( | ) | [private] |
References boxColumns, boxRows, boxUFrom, boxUPeriodic, boxUTo, boxVFrom, boxVPeriodic, boxVTo, boxX, boxY, boxZ, optionStack, and parametricPage.
Referenced by SurfaceDialog().
void SurfaceDialog::setFunction | ( | Graph3D * | g | ) | [slot] |
References boxFuncColumns, boxFuncRows, boxFunction, boxXFrom, boxXTo, boxYFrom, boxYTo, boxZFrom, boxZTo, UserFunction::columns(), d_graph, UserFunction::function(), UserFunction::rows(), Graph3D::userFunction(), Graph3D::xStart(), Graph3D::xStop(), Graph3D::yStart(), Graph3D::yStop(), Graph3D::zStart(), and Graph3D::zStop().
Referenced by ApplicationWindow::editSurfacePlot().
void SurfaceDialog::setParametricSurface | ( | Graph3D * | g | ) | [slot] |
References boxColumns, boxRows, boxType, boxUFrom, boxUPeriodic, boxUTo, boxVFrom, boxVPeriodic, boxVTo, boxX, boxY, boxZ, UserParametricSurface::columns(), d_graph, optionStack, Graph3D::parametricSurface(), UserParametricSurface::rows(), UserParametricSurface::uEnd(), UserParametricSurface::uPeriodic(), UserParametricSurface::uStart(), UserParametricSurface::vEnd(), UserParametricSurface::vPeriodic(), UserParametricSurface::vStart(), UserParametricSurface::xFormula(), UserParametricSurface::yFormula(), and UserParametricSurface::zFormula().
Referenced by ApplicationWindow::editSurfacePlot().
QSpinBox* SurfaceDialog::boxColumns [private] |
Referenced by acceptParametricSurface(), initParametricSurfacePage(), and setParametricSurface().
QSpinBox * SurfaceDialog::boxFuncColumns [private] |
Referenced by acceptFunction(), initFunctionPage(), and setFunction().
QSpinBox * SurfaceDialog::boxFuncRows [private] |
Referenced by acceptFunction(), initFunctionPage(), and setFunction().
QComboBox* SurfaceDialog::boxFunction [private] |
Referenced by acceptFunction(), clearList(), initFunctionPage(), setFunction(), and SurfaceDialog().
QSpinBox * SurfaceDialog::boxRows [private] |
Referenced by acceptParametricSurface(), initParametricSurfacePage(), and setParametricSurface().
QComboBox* SurfaceDialog::boxType [private] |
Referenced by accept(), clearList(), setParametricSurface(), and SurfaceDialog().
QLineEdit* SurfaceDialog::boxUFrom [private] |
Referenced by acceptParametricSurface(), initParametricSurfacePage(), and setParametricSurface().
QCheckBox* SurfaceDialog::boxUPeriodic [private] |
Referenced by acceptParametricSurface(), initParametricSurfacePage(), and setParametricSurface().
QLineEdit* SurfaceDialog::boxUTo [private] |
Referenced by acceptParametricSurface(), initParametricSurfacePage(), and setParametricSurface().
QLineEdit* SurfaceDialog::boxVFrom [private] |
Referenced by acceptParametricSurface(), initParametricSurfacePage(), and setParametricSurface().
QCheckBox * SurfaceDialog::boxVPeriodic [private] |
Referenced by acceptParametricSurface(), initParametricSurfacePage(), and setParametricSurface().
QLineEdit* SurfaceDialog::boxVTo [private] |
Referenced by acceptParametricSurface(), initParametricSurfacePage(), and setParametricSurface().
QLineEdit* SurfaceDialog::boxX [private] |
Referenced by acceptParametricSurface(), initParametricSurfacePage(), setParametricSurface(), and SurfaceDialog().
QLineEdit* SurfaceDialog::boxXFrom [private] |
Referenced by acceptFunction(), initFunctionPage(), and setFunction().
QLineEdit* SurfaceDialog::boxXTo [private] |
Referenced by acceptFunction(), initFunctionPage(), and setFunction().
QLineEdit* SurfaceDialog::boxY [private] |
Referenced by acceptParametricSurface(), initParametricSurfacePage(), setParametricSurface(), and SurfaceDialog().
QLineEdit* SurfaceDialog::boxYFrom [private] |
Referenced by acceptFunction(), initFunctionPage(), and setFunction().
QLineEdit* SurfaceDialog::boxYTo [private] |
Referenced by acceptFunction(), initFunctionPage(), and setFunction().
QLineEdit* SurfaceDialog::boxZ [private] |
Referenced by acceptParametricSurface(), initParametricSurfacePage(), setParametricSurface(), and SurfaceDialog().
QLineEdit* SurfaceDialog::boxZFrom [private] |
Referenced by acceptFunction(), initFunctionPage(), and setFunction().
QLineEdit* SurfaceDialog::boxZTo [private] |
Referenced by acceptFunction(), initFunctionPage(), and setFunction().
QPushButton* SurfaceDialog::buttonCancel [private] |
Referenced by SurfaceDialog().
QPushButton* SurfaceDialog::buttonClear [private] |
Referenced by SurfaceDialog().
QPushButton* SurfaceDialog::buttonOk [private] |
Referenced by SurfaceDialog().
Graph3D* SurfaceDialog::d_graph [private] |
Referenced by acceptFunction(), acceptParametricSurface(), setFunction(), setParametricSurface(), and SurfaceDialog().
QWidget* SurfaceDialog::functionPage [private] |
Referenced by initFunctionPage().
QStackedWidget* SurfaceDialog::optionStack [private] |
Referenced by initFunctionPage(), initParametricSurfacePage(), setParametricSurface(), and SurfaceDialog().
QWidget* SurfaceDialog::parametricPage [private] |
Referenced by initParametricSurfacePage().