vrecko
virtual reality framework
|
#include <ColorGenAdapter.h>
Public Member Functions | |
ColorGenAdapter () | |
virtual void | setColor (const osg::Vec4 &color) |
virtual osg::Vec4 | getColor () |
int | getColorIndex () const |
void | setColorIndex (int val) |
Public Member Functions inherited from APDYNAMICART::PoAAdapter< ColorGen > | |
virtual void | createMenu (osg::ref_ptr< vreckoUtils::Menu > menu) |
creates structure of context menu More... | |
virtual osg::ref_ptr< ColorGen > | getObject ()=0 |
returns adapted object More... | |
virtual bool | itemClicked (const char *itemID) |
virtual int | load (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *ParametersNode) |
load data from given XML node More... | |
virtual void | pointed (bool pointed) |
implement reaction to pointing to object More... | |
virtual void | save (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *Document, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *poaNode) |
save data from adapter to given XML node More... | |
virtual bool | sliderChanged (const char *sliderID, float sliderPos) |
virtual void | update () |
virtual std::string | classDescription () const =0 |
virtual std::string | className () const =0 |
Protected Attributes | |
int | _colorIndex |
Additional Inherited Members | |
Protected Member Functions inherited from APDYNAMICART::PoAAdapter< ColorGen > | |
virtual | ~PoAAdapter () |
Optional methods for set of similar classes, each class implements them
|
inline |
|
inlinevirtual |
Reimplemented in APDYNAMICART::GradientColorAdapter, and APDYNAMICART::ConstantColorAdapter.
|
inline |
|
inlinevirtual |
Reimplemented in APDYNAMICART::GradientColorAdapter, and APDYNAMICART::ConstantColorAdapter.
|
inline |
|
protected |