Scene Component Bone.
More...
#include <deComponentBone.h>
List of all members.
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] |
| 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] |
| void deComponentBone::MultiplyMatrix |
( |
const decMatrix & |
mat ) |
|
Multiplies our matrix with the given one.
| void deComponentBone::SetInverseMatrix |
( |
const decMatrix & |
matrix ) |
|
| void deComponentBone::SetKeyframeIndex |
( |
int |
kfindex ) |
|
| 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 ) |
|
The documentation for this class was generated from the following file: