OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | List of all members
SceneUtil::Bone Class Reference

Defines a Bone hierarchy, used for updating of skeleton-space bone matrices. More...

#include <skeleton.hpp>

Collaboration diagram for SceneUtil::Bone:

Public Member Functions

 Bone ()
 
 ~Bone ()
 
void update (const osg::Matrixf *parentMatrixInSkeletonSpace)
 Update the skeleton-space matrix of this bone and all its children. More...
 

Public Attributes

osg::Matrixf mMatrixInSkeletonSpace
 
osg::MatrixTransform * mNode
 
std::vector< Bone * > mChildren
 

Private Member Functions

 Bone (const Bone &)
 
void operator= (const Bone &)
 

Detailed Description

Defines a Bone hierarchy, used for updating of skeleton-space bone matrices.

Note
To prevent unnecessary updates, only bones that are used for skinning will be added to this hierarchy.

Constructor & Destructor Documentation

SceneUtil::Bone::Bone ( )
SceneUtil::Bone::~Bone ( )
SceneUtil::Bone::Bone ( const Bone )
private

Member Function Documentation

void SceneUtil::Bone::operator= ( const Bone )
private
void SceneUtil::Bone::update ( const osg::Matrixf *  parentMatrixInSkeletonSpace)

Update the skeleton-space matrix of this bone and all its children.

Member Data Documentation

std::vector<Bone*> SceneUtil::Bone::mChildren
osg::Matrixf SceneUtil::Bone::mMatrixInSkeletonSpace
osg::MatrixTransform* SceneUtil::Bone::mNode

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