Override of diguyGraphicsShape to create OSG geometry for DI-Guy shapes.
More...
Override of diguyGraphicsShape to create OSG geometry for DI-Guy shapes.
| makVrv::DtDiGuyOsgGraphicsShape::DtDiGuyOsgGraphicsShape |
( |
void * |
internal_data | ) |
|
| virtual makVrv::DtDiGuyOsgGraphicsShape::~DtDiGuyOsgGraphicsShape |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtDiGuyOsgGraphicsShape::build |
( |
| ) |
|
|
overridevirtual |
Create OSG geometry for the shape override diguyGraphicsShape::build.
| virtual void makVrv::DtDiGuyOsgGraphicsShape::unbuild |
( |
| ) |
|
|
overridevirtual |
Remove shape's OSG geometry from the scene graph override diguyGraphicsShape::unbuild.
| virtual void makVrv::DtDiGuyOsgGraphicsShape::show |
( |
| ) |
|
|
overridevirtual |
Make the shape visible override diguyGraphicsShape::show.
| virtual void makVrv::DtDiGuyOsgGraphicsShape::hide |
( |
| ) |
|
|
overridevirtual |
Make the shape hidden override diguyGraphicsShape::hide.
| virtual void makVrv::DtDiGuyOsgGraphicsShape::set_graphics_lod_ranges |
( |
float * |
lodRanges | ) |
|
|
overridevirtual |
Override to set LOD ranges in OSG.
| virtual void makVrv::DtDiGuyOsgGraphicsShape::update_variation_texture |
( |
int |
num_pixels, |
|
|
unsigned char * |
pixel_data |
|
) |
| |
|
overridevirtual |
| virtual void makVrv::DtDiGuyOsgGraphicsShape::update |
( |
| ) |
|
|
overridevirtual |
Update the OSG scene graph with current DI-Guy state override diguyGraphicsShape::update.
| virtual void makVrv::DtDiGuyOsgGraphicsShape::update_name_texture |
( |
| ) |
|
|
overridevirtual |
trigger an update of decal texture override diguyGraphicsShape::update_name_texture
| virtual osg::Node* makVrv::DtDiGuyOsgGraphicsShape::rootNode |
( |
| ) |
|
|
virtual |
Returns a group that contains all the geodes for this shape.
Called by DtDiGuyModelInstance::getShapeData to get a group that contains all the geodes Used by sensorFX to get the textures so that it can load the emat textures for a diguy.
| virtual osg::StateSet* makVrv::DtDiGuyOsgGraphicsShape::stateSet |
( |
| ) |
|
|
virtual |
| virtual osg::StateSet* makVrv::DtDiGuyOsgGraphicsShape::parentStateSet |
( |
| ) |
|
|
virtual |
access to the position link state set
| virtual void makVrv::DtDiGuyOsgGraphicsShape::setAdditionalTboData |
( |
const std::vector< float > & |
tboData | ) |
|
|
virtual |
sets extra per shape data
| virtual const std::vector<float>& makVrv::DtDiGuyOsgGraphicsShape::getAdditionalTboData |
( |
| ) |
|
|
virtual |
gets extra per shape data
| virtual bool makVrv::DtDiGuyOsgGraphicsShape::getHasSwitches |
( |
| ) |
|
|
virtual |
is this a shape with switches, flashes, hands
| virtual DtDiGuyOsgTextureAttribute* makVrv::DtDiGuyOsgGraphicsShape::nameTexture |
( |
| ) |
|
|
virtual |
accessor for decal texture
| static const osg::ref_ptr<osg::Texture2D>& makVrv::DtDiGuyOsgGraphicsShape::getVariationTexture2D |
( |
| ) |
|
|
static |
accessor for variation texture
| static void makVrv::DtDiGuyOsgGraphicsShape::releaseGLObjects |
( |
| ) |
|
|
static |
| virtual void makVrv::DtDiGuyOsgGraphicsShape::create_name_texture |
( |
| ) |
|
|
protectedvirtual |
actually updates the texture in the draw loop via a callback
| virtual void makVrv::DtDiGuyOsgGraphicsShape::create_shared_variation_texture |
( |
| ) |
|
|
protectedvirtual |
| virtual void makVrv::DtDiGuyOsgGraphicsShape::create_variation_texture |
( |
unsigned char * |
variation_texture_data | ) |
|
|
protectedvirtual |
| virtual osg::Geode* makVrv::DtDiGuyOsgGraphicsShape::create_geode |
( |
const char * |
shape_set_name, |
|
|
bool |
flash |
|
) |
| |
|
protectedvirtual |
| char* makVrv::DtDiGuyOsgGraphicsShape::UniformLinkMatricesString |
|
static |
Static name of the bone uniform.
| friend makVrv::DtDiGuyOsgGraphicsShape::DtDiGuyNameTextureDrawCallback |
|
protected |
| std::vector<osg::ref_ptr<osg::Switch> > makVrv::DtDiGuyOsgGraphicsShape::mySwitchNodeArray |
|
protected |
| 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::myUniformLinkMatrix |
|
protected |
| osg::ref_ptr<osg::Uniform> makVrv::DtDiGuyOsgGraphicsShape::myUniformLinkMatrices |
|
protected |
| osg::ref_ptr<osg::Uniform> makVrv::DtDiGuyOsgGraphicsShape::myUniformComponentMapRow |
|
protected |
| osg::ref_ptr<osg::Uniform> makVrv::DtDiGuyOsgGraphicsShape::myUniformPBRReady |
|
protected |
| osg::ref_ptr<osg::Uniform> makVrv::DtDiGuyOsgGraphicsShape::myUniformDecalEnabled |
|
protected |
| osg::ref_ptr<osg::Uniform> makVrv::DtDiGuyOsgGraphicsShape::myUniformDecalIndex |
|
protected |
| osg::ref_ptr<osg::Uniform> makVrv::DtDiGuyOsgGraphicsShape::myUniformLodFade |
|
protected |
| osg::ref_ptr<osg::Uniform> makVrv::DtDiGuyOsgGraphicsShape::myUniformBlendWeights |
|
protected |
| osg::ref_ptr<osg::Uniform> makVrv::DtDiGuyOsgGraphicsShape::myUniformBlendIndecies |
|
protected |
| std::vector<float> makVrv::DtDiGuyOsgGraphicsShape::myAdditionalTboData |
|
protected |
| osg::ref_ptr<osg::Group> makVrv::DtDiGuyOsgGraphicsShape::myGeodeGroup |
|
protected |
| std::vector<osg::Geode*> makVrv::DtDiGuyOsgGraphicsShape::m_geodes |
|
protected |
| diguyCharacter* makVrv::DtDiGuyOsgGraphicsShape::myCharacter |
|
protected |
| bool makVrv::DtDiGuyOsgGraphicsShape::myNeedsTextureUpdate |
|
protected |
| DtDiGuyOsgTextureAttribute* makVrv::DtDiGuyOsgGraphicsShape::myNameTexture |
|
protected |
| bool makVrv::DtDiGuyOsgGraphicsShape::UsePixelLods |
|
staticprotected |
Whether LOD calculations are based on distance from camera or pixel size in frame.
| osg::ref_ptr<osg::Texture2D> makVrv::DtDiGuyOsgGraphicsShape::sm_variation_texture |
|
staticprotected |
The documentation for this class was generated from the following file: