11#ifndef CAL_CORESKELETON_H
12#define CAL_CORESKELETON_H
14#include "cal3d/global.h"
15#include "cal3d/refcounted.h"
16#include "cal3d/refptr.h"
40 void scale(
float factor);
43 std::vector<CalCoreBone *> m_vectorCoreBone;
44 std::map< std::string, int > m_mapCoreBoneNames;
45 std::vector<int> m_vectorRootCoreBoneId;
Definition coremodel.h:26
void calculateBoundingBoxes(CalCoreModel *pCoreModel)
Calculates bounding boxes.
Definition coreskeleton.cpp:217
int addCoreBone(CalCoreBone *pCoreBone)
Adds a core bone.
Definition coreskeleton.cpp:48
std::vector< CalCoreBone * > & getVectorCoreBone()
Returns the core bone vector.
Definition coreskeleton.cpp:202
CalCoreBone * getCoreBone(int coreBoneId)
Provides access to a core bone.
Definition coreskeleton.cpp:97
bool mapCoreBoneName(int coreBoneId, const std::string &strName)
Maps the name of a bone to a specific bone id.
Definition coreskeleton.cpp:165
int getCoreBoneId(const std::string &strName)
Returns the ID of a specified core bone.
Definition coreskeleton.cpp:137
void calculateState()
Calculates the current state.
Definition coreskeleton.cpp:75
std::vector< int > & getVectorRootCoreBoneId()
Returns the root core bone id list.
Definition coreskeleton.cpp:188
void scale(float factor)
Scale the core skeleton.
Definition coreskeleton.cpp:236
Derive from RefCounted to make your class have reference-counted lifetime semantics.
Definition refcounted.h:29
A container-safe smart pointer used for refcounted classes.
Definition refptr.h:11