![]() |
VR-Forces 4.0.4 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. | |
| typedef std::vector < DtRangeEditorInterface::ControlPoint > | Gradient |
| Vector type for storing ControlPoints. | |
Public Member Functions | |
| virtual | ~DtRangeEditorInterface () |
| Virtual DTOR. | |
| virtual void | clearGradient ()=0 |
| Blank the currently set gradient. | |
| 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. | |
| virtual void | addControlPoint (DtRangeEditorInterface::ControlPoint cp)=0 |
| Add a single control point to the currently set gradient. | |
| virtual void | setGradient (DtRangeEditorInterface::Gradient grad)=0 |
| Replace the currently set gradient with the specified one. | |
| virtual DtRangeEditorInterface::Gradient | gradient () const =0 |
| Accessor for the currently set gradient's definition. | |
Public Attributes | |
| boost::signal< void(const DtRangeEditorInterface::Gradient &)> | signal_gradientChanged |
| Signal emitted when the user changes the gradient. | |
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 makVrv::DtRangeEditorInterface::~DtRangeEditorInterface | ( | ) | [virtual] |
Virtual DTOR.
| virtual void makVrv::DtRangeEditorInterface::clearGradient | ( | ) | [pure virtual] |
Blank the currently set gradient.
Implemented in makVrv::DtRangeEditorWidget.
| virtual void makVrv::DtRangeEditorInterface::addControlPoint | ( | double | rangeStart, |
| double | rangeEnd, | ||
| double | red, | ||
| double | green, | ||
| double | blue, | ||
| double | alpha = 1.0 |
||
| ) | [pure virtual] |
Add a single control point to the currently set gradient.
Implemented in makVrv::DtRangeEditorWidget.
| virtual void makVrv::DtRangeEditorInterface::addControlPoint | ( | DtRangeEditorInterface::ControlPoint | cp | ) | [pure virtual] |
Add a single control point to the currently set gradient.
Implemented in makVrv::DtRangeEditorWidget.
| virtual void makVrv::DtRangeEditorInterface::setGradient | ( | DtRangeEditorInterface::Gradient | grad | ) | [pure virtual] |
Replace the currently set gradient with the specified one.
Implemented in makVrv::DtRangeEditorWidget.
| virtual DtRangeEditorInterface::Gradient makVrv::DtRangeEditorInterface::gradient | ( | ) | const [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.