AnimEngine
Public Member Functions | Protected Attributes | List of all members
Skeleton Class Referenceabstract
Inheritance diagram for Skeleton:
Inheritance graph
[legend]
Collaboration diagram for Skeleton:
Collaboration graph
[legend]

Public Member Functions

virtual const PosegetPose () const override
 
virtual PosegetMutablePose ()
 
virtual void setPose (const Pose &pose) override
 
virtual Pose getBoneSkinningPose (size_t index) const =0
 
virtual void addBone (Bone *bone)
 
virtual void setBonePose (size_t index, const Pose &pose)=0
 
virtual BonegetBone (size_t index)
 
virtual const BonegetBone (size_t index) const
 
virtual const std::vector< Bone * > & getBonesArray () const
 
virtual size_t numBones () const
 
virtual void resetPose ()=0
 
- Public Member Functions inherited from Entity
 Entity (const std::string &name)
 
const ent_uuid_t & UUID () const
 
const std::string & getName () const
 
void setName (const std::string &name)
 
void addChild (Entity *entity)
 
virtual void unlink ()
 
virtual void link (Entity *parent)
 
virtual Entityreplace (Entity *replacement)
 Replace the node in the tree with 'replacement' and return original node ('this')
 
const std::map< ent_uuid_t, Entity * > & getChildren () const
 
size_t numChildren () const
 
bool hasParent () const
 
EntitygetParent ()
 
const EntitygetParent () const
 
- Public Member Functions inherited from PosedComponent
virtual bool isPosed () const override
 
- Public Member Functions inherited from RootComponent
virtual bool isDrawable () const
 
- Public Member Functions inherited from PoseableComponent
virtual bool isPoseable () const override
 

Protected Attributes

std::vector< Bone * > bones
 
Pose skeleton_entity_pose
 
- Protected Attributes inherited from Entity
std::string _name
 
Entity_parent = nullptr
 
std::map< ent_uuid_t, Entity * > _children
 

Additional Inherited Members

- Public Attributes inherited from Entity
unsigned int traversal_scratch = 0
 

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