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

#include <SectorColorGen.h>

Inheritance diagram for Sector:

Public Types

enum  Direction { SD_REVERSE, SD_FORWARD }
 
typedef std::pair< double, double > DoublePair
 

Public Member Functions

 Sector ()
 
 Sector (double start, double end, const osg::Vec4 &color, Direction direction=SD_FORWARD)
 
DoublePair getSectorRange (unsigned int arraySize)
 
void set (double start, double end, const osg::Vec4 &color, Direction direction=SD_FORWARD)
 

Public Attributes

const unsigned int ID
 
double start
 
double end
 
osg::Vec4 color
 
Direction direction
 

Protected Member Functions

virtual ~Sector ()
 

Static Protected Attributes

static unsigned int counter = 0
 

Member Typedef Documentation

typedef std::pair<double, double> Sector::DoublePair

Methods

Member Enumeration Documentation

Enumerator
SD_REVERSE 
SD_FORWARD 

Constructor & Destructor Documentation

Sector::Sector ( )
inline

Constructors

Sector::Sector ( double  start,
double  end,
const osg::Vec4 &  color,
Direction  direction = SD_FORWARD 
)
inline
virtual Sector::~Sector ( )
inlineprotectedvirtual

Member Function Documentation

DoublePair Sector::getSectorRange ( unsigned int  arraySize)
inline
void Sector::set ( double  start,
double  end,
const osg::Vec4 &  color,
Direction  direction = SD_FORWARD 
)
inline

Member Data Documentation

osg::Vec4 Sector::color
unsigned int Sector::counter = 0
staticprotected
Direction Sector::direction
double Sector::end
const unsigned int Sector::ID
double Sector::start

The documentation for this struct was generated from the following files: