deModelBone Class Reference

Model Bone. More...

#include <deModelBone.h>

List of all members.

Public Member Functions

Constructors and Destructors
 deModelBone (const char *name)
 Creates a new model bone with the given name.
 ~deModelBone ()
 Cleans up the model bone.
Management
const char * GetName () const
int GetParent () const
 Retrieves the index of the parent bone or -1 if a top level bone.
decVector GetPosition () const
decVector GetRotation () const
decMatrix GetMatrix () const
 Retrieves the matrix transforming from local bone space to model space in reference pose.
decMatrix GetInverseMatrix () const
 Retrieves the matrix transforming from model space to local bone space in reference pose.
decVector GetMinimumExtend () const
decVector GetMaximumExtend () const
void SetParent (int boneIndex)
 Sets the index of the parent bone or -1 if a top level bone.
void SetPosition (const decVector &position)
void SetRotation (const decVector &rotation)
void SetMatrix (const decMatrix &matrix)
 Sets the matrix transforming from local bone space to model space in reference pose.
void SetMinimumExtend (const decVector &minExt)
void SetMaximumExtend (const decVector &maxExt)
void EnclosePoint (const decVector &point)
 Enlarges the model extends to include the given point.

Detailed Description

Model Bone.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deModelBone::deModelBone ( const char *  name )

Creates a new model bone with the given name.

deModelBone::~deModelBone (  )

Cleans up the model bone.


Member Function Documentation

void deModelBone::EnclosePoint ( const decVector point )

Enlarges the model extends to include the given point.

decMatrix deModelBone::GetInverseMatrix (  ) const [inline]

Retrieves the matrix transforming from model space to local bone space in reference pose.

decMatrix deModelBone::GetMatrix (  ) const [inline]

Retrieves the matrix transforming from local bone space to model space in reference pose.

decVector deModelBone::GetMaximumExtend (  ) const [inline]
decVector deModelBone::GetMinimumExtend (  ) const [inline]
const char* deModelBone::GetName (  ) const [inline]
int deModelBone::GetParent (  ) const [inline]

Retrieves the index of the parent bone or -1 if a top level bone.

decVector deModelBone::GetPosition (  ) const [inline]
decVector deModelBone::GetRotation (  ) const [inline]
void deModelBone::SetMatrix ( const decMatrix matrix )

Sets the matrix transforming from local bone space to model space in reference pose.

void deModelBone::SetMaximumExtend ( const decVector maxExt )
void deModelBone::SetMinimumExtend ( const decVector minExt )
void deModelBone::SetParent ( int  boneIndex )

Sets the index of the parent bone or -1 if a top level bone.

void deModelBone::SetPosition ( const decVector position )
void deModelBone::SetRotation ( const decVector rotation )

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