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

Public Member Functions

virtual Pose getBoneSkinningPose (size_t index) const override
 
virtual void init ()
 
virtual void addBone (Bone *bone) override
 
virtual void setBonesRecursive (Bone *root)
 
virtual BonegetBone (size_t index) override
 
virtual const BonegetBone (size_t index) const override
 
virtual size_t numBones () const override
 
virtual BonegetRootBone ()
 
virtual void setBonePose (size_t index, const Pose &pose) override
 
virtual void resetPose () override
 
virtual void clearSkeleton ()
 
- Public Member Functions inherited from Skeleton
virtual const PosegetPose () const override
 
virtual PosegetMutablePose ()
 
virtual void setPose (const Pose &pose) override
 
virtual const std::vector< Bone * > & getBonesArray () const
 
- 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 Member Functions

virtual void _addBonesRecursive (Bone *bone)
 

Protected Attributes

Boneroot = nullptr
 
bool _inited = false
 
- Protected Attributes inherited from Skeleton
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 files: