OpenSceneGraph  3.5.1
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

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

Member Function Documentation

osg::Geometry* osgAnimation::MorphGeometry::MorphTarget::getGeometry ( )
inline
const osg::Geometry* osgAnimation::MorphGeometry::MorphTarget::getGeometry ( ) const
inline
float osgAnimation::MorphGeometry::MorphTarget::getWeight ( ) const
inline
void osgAnimation::MorphGeometry::MorphTarget::setGeometry ( osg::Geometry geom)
inline
void osgAnimation::MorphGeometry::MorphTarget::setWeight ( float  weight)
inline

Member Data Documentation

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

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

osg logo
Generated at Wed Nov 11 2015 22:14:49 for the OpenSceneGraph by doxygen 1.8.10.