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

#include <ConstantColorGen.h>

Inheritance diagram for ConstantColorGen:

Public Member Functions

 ConstantColorGen ()
 
 ConstantColorGen (const osg::Vec4 &color)
 
 META_DAObject (ConstantColorGen,"Constant Brush") virtual Vec4ArrayPtr getColors(unsigned int leadSplineSize
 
result reserve (arraySize)
 
result assign (arraySize, _color)
 
osg::Vec4 getColorValue () const
 
void setColorValue (const osg::Vec4 &val)
 

Public Attributes

unsigned int crossSectionSize _dirty = false
 
Vec4ArrayPtr result = new osg::Vec4Array
 
unsigned int arraySize = leadSplineSize * crossSectionSize
 
return result
 

Protected Attributes

osg::Vec4 _color
 

Constructor & Destructor Documentation

ConstantColorGen::ConstantColorGen ( )
inline
ConstantColorGen::ConstantColorGen ( const osg::Vec4 &  color)
inline

Member Function Documentation

result ConstantColorGen::assign ( arraySize  ,
_color   
)
osg::Vec4 ConstantColorGen::getColorValue ( ) const
inline
ConstantColorGen::META_DAObject ( ConstantColorGen  ,
"Constant Brush"   
)

Inherited methods

result ConstantColorGen::reserve ( arraySize  )
void ConstantColorGen::setColorValue ( const osg::Vec4 &  val)
inline

Member Data Documentation

osg::Vec4 ConstantColorGen::_color
protected
unsigned int crossSectionSize ConstantColorGen::_dirty = false
unsigned int ConstantColorGen::arraySize = leadSplineSize * crossSectionSize
Vec4ArrayPtr ConstantColorGen::result = new osg::Vec4Array
return ConstantColorGen::result

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