The base class for importing additional animations into an existing CafuModelT. More...
#include "Loader.hpp"
Public Member Functions | |
AnimImporterT (const std::string &FileName) | |
The constructor. More... | |
virtual const std::string & | GetFileName () const |
Returns the name of the file the animations are imported from. More... | |
virtual ArrayT< CafuModelT::AnimT > | Import (const ArrayT< CafuModelT::JointT > &Joints, const ArrayT< CafuModelT::MeshT > &Meshes)=0 |
Imports and returns the animation sequences from the file, optionally referring to the joints and meshes of the related model. More... | |
Protected Attributes | |
const std::string | m_FileName |
The base class for importing additional animations into an existing CafuModelT.
AnimImporterT::AnimImporterT | ( | const std::string & | FileName | ) |
The constructor.
|
inlinevirtual |
Returns the name of the file the animations are imported from.
|
pure virtual |
Imports and returns the animation sequences from the file, optionally referring to the joints and meshes of the related model.
It is up to the caller to actually add the imported sequences to the related model instance.
Implemented in ImporterMd5AnimT.