VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Static Public Attributes | Protected Attributes | Static Protected Attributes
makVrv::DtDiGuyOsgGraphicsShape Class Reference

Override of diguyGraphicsShape to create OSG geometry for DI-Guy shapes. More...

Inheritance diagram for makVrv::DtDiGuyOsgGraphicsShape:
Inheritance graph
[legend]

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 Public Attributes

static charUniformLinkMatricesString
 Static name of the bone uniform.

Protected Attributes

osg::ref_ptr< osg::Switch > mySwitchNode
osg::ref_ptr< osg::LOD > myLodNode
osg::ref_ptr< osg::Uniform > myUniformLinkColor
osg::ref_ptr< osg::StateSet > myStateSet
osg::ref_ptr< osg::Uniform > myUniformLinkMatrices
osg::ref_ptr< osg::Uniform > myUniformLinkMatricesAlt

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)

CTOR.

virtual makVrv::DtDiGuyOsgGraphicsShape::~DtDiGuyOsgGraphicsShape ( )
virtual

DTOR.

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:

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)