Cafu Engine
AnimImporterT Class Referenceabstract

The base class for importing additional animations into an existing CafuModelT. More...

#include "Loader.hpp"

Inheritance diagram for AnimImporterT:

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::AnimTImport (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
 

Detailed Description

The base class for importing additional animations into an existing CafuModelT.

Constructor & Destructor Documentation

AnimImporterT::AnimImporterT ( const std::string &  FileName)

The constructor.

Member Function Documentation

virtual const std::string& AnimImporterT::GetFileName ( ) const
inlinevirtual

Returns the name of the file the animations are imported from.

virtual ArrayT<CafuModelT::AnimT> AnimImporterT::Import ( const ArrayT< CafuModelT::JointT > &  Joints,
const ArrayT< CafuModelT::MeshT > &  Meshes 
)
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.


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