Classes | |
class | cFileLoaderBMP |
cFileLoaderBMP provides a class to load BMP bitmap images into memory. More... | |
class | cFileLoaderTGA |
Class that loads TGA files. More... | |
class | cImageLoader |
cImageLoader provides a class to load images files into memory. The real work is deferred to specific files that know how to load specific image file types. More... | |
Functions | |
bool | cLoadFile3DS (cMesh *iMesh, const string &iFileName) |
Loads a 3DS image file by providing a filename and mesh in which object is loaded. | |
bool | cLoadFileOBJ (cMesh *iMesh, const string &iFileName) |
Loads a OBJ image by providing a filename and mesh in which object is loaded. | |
bool | cLoadMeshFromFile (cMesh *a_mesh, const string &a_fileName) |
Global function to load a file into a mesh. (CHAI currently supports .3ds and .obj files). |
bool cLoadFile3DS | ( | cMesh * | a_mesh, | |
const string & | a_fileName | |||
) |
Loads a 3DS image file by providing a filename and mesh in which object is loaded.
Load a 3d studio max 3ds file format image into a mesh.
a_mesh | Mesh in which image file is loaded | |
a_fileName | Name of image file. |
bool cLoadFileOBJ | ( | cMesh * | a_mesh, | |
const string & | a_fileName | |||
) |
Loads a OBJ image by providing a filename and mesh in which object is loaded.
Load a Wavefront OBJ file format image into a mesh.
a_mesh | Mesh in which image file is loaded | |
a_fileName | Name of image file. |
bool cLoadMeshFromFile | ( | cMesh * | a_mesh, | |
const string & | a_fileName | |||
) |
Global function to load a file into a mesh. (CHAI currently supports .3ds and .obj files).
Global function to load a file into a mesh (CHAI currently supports .3ds and .obj files). Returns true if the file is loaded successfully.
The file type is determined based on the file extension supplied by the caller.
a_mesh | The mesh into which we should write the loaded data | |
a_fileName | The filename from which we should load the mesh |