VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | 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]

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 makVrv::DtRangeEditorInterface::~DtRangeEditorInterface ( )
virtual

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.

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.

Member Data Documentation

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.


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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)