Public Member Functions | Protected Attributes

Nytro::Scene::Bone Class Reference

A joint or bone, from the skinned mesh skeleton. More...

#include <nyModel.h>

Inheritance diagram for Nytro::Scene::Bone:
Inheritance graph
[legend]

Public Member Functions

 NYTRO_CLASS_NAME (Bone)
 Bone ()
virtual ~Bone ()
void setParentBoneName (const char *pName)
 set the parent bone name
void setBindPoseInverseMatrix (Matrix &rMatrix)
 set the bind pose matrix
void setOffsetMatrix (Matrix &rMatrix)
 set the local offset matrix
string getParentBoneName ()
Matrix getBindPoseInverseMatrix ()
Matrix getOffsetMatrix ()
void computeTransform ()
 compute bone transform

Protected Attributes

string m_parentBoneName
Matrix m_bindPoseInverseMatrix
Matrix m_offsetMatrix
Vector3D m_minAngleLimits
Vector3D m_maxAngleLimits
bool m_bLimitX
bool m_bLimitY
bool m_bLimitZ

Detailed Description

A joint or bone, from the skinned mesh skeleton.

Definition at line 46 of file nyModel.h.


Constructor & Destructor Documentation

Nytro::Scene::Bone::Bone (  ) 
virtual Nytro::Scene::Bone::~Bone (  )  [virtual]

Member Function Documentation

void Nytro::Scene::Bone::computeTransform (  )  [virtual]

compute bone transform

Reimplemented from Nytro::Scene::SceneNode.

Matrix Nytro::Scene::Bone::getBindPoseInverseMatrix (  ) 
Returns:
the bind pose matrix for this bone
Matrix Nytro::Scene::Bone::getOffsetMatrix (  ) 
Returns:
the offset matrix for this bone
string Nytro::Scene::Bone::getParentBoneName (  ) 
Returns:
the parent bone name for this bone
Nytro::Scene::Bone::NYTRO_CLASS_NAME ( Bone   ) 
void Nytro::Scene::Bone::setBindPoseInverseMatrix ( Matrix rMatrix  ) 

set the bind pose matrix

void Nytro::Scene::Bone::setOffsetMatrix ( Matrix rMatrix  ) 

set the local offset matrix

void Nytro::Scene::Bone::setParentBoneName ( const char *  pName  ) 

set the parent bone name


Field Documentation

Definition at line 74 of file nyModel.h.

Definition at line 76 of file nyModel.h.

Definition at line 76 of file nyModel.h.

Definition at line 76 of file nyModel.h.

Definition at line 75 of file nyModel.h.

Definition at line 75 of file nyModel.h.

Definition at line 74 of file nyModel.h.

Definition at line 73 of file nyModel.h.


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

© Copyright 7thFACTOR Entertainment - All rights reserved