7 #ifndef CAFU_DLOD_MODEL_LOADER_HPP_INCLUDED
8 #define CAFU_DLOD_MODEL_LOADER_HPP_INCLUDED
21 LoaderDlodT(
const std::string& FileName,
int Flags=NONE);
31 bool Load(
unsigned int Level,
CafuModelT*& DlodModel,
float& DlodDist);
This class represents a native Cafu model.
Definition: Model_cmdl.hpp:45
const std::string & GetFileName() const
Returns the file name of the imported model.
Definition: Loader_dlod.cpp:86
The base class for importing arbitrary model files into Cafu models.
Definition: Loader.hpp:15
This class loads a discrete-level-of-detail (.dlod) model file into a new Cafu model.
Definition: Loader_dlod.hpp:14
This class implements the MaterialManagerI interface.
Definition: MaterialManagerImpl.hpp:23
~LoaderDlodT()
The destructor.
Definition: Loader_dlod.cpp:79
void Load(ArrayT< CafuModelT::JointT > &Joints, ArrayT< CafuModelT::MeshT > &Meshes, ArrayT< CafuModelT::AnimT > &Anims, MaterialManagerImplT &MaterialMan)
Actually loads the file data into the appropriate parts of the Cafu model.
Definition: Loader_dlod.cpp:94
LoaderDlodT(const std::string &FileName, int Flags=NONE)
The constructor for loading a discrete-level-of-detail (.dlod) model file into a new Cafu model...
Definition: Loader_dlod.cpp:17