![]() |
VR-Forces Developer's Guide
|
Abstract interface for range editor widgets.

Public Types | |
| typedef std::vector< double > | ControlPoint |
| typedef std::vector < DtRangeEditorInterface::ControlPoint > | Gradient |
Public Member Functions | |
| virtual | ~DtRangeEditorInterface () |
| virtual void | clearGradient ()=0 |
| virtual void | addControlPoint (double rangeStart, double rangeEnd, double red, double green, double blue, double alpha=1.0)=0 |
| virtual void | addControlPoint (const DtRangeEditorInterface::ControlPoint &cp)=0 |
| virtual void | setGradient (DtRangeEditorInterface::Gradient grad)=0 |
| virtual DtRangeEditorInterface::Gradient | gradient () const =0 |
Public Attributes | |
| boost::signalslib::signal < void(const DtRangeEditorInterface::Gradient &)> | signal_gradientChanged |
| typedef std::vector<double> makVrv::DtRangeEditorInterface::ControlPoint |
Vector type for the double values that make up a control point.
| typedef std::vector<DtRangeEditorInterface::ControlPoint> makVrv::DtRangeEditorInterface::Gradient |
Vector type for storing ControlPoints.
|
virtual |
Virtual DTOR.
|
pure virtual |
Blank the currently set gradient.
Implemented in makVrv::DtRangeEditorWidget.
|
pure virtual |
Add a single control point to the currently set gradient.
Implemented in makVrv::DtRangeEditorWidget.
|
pure virtual |
Add a single control point to the currently set gradient.
Implemented in makVrv::DtRangeEditorWidget.
|
pure virtual |
Replace the currently set gradient with the specified one.
Implemented in makVrv::DtRangeEditorWidget.
|
pure virtual |
Accessor for the currently set gradient's definition.
Implemented in makVrv::DtRangeEditorWidget.
| boost::signalslib::signal<void (const DtRangeEditorInterface::Gradient&)> makVrv::DtRangeEditorInterface::signal_gradientChanged |
Signal emitted when the user changes the gradient. This signal is connected to a slot in the logic.