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

#include <Grid.h>

Classes

struct  ControlPoint
 
struct  Edge
 

Public Member Functions

 Grid ()
 
 ~Grid ()
 
void setCountOfControlPoints (osg::Vec3 pom)
 
osg::Vec3 getCountOfControlPoints (void)
 
bool createGrid (vrecko::EnvironmentObject *object)
 
bool updateGrid (void)
 
void setOptimalizationOfCP (unsigned int value)
 

Protected Member Functions

void allocateControlPointArray ()
 
void allocateEdgeArray ()
 
void deallocateEdgeArray ()
 
void deallocateControlPointArray ()
 
virtual void destroyGeometry ()
 

Protected Attributes

ControlPoint *** controlPoints
 
Edgeedges
 
osg::Vec3 countOfCP
 
unsigned long controlPoint_count
 
unsigned long edge_count
 
osg::ref_ptr< osg::Geode > osgGeode
 
float CPscaling
 
bool gridWasCreated
 
unsigned int optimalizationOfCP
 

Friends

class EditorLogic
 

Constructor & Destructor Documentation

APFFDEditor::Grid::Grid ( )
APFFDEditor::Grid::~Grid ( )

Member Function Documentation

void APFFDEditor::Grid::allocateControlPointArray ( )
inlineprotected
void APFFDEditor::Grid::allocateEdgeArray ( )
inlineprotected
bool APFFDEditor::Grid::createGrid ( vrecko::EnvironmentObject object)
void APFFDEditor::Grid::deallocateControlPointArray ( )
inlineprotected
void APFFDEditor::Grid::deallocateEdgeArray ( )
inlineprotected
void APFFDEditor::Grid::destroyGeometry ( )
protectedvirtual
osg::Vec3 APFFDEditor::Grid::getCountOfControlPoints ( void  )
inline
void APFFDEditor::Grid::setCountOfControlPoints ( osg::Vec3  pom)
inline
void APFFDEditor::Grid::setOptimalizationOfCP ( unsigned int  value)
inline
bool APFFDEditor::Grid::updateGrid ( void  )

Friends And Related Function Documentation

friend class EditorLogic
friend

Member Data Documentation

unsigned long APFFDEditor::Grid::controlPoint_count
protected
ControlPoint*** APFFDEditor::Grid::controlPoints
protected
osg::Vec3 APFFDEditor::Grid::countOfCP
protected
float APFFDEditor::Grid::CPscaling
protected
unsigned long APFFDEditor::Grid::edge_count
protected
Edge* APFFDEditor::Grid::edges
protected
bool APFFDEditor::Grid::gridWasCreated
protected
unsigned int APFFDEditor::Grid::optimalizationOfCP
protected
osg::ref_ptr<osg::Geode> APFFDEditor::Grid::osgGeode
protected

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