OpenSceneGraph
Public Member Functions | Protected Attributes | List of all members
osgAnimation::MorphGeometry::MorphTarget Class Reference

Public Member Functions

 MorphTarget (osg::Geometry *geom, float w=1.0)
 
void setWeight (float weight)
 
float getWeight () const
 
osg::GeometrygetGeometry ()
 
const osg::GeometrygetGeometry () const
 
void setGeometry (osg::Geometry *geom)
 

Protected Attributes

osg::ref_ptr< osg::Geometry_geom
 
float _weight
 

Constructor & Destructor Documentation

◆ MorphTarget()

osgAnimation::MorphGeometry::MorphTarget::MorphTarget ( osg::Geometry geom,
float  w = 1.0 
)
inline

Member Function Documentation

◆ getGeometry() [1/2]

osg::Geometry* osgAnimation::MorphGeometry::MorphTarget::getGeometry ( )
inline

◆ getGeometry() [2/2]

const osg::Geometry* osgAnimation::MorphGeometry::MorphTarget::getGeometry ( ) const
inline

◆ getWeight()

float osgAnimation::MorphGeometry::MorphTarget::getWeight ( ) const
inline

◆ setGeometry()

void osgAnimation::MorphGeometry::MorphTarget::setGeometry ( osg::Geometry geom)
inline

◆ setWeight()

void osgAnimation::MorphGeometry::MorphTarget::setWeight ( float  weight)
inline

Member Data Documentation

◆ _geom

osg::ref_ptr<osg::Geometry> osgAnimation::MorphGeometry::MorphTarget::_geom
protected

◆ _weight

float osgAnimation::MorphGeometry::MorphTarget::_weight
protected

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