VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Public Attributes
makVrv::DtRangeEditorInterface Class Reference

Abstract interface for range editor widgets. More...

Inheritance diagram for makVrv::DtRangeEditorInterface:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

Abstract interface for range editor widgets.


Member Typedef Documentation

typedef std::vector<double> makVrv::DtRangeEditorInterface::ControlPoint

Vector type for the double values that make up a control point.

Vector type for storing ControlPoints.


Constructor & Destructor Documentation

Virtual DTOR.


Member Function Documentation

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.

Add a single control point to the currently set gradient.

Implemented in makVrv::DtRangeEditorWidget.

Replace the currently set gradient with the specified one.

Implemented in makVrv::DtRangeEditorWidget.

Accessor for the currently set gradient's definition.

Implemented in makVrv::DtRangeEditorWidget.


Member Data Documentation

Signal emitted when the user changes the gradient.

This signal is connected to a slot in the logic.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)