Josh's Graphics Library
JGL::Skeleton Class Reference

#include <Skeleton.h>

Public Member Functions

BoneGetRootBone ()
 
BoneFindBone (int id)
 
BoneFindBone (const std::string &string_id)
 
void AppendBone (const Bone &bone)
 
 Skeleton (const Bone &root_bone, const std::vector< Bone > &children={})
 
 ~Skeleton ()=default
 
 Skeleton ()=default
 

Constructor & Destructor Documentation

◆ Skeleton() [1/2]

Skeleton::Skeleton ( const Bone root_bone,
const std::vector< Bone > &  children = {} 
)
explicit

◆ ~Skeleton()

JGL::Skeleton::~Skeleton ( )
default

◆ Skeleton() [2/2]

JGL::Skeleton::Skeleton ( )
default

Member Function Documentation

◆ AppendBone()

void Skeleton::AppendBone ( const Bone bone)

◆ FindBone() [1/2]

Bone * Skeleton::FindBone ( const std::string &  string_id)
Here is the call graph for this function:

◆ FindBone() [2/2]

Bone * Skeleton::FindBone ( int  id)
Here is the call graph for this function:

◆ GetRootBone()

Bone * Skeleton::GetRootBone ( )

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