Handles the bone matrices for any number of child RigGeometries.
More...
#include <skeleton.hpp>
|
typedef std::map< std::string,
std::pair< osg::NodePath,
osg::MatrixTransform * > > | BoneCache |
|
Handles the bone matrices for any number of child RigGeometries.
- Bones should be created as osg::MatrixTransform children of the skeleton.
- To be a referenced by a RigGeometry, a bone needs to have a unique name.
SceneUtil::Skeleton::Skeleton |
( |
| ) |
|
SceneUtil::Skeleton::Skeleton |
( |
const Skeleton & |
copy, |
|
|
const osg::CopyOp & |
copyop |
|
) |
| |
void SceneUtil::Skeleton::childInserted |
( |
unsigned |
int | ) |
|
|
virtual |
void SceneUtil::Skeleton::childRemoved |
( |
unsigned |
int, |
|
|
unsigned |
int |
|
) |
| |
|
virtual |
bool SceneUtil::Skeleton::getActive |
( |
| ) |
const |
void SceneUtil::Skeleton::markDirty |
( |
| ) |
|
void SceneUtil::Skeleton::setActive |
( |
bool |
active | ) |
|
Set the skinning active flag. Inactive skeletons will not have their child rigs updated. You should set this flag to false if you know that bones are not currently moving.
void SceneUtil::Skeleton::traverse |
( |
osg::NodeVisitor & |
nv | ) |
|
bool SceneUtil::Skeleton::mActive |
|
private |
bool SceneUtil::Skeleton::mBoneCacheInit |
|
private |
unsigned int SceneUtil::Skeleton::mLastFrameNumber |
|
private |
bool SceneUtil::Skeleton::mNeedToUpdateBoneMatrices |
|
private |
std::auto_ptr<Bone> SceneUtil::Skeleton::mRootBone |
|
private |
bool SceneUtil::Skeleton::mTraversedEvenFrame |
|
private |
bool SceneUtil::Skeleton::mTraversedOddFrame |
|
private |
The documentation for this class was generated from the following files:
- /home/travis/build/OpenMW/openmw/components/sceneutil/skeleton.hpp
- /home/travis/build/OpenMW/openmw/components/sceneutil/skeleton.cpp