|
| MeshLoader (MeshStorage *mesh) |
|
int | getVertexTriangleSize () const |
|
int | getNormalTriangleSize () const |
|
int | getTextureTriangleSize () const |
|
int * | getVertexIndices () |
|
const int * | getVertexIndices () const |
|
int * | getNormalIndices () |
|
const int * | getNormalIndices () const |
|
int * | getColorIndices () |
|
const int * | getColorIndices () const |
|
int * | getTextureCoordinateIndices () |
|
const int * | getTextureCoordinateIndices () const |
|
void | setGroupName (const uint32 i, const std::string &group_name) |
|
virtual void | loadModel (const std::string &filename, bool insertDefaultMaterial=true, const MeshMaterialParams &defaultMaterial=MeshMaterialParams()) |
|
template<class Functor > |
void | forEachGroup (Functor functor) const |
|
template<class Functor > |
void | forEachGroup (Functor functor) |
|
int | getNumVertices () const |
|
int | getNumNormals () const |
|
int | getNumColors () const |
|
int | getNumTextureCoordinates () const |
|
int | getNumTriangles () const |
|
int | getNumGroups () const |
|
float * | getVertexData () |
|
const float * | getVertexData () const |
|
float * | getNormalData () |
|
const float * | getNormalData () const |
|
unsigned char * | getColorData () |
|
const unsigned char * | getColorData () const |
|
float * | getTextureCoordinateData () |
|
const float * | getTextureCoordinateData () const |
|
int | getVertexStride () const |
|
int | getNormalStride () const |
|
int | getColorStride () const |
|
int | getTextureCoordinateStride () const |
|
const float * | getBBoxMin () const |
|
const float * | getBBoxMax () const |
|
void | updateBBox () |
|
const std::string & | getMaterialLibraryName () const |
|
MeshGroup & | getMeshGroup (const std::string &group_name) |
|
const MeshGroup & | getMeshGroup (const std::string &group_name) const |
|
size_t | getMaterialCount () const |
|
void | setMeshMaterialParams (int i, const MeshMaterialParams ¶ms) |
|
MeshMaterialParams & | getMeshMaterialParams (int i) |
|
const MeshMaterialParams & | getMeshMaterialParams (int i) const |
|
void | setMeshGrouping (MeshGrouping grouping) |
|
MeshGrouping | getMeshGrouping () const |
|
void | loadFromObj (const std::string &filename, bool insertDefaultMaterial, const MeshMaterialParams &defaultMaterial) |
|
void | loadMaterials (const std::string &material_filename) |
|
void | loadFromPly (const std::string &filename, bool insertDefaultMaterial, const MeshMaterialParams &defaultMaterial) |
|