vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
APDYNAMICART::ColorGenAdapter Class Reference

#include <ColorGenAdapter.h>

Inheritance diagram for APDYNAMICART::ColorGenAdapter:
APDYNAMICART::PoAAdapter< ColorGen > APDYNAMICART::ConstantColorAdapter APDYNAMICART::GradientColorAdapter

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 ()
 

Detailed Description

Optional methods for set of similar classes, each class implements them

Constructor & Destructor Documentation

APDYNAMICART::ColorGenAdapter::ColorGenAdapter ( )
inline

Member Function Documentation

virtual osg::Vec4 APDYNAMICART::ColorGenAdapter::getColor ( )
inlinevirtual
int APDYNAMICART::ColorGenAdapter::getColorIndex ( ) const
inline
virtual void APDYNAMICART::ColorGenAdapter::setColor ( const osg::Vec4 &  color)
inlinevirtual
void APDYNAMICART::ColorGenAdapter::setColorIndex ( int  val)
inline

Member Data Documentation

int APDYNAMICART::ColorGenAdapter::_colorIndex
protected

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