Override of diguyGraphicsShape to create OSG geometry for DI-Guy shapes.
More...
Public Member Functions |
| | DtDiGuyOsgGraphicsShape (void *internal_data) |
| | CTOR.
|
| virtual | ~DtDiGuyOsgGraphicsShape () |
| | DTOR.
|
| virtual void | build () |
| | Create OSG geometry for the shape.
|
| virtual void | unbuild () |
| | Remove shape's OSG geometry from the scene graph.
|
| virtual void | show () |
| | Make the shape visible.
|
| virtual void | hide () |
| | Make the shape hidden.
|
| virtual void | set_graphics_lod_ranges (float *lodRanges) |
| | Override to set LOD ranges in OSG.
|
| virtual void | update () |
| | Update the OSG scene graph with current DI-Guy state.
|
Public Attributes |
| std::vector< osg::Geode * > | m_geodes |
Static Protected Attributes |
| static bool | UsePixelLods |
| | Whether LOD calculations are based on distance from camera or pixel size in frame.
|
Detailed Description
Override of diguyGraphicsShape to create OSG geometry for DI-Guy shapes.
Constructor & Destructor Documentation
| makVrv::DtDiGuyOsgGraphicsShape::DtDiGuyOsgGraphicsShape |
( |
void * |
internal_data | ) |
|
| virtual makVrv::DtDiGuyOsgGraphicsShape::~DtDiGuyOsgGraphicsShape |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrv::DtDiGuyOsgGraphicsShape::build |
( |
| ) |
|
|
virtual |
Create OSG geometry for the shape.
override diguyGraphicsShape::build
| virtual void makVrv::DtDiGuyOsgGraphicsShape::unbuild |
( |
| ) |
|
|
virtual |
Remove shape's OSG geometry from the scene graph.
override diguyGraphicsShape::unbuild
| virtual void makVrv::DtDiGuyOsgGraphicsShape::show |
( |
| ) |
|
|
virtual |
Make the shape visible.
override diguyGraphicsShape::show
| virtual void makVrv::DtDiGuyOsgGraphicsShape::hide |
( |
| ) |
|
|
virtual |
Make the shape hidden.
override diguyGraphicsShape::hide
| virtual void makVrv::DtDiGuyOsgGraphicsShape::set_graphics_lod_ranges |
( |
float * |
lodRanges | ) |
|
|
virtual |
Override to set LOD ranges in OSG.
| virtual void makVrv::DtDiGuyOsgGraphicsShape::update |
( |
| ) |
|
|
virtual |
Update the OSG scene graph with current DI-Guy state.
override diguyGraphicsShape::update
Member Data Documentation
| char* makVrv::DtDiGuyOsgGraphicsShape::UniformLinkMatricesString |
|
static |
Static name of the bone uniform.
| std::vector<osg::Geode*> makVrv::DtDiGuyOsgGraphicsShape::m_geodes |
| osg::ref_ptr<osg::Switch> makVrv::DtDiGuyOsgGraphicsShape::mySwitchNode |
|
protected |
| osg::ref_ptr<osg::LOD> makVrv::DtDiGuyOsgGraphicsShape::myLodNode |
|
protected |
| bool makVrv::DtDiGuyOsgGraphicsShape::UsePixelLods |
|
staticprotected |
Whether LOD calculations are based on distance from camera or pixel size in frame.
| osg::ref_ptr<osg::Uniform> makVrv::DtDiGuyOsgGraphicsShape::myUniformLinkColor |
|
protected |
| osg::ref_ptr<osg::StateSet> makVrv::DtDiGuyOsgGraphicsShape::myStateSet |
|
protected |
| osg::ref_ptr<osg::Uniform> makVrv::DtDiGuyOsgGraphicsShape::myUniformLinkMatrices |
|
protected |
| osg::ref_ptr<osg::Uniform> makVrv::DtDiGuyOsgGraphicsShape::myUniformLinkMatricesAlt |
|
protected |
The documentation for this class was generated from the following file: