public abstract

Inheritance Graph

graph BT
	AbstractJoint
	AbstractJoint --> ListNode
	ArmatureNode --> AbstractJoint
	JointNode --> AbstractJoint
	click AbstractJoint "classMinSG_1_1AbstractJoint"
	click ListNode "classMinSG_1_1ListNode"
	click ArmatureNode "classMinSG_1_1ArmatureNode"
	click JointNode "classMinSG_1_1JointNode"

Description

Protected Attributes

   
   
uint32_t id
   
std::string name
   
Geometry::Matrix4x4 invBindMatrix

Protected Functions

   
   
  AbstractJoint()
   
  AbstractJoint(uint32_t _id, std::string _name)
   
  AbstractJoint(const AbstractJoint & source)

Public Functions

   
   
uint32_t getId() const
   
void setName(std::string _name)
   
std::string getName() const
   
void setBindMatrix( Geometry::Matrix4x4 _bindMatrix)
   
const Geometry::Matrix4x4 * getBindMatrix() const
   
const Geometry::Matrix4x4 & getInverseBindMatrix() const
   
void setInverseBindMatrix( Geometry::Matrix4x4 _invBind)
   
void generateJointNodeMap(std::unordered_map< std::string, AbstractJoint * > & jMap)
   
void doAddChild( Util::Reference < Node > child)
   
void doDisplay( FrameContext & context, const RenderParam & rp)

Documentation

variable
MinSG::AbstractJoint::id

protected
 
 
uint32_t id

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:42


variable
MinSG::AbstractJoint::name

protected
 
 
std::string name

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:43


variable
MinSG::AbstractJoint::invBindMatrix

protected
 
 
Geometry::Matrix4x4 invBindMatrix

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:44


function
MinSG::AbstractJoint::AbstractJoint

protected
   
   
AbstractJoint( )

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:46


function
MinSG::AbstractJoint::AbstractJoint

protected
     
     
AbstractJoint( uint32_t _id,
  std::string _name
)    

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:47


function
MinSG::AbstractJoint::AbstractJoint

protected
     
     
AbstractJoint( const AbstractJoint & source )

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:48


function
MinSG::AbstractJoint::getId

public const inline
   
   
uint32_t getId( ) const

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:55


function
MinSG::AbstractJoint::setName

public inline
     
     
void setName( std::string _name )

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:57


function
MinSG::AbstractJoint::getName

public const inline
   
   
std::string getName( ) const

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:58


function
MinSG::AbstractJoint::setBindMatrix

public
     
     
void setBindMatrix( Geometry::Matrix4x4 _bindMatrix )

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:63


function
MinSG::AbstractJoint::getBindMatrix

public const inline
   
   
const Geometry::Matrix4x4 * getBindMatrix( ) const

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:64


function
MinSG::AbstractJoint::getInverseBindMatrix

public const inline
   
   
const Geometry::Matrix4x4 & getInverseBindMatrix( ) const

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:66


function
MinSG::AbstractJoint::setInverseBindMatrix

public inline
     
     
void setInverseBindMatrix( Geometry::Matrix4x4 _invBind )

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:67


function
MinSG::AbstractJoint::generateJointNodeMap

public virtual
     
     
void generateJointNodeMap( std::unordered_map< std::string, AbstractJoint * > & jMap )

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:72


function
MinSG::AbstractJoint::doAddChild

public virtual
     
     
void doAddChild( Util::Reference < Node > child )

(internal) Add the given child to this node.

  • called by addChild(…). *

  • May throw an exception on failure (of base type std::exception).

  • Has to set the child’s parent (child->_setParent(…)).

  • The givenchildcan be assumed to be not null, which has been removed from its old parent.o

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:77


function
MinSG::AbstractJoint::doDisplay

public inline virtual
     
     
void doDisplay( FrameContext & context,
  const RenderParam & rp
)    

o Render the node. All matrix operations and states must be applied when called. This function is internally called by the default to display(…) method.

Defined in MinSG/Ext/SkeletalAnimation/Joints/AbstractJoint.h:87