![]() |
VR-Forces 4.8 Class Documentation
|
Abstract interface for range editor widgets. More...

Public Types | |
| typedef std::vector< double > | ControlPoint |
| Vector type for the double values that make up a control point. More... | |
| typedef std::vector < DtRangeEditorInterface::ControlPoint > | Gradient |
| Vector type for storing ControlPoints. More... | |
Public Member Functions | |
| virtual | ~DtRangeEditorInterface () |
| Virtual DTOR. More... | |
| virtual void | clearGradient ()=0 |
| Blank the currently set gradient. More... | |
| virtual void | addControlPoint (double rangeStart, double rangeEnd, double red, double green, double blue, double alpha=1.0)=0 |
| Add a single control point to the currently set gradient. More... | |
| virtual void | addControlPoint (const DtRangeEditorInterface::ControlPoint &cp)=0 |
| Add a single control point to the currently set gradient. More... | |
| virtual void | setGradient (DtRangeEditorInterface::Gradient grad)=0 |
| Replace the currently set gradient with the specified one. More... | |
| virtual DtRangeEditorInterface::Gradient | gradient () const =0 |
| Accessor for the currently set gradient's definition. More... | |
Public Attributes | |
| boost::signal< void(const DtRangeEditorInterface::Gradient &)> | signal_gradientChanged |
| Signal emitted when the user changes the gradient. More... | |
Abstract interface for range editor widgets.
| 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::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.