public

Inheritance Graph

graph BT
	SkeletalNode
	SkeletalNode --> ListNode
	click SkeletalNode "classMinSG_1_1SkeletalNode"
	click ListNode "classMinSG_1_1ListNode"

Description

Public Functions

   
   
  SkeletalNode(void void)
   
  ~SkeletalNode(void void)
   
std::unordered_map< std::string, AbstractJoint * > & getJointMap()
   
void playAnimation(const std::string & name, float duration, bool force)
   
AnimationBehaviour * getAnimation(const std::string & name)
   
void addAnimation( AnimationBehaviour * ani, const std::string & name)
   
bool clearAnimation(std::string _name, BehaviourManager * manager)
   
void clearAnimations( BehaviourManager * manager)
   
uint32_t getAnimationCount()
   
const std::unordered_map< std::string, AnimationBehaviour * > & getAnimations()
   
void setJointMap(std::unordered_map< std::string, AbstractJoint * > map)
   
uint32_t getJointMapSize()
   
bool splitAnimation(std::string sourceName, std::string targetName, int index)
   
bool separateAnimation(std::string source, std::vector< std::string > names, std::vector< uint32_t > indices, BehaviourManager * manager)
   
void printAnimationNames()
   
std::vector< std::string > getAnimationNames()
   
void startLoop(std::string aniName)
   
void stopLoop(std::string aniName)
   
bool hasAnimation(std::string aniName)
   
void validateJointMap()
   
bool setStartAnimation(std::string animationName)
   
void setStartAnimationByName(std::string _name)
   
bool goToAnimationState(std::string _name)
   
Geometry::Matrix4x4 & getInverseWorldMatrix() const
   
void doAddChild( Util::Reference < Node > child)
   
void showSkeleton()
   
void hideSkeleton()
   
void hideMesh()
   
void showMesh()
   
void attachObject( Util::Reference < Node > _object, std::string _id)
   
void detachObject( Util::Reference < Node > _object, std::string _id)
   
RigidJoint * getAnchorJoint()

Documentation

function
MinSG::SkeletalNode::SkeletalNode

public
     
     
SkeletalNode( void void )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:63


function
MinSG::SkeletalNode::~SkeletalNode

public inline virtual
     
     
~SkeletalNode( void void )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:64


function
MinSG::SkeletalNode::getJointMap

public
   
   
std::unordered_map< std::string, AbstractJoint * > & getJointMap( )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:66


function
MinSG::SkeletalNode::playAnimation

public
     
     
void playAnimation( const std::string & name,
  float duration,
  bool force
)    

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:71


function
MinSG::SkeletalNode::getAnimation

public
     
     
AnimationBehaviour * getAnimation( const std::string & name )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:73


function
MinSG::SkeletalNode::addAnimation

public
     
     
void addAnimation( AnimationBehaviour * ani,
  const std::string & name
)    

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:74


function
MinSG::SkeletalNode::clearAnimation

public
     
     
bool clearAnimation( std::string _name,
  BehaviourManager * manager
)    

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:76


function
MinSG::SkeletalNode::clearAnimations

public
     
     
void clearAnimations( BehaviourManager * manager )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:77


function
MinSG::SkeletalNode::getAnimationCount

public inline
   
   
uint32_t getAnimationCount( )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:79


function
MinSG::SkeletalNode::getAnimations

public inline
   
   
const std::unordered_map< std::string, AnimationBehaviour * > & getAnimations( )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:80


function
MinSG::SkeletalNode::setJointMap

public inline
     
     
void setJointMap( std::unordered_map< std::string, AbstractJoint * > map )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:82


function
MinSG::SkeletalNode::getJointMapSize

public inline
   
   
uint32_t getJointMapSize( )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:83


function
MinSG::SkeletalNode::splitAnimation

public
     
     
bool splitAnimation( std::string sourceName,
  std::string targetName,
  int index
)    

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:85


function
MinSG::SkeletalNode::separateAnimation

public
     
     
bool separateAnimation( std::string source,
  std::vector< std::string > names,
  std::vector< uint32_t > indices,
  BehaviourManager * manager
)    

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:86


function
MinSG::SkeletalNode::printAnimationNames

public
   
   
void printAnimationNames( )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:88


function
MinSG::SkeletalNode::getAnimationNames

public
   
   
std::vector< std::string > getAnimationNames( )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:89


function
MinSG::SkeletalNode::startLoop

public
     
     
void startLoop( std::string aniName )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:91


function
MinSG::SkeletalNode::stopLoop

public
     
     
void stopLoop( std::string aniName )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:92


function
MinSG::SkeletalNode::hasAnimation

public
     
     
bool hasAnimation( std::string aniName )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:94


function
MinSG::SkeletalNode::validateJointMap

public
   
   
void validateJointMap( )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:96


function
MinSG::SkeletalNode::setStartAnimation

public
     
     
bool setStartAnimation( std::string animationName )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:98


function
MinSG::SkeletalNode::setStartAnimationByName

public
     
     
void setStartAnimationByName( std::string _name )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:99


function
MinSG::SkeletalNode::goToAnimationState

public
     
     
bool goToAnimationState( std::string _name )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:101


function
MinSG::SkeletalNode::getInverseWorldMatrix

public const
   
   
Geometry::Matrix4x4 & getInverseWorldMatrix( ) const

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:103


function
MinSG::SkeletalNode::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/SkeletalNode.h:108


function
MinSG::SkeletalNode::showSkeleton

public
   
   
void showSkeleton( )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:115


function
MinSG::SkeletalNode::hideSkeleton

public
   
   
void hideSkeleton( )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:116


function
MinSG::SkeletalNode::hideMesh

public
   
   
void hideMesh( )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:118


function
MinSG::SkeletalNode::showMesh

public
   
   
void showMesh( )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:119


function
MinSG::SkeletalNode::attachObject

public
     
     
void attachObject( Util::Reference < Node > _object,
  std::string _id
)    

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:124


function
MinSG::SkeletalNode::detachObject

public
     
     
void detachObject( Util::Reference < Node > _object,
  std::string _id
)    

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:125


function
MinSG::SkeletalNode::getAnchorJoint

public
   
   
RigidJoint * getAnchorJoint( )

Defined in MinSG/Ext/SkeletalAnimation/SkeletalNode.h:127