CrystalSpace

Public API Reference

CS::Animation::iSkeletonChainNode Struct Reference

A node in a skeleton chain tree. More...

#include <imesh/skeletonmodel.h>

Inheritance diagram for CS::Animation::iSkeletonChainNode:

List of all members.

Public Member Functions

virtual csString Description () const =0
 Print the hierarchical structure of this node and its children to the standard output.
virtual iSkeletonChainNodeFindSubChild (CS::Animation::BoneID child) const =0
 Find the node of the bone with the given BoneID in the descendent children of this node.
virtual BoneID GetAnimeshBone () const =0
 Return the ID of the bone of the CS::Mesh::iAnimatedMesh associated with this node.
virtual iSkeletonChainNodeGetChild (size_t index) const =0
 Get the given child of this node.
virtual size_t GetChildCount () const =0
 Get the count of children of this node.
virtual iSkeletonChainNodeGetParent () const =0
 Get the parent node of this node.

Detailed Description

A node in a skeleton chain tree.

A node is directly associated to a bone model.

Definition at line 311 of file skeletonmodel.h.


Member Function Documentation

virtual csString CS::Animation::iSkeletonChainNode::Description (  )  const [pure virtual]

Print the hierarchical structure of this node and its children to the standard output.

virtual iSkeletonChainNode* CS::Animation::iSkeletonChainNode::FindSubChild ( CS::Animation::BoneID  child  )  const [pure virtual]

Find the node of the bone with the given BoneID in the descendent children of this node.

Return 0 if the given bone was not found.

virtual BoneID CS::Animation::iSkeletonChainNode::GetAnimeshBone (  )  const [pure virtual]

Return the ID of the bone of the CS::Mesh::iAnimatedMesh associated with this node.

virtual iSkeletonChainNode* CS::Animation::iSkeletonChainNode::GetChild ( size_t  index  )  const [pure virtual]

Get the given child of this node.

virtual size_t CS::Animation::iSkeletonChainNode::GetChildCount (  )  const [pure virtual]

Get the count of children of this node.

virtual iSkeletonChainNode* CS::Animation::iSkeletonChainNode::GetParent (  )  const [pure virtual]

Get the parent node of this node.

Returns 0 if the node is the root of the skeleton chain.


The documentation for this struct was generated from the following file:

Generated for Crystal Space 2.1 by doxygen 1.6.1