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

#include <SectorColorGen.h>

Inheritance diagram for SectorColorGen:

Public Member Functions

 SectorColorGen (const osg::Vec4 &defaultColor)
 
 META_DAObject (SectorColorGen,"Sector Color")
 
virtual Vec4ArrayPtr getColors (unsigned int leadSplineSize, unsigned int crossSectionSize)
 
const osg::Vec4 & getDefaultColor () const
 
void setDefaultColor (osg::Vec4 val)
 
void addSector (SectorPtr sector)
 
void setSector (unsigned int i, SectorPtr val)
 
const SectorPtr getSector (unsigned int i)
 
int getNumSectors ()
 
void removeSectors (unsigned int i, int numSectorsToRemove=1)
 

Protected Attributes

SectorArray _sectors
 
osg::Vec4 _defaultColor
 

Constructor & Destructor Documentation

SectorColorGen::SectorColorGen ( const osg::Vec4 &  defaultColor)
inline

Member Function Documentation

void SectorColorGen::addSector ( SectorPtr  sector)
inline

SectorArray operations

virtual Vec4ArrayPtr SectorColorGen::getColors ( unsigned int  leadSplineSize,
unsigned int  crossSectionSize 
)
inlinevirtual

Inherited methods

const osg::Vec4& SectorColorGen::getDefaultColor ( ) const
inline
int SectorColorGen::getNumSectors ( )
inline
const SectorPtr SectorColorGen::getSector ( unsigned int  i)
inline
SectorColorGen::META_DAObject ( SectorColorGen  ,
"Sector Color"   
)
void SectorColorGen::removeSectors ( unsigned int  i,
int  numSectorsToRemove = 1 
)
inline
void SectorColorGen::setDefaultColor ( osg::Vec4  val)
inline
void SectorColorGen::setSector ( unsigned int  i,
SectorPtr  val 
)
inline

Member Data Documentation

osg::Vec4 SectorColorGen::_defaultColor
protected
SectorArray SectorColorGen::_sectors
protected

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