The IBone video object interface. More...
#include "murl_video_i_bone.h"
Inherited by Murl::Video::Bone.
Public Member Functions | |
virtual IObject * | GetObjectInterface ()=0 |
Get the mutable Video::IObject interface. More... | |
virtual const IObject * | GetObjectInterface () const =0 |
Get the constant Video::IObject interface. More... | |
virtual Bool | Enable (UInt32 unit)=0 |
Enable the bone at a given unit. More... | |
virtual Bool | Disable (UInt32 unit)=0 |
Disable the bone at a given unit. More... | |
virtual Bool | Set (IProgram *currentProgram, UInt32 unit)=0 |
Attach the bone to the current GPU program at a given unit. More... | |
virtual const Matrix & | GetTransform () const =0 |
Get the actual bone transform matrix. More... | |
virtual Bool | SetWorldTransform (const Matrix &transform)=0 |
Set the bone's current world transform. More... | |
virtual const Matrix & | GetWorldTransform () const =0 |
Get the bone's current world transform. More... | |
virtual Bool | SetOffsetTransform (const Matrix &transform)=0 |
Set the bone's offset transform. More... | |
virtual const Matrix & | GetOffsetTransform () const =0 |
Get the bone's offset transform. More... | |
Detailed Description
The IBone video object interface.
This interface represents a single bone of a skeleton used for vertex skinning.
Used internally by Graph::Bone.
Member Function Documentation
◆ GetObjectInterface() [1/2]
|
pure virtual |
Get the mutable Video::IObject interface.
- Returns
- The IObject interface.
◆ GetObjectInterface() [2/2]
|
pure virtual |
Get the constant Video::IObject interface.
- Returns
- The IObject interface.
◆ Enable()
Enable the bone at a given unit.
- Parameters
-
unit The bone unit, from 0 to IEnums::NUM_BONE_UNITS-1.
- Returns
- true if successful.
◆ Disable()
Disable the bone at a given unit.
- Parameters
-
unit The bone unit, from 0 to IEnums::NUM_BONE_UNITS-1.
- Returns
- true if successful.
◆ Set()
Attach the bone to the current GPU program at a given unit.
- Parameters
-
currentProgram The current GPU program. unit The bone unit, from 0 to IEnums::NUM_BONE_UNITS-1.
- Returns
- true if successful.
◆ GetTransform()
|
pure virtual |
Get the actual bone transform matrix.
The returned matrix is the result of the matrix multiplication of world and offset transform.
- Returns
- The actual bone transform.
◆ SetWorldTransform()
Set the bone's current world transform.
- Parameters
-
transform The world transform.
- Returns
- true if successful.
◆ GetWorldTransform()
|
pure virtual |
Get the bone's current world transform.
- Returns
- The world transform.
◆ SetOffsetTransform()
Set the bone's offset transform.
- Parameters
-
transform The offset transform.
- Returns
- true if successful.
◆ GetOffsetTransform()
|
pure virtual |
Get the bone's offset transform.
- Returns
- The offset transform.
The documentation for this interface was generated from the following file:
- murl_video_i_bone.h