deComponentBone Class Reference

Scene Component Bone. More...

#include <deComponentBone.h>

List of all members.

Public Member Functions

Constructors and Destructors
 deComponentBone ()
 Creates a new component bone.
 ~deComponentBone ()
Management
int GetKeyframeIndex () const
 Depracted.
int GetParentBone () const
const decVectorGetPosition () const
const decVectorGetRotation () const
const decMatrixGetMatrix () const
const decMatrixGetInverseMatrix () const
const decMatrixGetOriginalMatrix () const
const decMatrixGetInverseOriginalMatrix () const
const decMatrixGetWeightMatrix () const
 Depracted.
const decVectorGetOriginalPosition () const
const decVectorGetOriginalRotation () const
void SetKeyframeIndex (int kfindex)
 Depracted.
void SetParentBone (int parentBone)
void SetOriginalPosition (const decVector &orgPos)
void SetOriginalRotation (const decVector &orgRot)
void SetPosition (const decVector &pos)
void SetRotation (const decVector &rot)
void SetMatrix (const decMatrix &matrix)
void SetInverseMatrix (const decMatrix &matrix)
void SetWeightMatrix (const decMatrix &mat)
 Depracted.
void AddPosition (const decVector &pos)
void AddRotation (const decVector &rot)
void CalculateOrgMatrix ()
 Calculates the original matrix.
void CalculateMatrix ()
 Calculates the current matrix.
void MultiplyMatrix (const decMatrix &mat)
 Multiplies our matrix with the given one.

Detailed Description

Scene Component Bone.

Holds the state of a rig bone ( or component bone ). Component bones use a lazy system marking themselves dirty whenver their state changes. This way calculations are done only if needed.

Todo:
  • Remove keyframe index as it is not needed anymore
  • Remove weight matrix as the graphic module calculates it itself
Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deComponentBone::deComponentBone (  )

Creates a new component bone.

deComponentBone::~deComponentBone (  )

Member Function Documentation

void deComponentBone::AddPosition ( const decVector pos )
void deComponentBone::AddRotation ( const decVector rot )
void deComponentBone::CalculateMatrix (  )

Calculates the current matrix.

void deComponentBone::CalculateOrgMatrix (  )

Calculates the original matrix.

const decMatrix& deComponentBone::GetInverseMatrix (  ) const [inline]
const decMatrix& deComponentBone::GetInverseOriginalMatrix (  ) const [inline]
int deComponentBone::GetKeyframeIndex (  ) const [inline]

Depracted.

const decMatrix& deComponentBone::GetMatrix (  ) const [inline]
const decMatrix& deComponentBone::GetOriginalMatrix (  ) const [inline]
const decVector& deComponentBone::GetOriginalPosition (  ) const [inline]
const decVector& deComponentBone::GetOriginalRotation (  ) const [inline]
int deComponentBone::GetParentBone (  ) const [inline]
const decVector& deComponentBone::GetPosition (  ) const [inline]
const decVector& deComponentBone::GetRotation (  ) const [inline]
const decMatrix& deComponentBone::GetWeightMatrix (  ) const [inline]

Depracted.

void deComponentBone::MultiplyMatrix ( const decMatrix mat )

Multiplies our matrix with the given one.

void deComponentBone::SetInverseMatrix ( const decMatrix matrix )
void deComponentBone::SetKeyframeIndex ( int  kfindex )

Depracted.

void deComponentBone::SetMatrix ( const decMatrix matrix )
void deComponentBone::SetOriginalPosition ( const decVector orgPos )
void deComponentBone::SetOriginalRotation ( const decVector orgRot )
void deComponentBone::SetParentBone ( int  parentBone )
void deComponentBone::SetPosition ( const decVector pos )
void deComponentBone::SetRotation ( const decVector rot )
void deComponentBone::SetWeightMatrix ( const decMatrix mat )

Depracted.


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