The IBone video object interface. More...

#include "murl_video_i_bone.h"

Inherited by Murl::Video::Bone.

Public Member Functions

virtual IObjectGetObjectInterface ()=0
 Get the mutable Video::IObject interface. More...
 
virtual const IObjectGetObjectInterface () 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 MatrixGetTransform () 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 MatrixGetWorldTransform () 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 MatrixGetOffsetTransform () 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]

virtual IObject* Murl::Video::IBone::GetObjectInterface ( )
pure virtual

Get the mutable Video::IObject interface.

Returns
The IObject interface.

◆ GetObjectInterface() [2/2]

virtual const IObject* Murl::Video::IBone::GetObjectInterface ( ) const
pure virtual

Get the constant Video::IObject interface.

Returns
The IObject interface.

◆ Enable()

virtual Bool Murl::Video::IBone::Enable ( UInt32  unit)
pure virtual

Enable the bone at a given unit.

Parameters
unitThe bone unit, from 0 to IEnums::NUM_BONE_UNITS-1.
Returns
true if successful.

◆ Disable()

virtual Bool Murl::Video::IBone::Disable ( UInt32  unit)
pure virtual

Disable the bone at a given unit.

Parameters
unitThe bone unit, from 0 to IEnums::NUM_BONE_UNITS-1.
Returns
true if successful.

◆ Set()

virtual Bool Murl::Video::IBone::Set ( IProgram currentProgram,
UInt32  unit 
)
pure virtual

Attach the bone to the current GPU program at a given unit.

Parameters
currentProgramThe current GPU program.
unitThe bone unit, from 0 to IEnums::NUM_BONE_UNITS-1.
Returns
true if successful.

◆ GetTransform()

virtual const Matrix& Murl::Video::IBone::GetTransform ( ) const
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()

virtual Bool Murl::Video::IBone::SetWorldTransform ( const Matrix transform)
pure virtual

Set the bone's current world transform.

Parameters
transformThe world transform.
Returns
true if successful.

◆ GetWorldTransform()

virtual const Matrix& Murl::Video::IBone::GetWorldTransform ( ) const
pure virtual

Get the bone's current world transform.

Returns
The world transform.

◆ SetOffsetTransform()

virtual Bool Murl::Video::IBone::SetOffsetTransform ( const Matrix transform)
pure virtual

Set the bone's offset transform.

Parameters
transformThe offset transform.
Returns
true if successful.

◆ GetOffsetTransform()

virtual const Matrix& Murl::Video::IBone::GetOffsetTransform ( ) const
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


Copyright © 2011-2018 Spraylight GmbH.