List of all members.
Member Typedef Documentation
Member Enumeration Documentation
Constructor & Destructor Documentation
| osgAnimation::MorphGeometry::MorphGeometry |
( |
|
) |
|
| osgAnimation::MorphGeometry::MorphGeometry |
( |
const osg::Geometry & |
b |
) |
|
| osgAnimation::MorphGeometry::MorphGeometry |
( |
const MorphGeometry & |
b, |
|
|
const osg::CopyOp & |
copyop = osg::CopyOp::SHALLOW_COPY | |
|
) |
| | |
Member Function Documentation
| virtual void osgAnimation::MorphGeometry::addMorphTarget |
( |
osg::Geometry * |
morphTarget, |
|
|
float |
weight = 1.0 | |
|
) |
| | [inline, virtual] |
Add a MorphTarget to the MorphGeometry. If MorphTarget is not NULL and is not contained in the MorphGeometry then increment its reference count, add it to the MorphTargets list and dirty the bounding sphere to force it to be recomputed on the next call to getBound().
- Parameters:
-
- Returns:
true for success; false otherwise.
| virtual const char* osgAnimation::MorphGeometry::className |
( |
|
) |
const [inline, virtual] |
return the name of the object's class type. Must be defined by derived classes.
Reimplemented from osg::Geometry.
Clone an object, with Object* return type. Must be defined by derived classes.
Reimplemented from osg::Geometry.
| virtual osg::Object* osgAnimation::MorphGeometry::cloneType |
( |
|
) |
const [inline, virtual] |
Clone the type of an object, with Object* return type. Must be defined by derived classes.
Reimplemented from osg::Geometry.
| void osgAnimation::MorphGeometry::dirty |
( |
|
) |
[inline] |
| Method osgAnimation::MorphGeometry::getMethod |
( |
|
) |
const [inline] |
| bool osgAnimation::MorphGeometry::getMorphNormals |
( |
|
) |
const [inline] |
Get the flag for morphing normals.
| const MorphTarget& osgAnimation::MorphGeometry::getMorphTarget |
( |
unsigned int |
i |
) |
const [inline] |
| MorphTarget& osgAnimation::MorphGeometry::getMorphTarget |
( |
unsigned int |
i |
) |
[inline] |
| MorphTargetList& osgAnimation::MorphGeometry::getMorphTargetList |
( |
|
) |
[inline] |
Get the list of MorphTargets. Warning if you modify this array you will have to call dirty()
| const MorphTargetList& osgAnimation::MorphGeometry::getMorphTargetList |
( |
|
) |
const [inline] |
Get the list of MorphTargets.
| virtual bool osgAnimation::MorphGeometry::isSameKindAs |
( |
const osg::Object * |
obj |
) |
const [inline, virtual] |
| virtual const char* osgAnimation::MorphGeometry::libraryName |
( |
|
) |
const [inline, virtual] |
return the name of the object's library. Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name.
Reimplemented from osg::Geometry.
| void osgAnimation::MorphGeometry::setMethod |
( |
Method |
method |
) |
[inline] |
| void osgAnimation::MorphGeometry::setMorphNormals |
( |
bool |
morphNormals |
) |
[inline] |
Set flag for morphing normals.
| void osgAnimation::MorphGeometry::setWeight |
( |
unsigned int |
index, |
|
|
float |
morphWeight | |
|
) |
| | [inline] |
| virtual void osgAnimation::MorphGeometry::transformSoftwareMethod |
( |
|
) |
[virtual] |
Member Data Documentation
Do we need to recalculate the morphed geometry?
Do we also morph between normals?
The documentation for this class was generated from the following file: