VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes
makVrv::DtGradientEditorInterface Class Referenceabstract

Abstract interface for gradient editor widgets.

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

Public Types

typedef std::vector< doubleControlPoint
 
typedef std::vector
< DtGradientEditorInterface::ControlPoint
Gradient
 

Public Member Functions

virtual ~DtGradientEditorInterface ()
 
virtual void clearGradient ()=0
 
virtual void addControlPoint (double location, double red, double green, double blue, double alpha=1.0)=0
 
virtual void addControlPoint (const DtGradientEditorInterface::ControlPoint &cp)=0
 
virtual void setGradient (DtGradientEditorInterface::Gradient grad)=0
 
virtual const
DtGradientEditorInterface::Gradient 
gradient () const =0
 

Public Attributes

boost::signalslib::signal
< void(const
DtGradientEditorInterface::Gradient &)> 
signal_gradientChanged
 

Member Typedef Documentation

Constructor & Destructor Documentation

virtual makVrv::DtGradientEditorInterface::~DtGradientEditorInterface ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtGradientEditorInterface::clearGradient ( )
pure virtual
virtual void makVrv::DtGradientEditorInterface::addControlPoint ( double  location,
double  red,
double  green,
double  blue,
double  alpha = 1.0 
)
pure virtual
virtual void makVrv::DtGradientEditorInterface::addControlPoint ( const DtGradientEditorInterface::ControlPoint cp)
pure virtual
virtual void makVrv::DtGradientEditorInterface::setGradient ( DtGradientEditorInterface::Gradient  grad)
pure virtual
virtual const DtGradientEditorInterface::Gradient makVrv::DtGradientEditorInterface::gradient ( ) const
pure virtual

Member Data Documentation

boost::signalslib::signal<void (const DtGradientEditorInterface::Gradient&)> makVrv::DtGradientEditorInterface::signal_gradientChanged

Signal emitted when the user changes the gradient. Connected to a slot in the logic.


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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)