Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | Public Attributes | List of all members
om::graphics::shapes::Skeleton::Bone Class Reference

A class that stores information about a bone that makes up a skeleton. More...

#include <omGraphicsSkeleton.h>

Public Member Functions

 Bone ()
 Create a new bone with no name or parent and identity transformations. More...
 
 Bone (const UTF8String &newName, const Transform3 &newBindTransform, Index newParentIndex=INVALID_BONE)
 Create a new bone with the specified name, bind transformation, and parent. More...
 

Public Attributes

Index parentIndex
 The index of this parent of this bone in the skeleton. More...
 
UTF8String name
 A string that stores the human-readable name of this bone. More...
 
Transform3 transform
 The current transformation of this bone. More...
 
Transform3 bindTransform
 The bind-pose transformation of this bone. More...
 

Detailed Description

A class that stores information about a bone that makes up a skeleton.

Constructor & Destructor Documentation

om::graphics::shapes::Skeleton::Bone::Bone ( )
inline

Create a new bone with no name or parent and identity transformations.

om::graphics::shapes::Skeleton::Bone::Bone ( const UTF8String &  newName,
const Transform3 newBindTransform,
Index  newParentIndex = INVALID_BONE 
)
inline

Create a new bone with the specified name, bind transformation, and parent.

Member Data Documentation

Index om::graphics::shapes::Skeleton::Bone::parentIndex

The index of this parent of this bone in the skeleton.

UTF8String om::graphics::shapes::Skeleton::Bone::name

A string that stores the human-readable name of this bone.

Transform3 om::graphics::shapes::Skeleton::Bone::transform

The current transformation of this bone.

Transform3 om::graphics::shapes::Skeleton::Bone::bindTransform

The bind-pose transformation of this bone.


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