32 #include "MeshStorage.h" 46 int getNormalTriangleSize()
const {
return MeshStorage::NORMAL_TRIANGLE_SIZE; }
47 int getTextureTriangleSize()
const {
return MeshStorage::TEXTURE_TRIANGLE_SIZE; }
49 int* getVertexIndices() {
return m_vertex_indices; }
50 const int* getVertexIndices()
const {
return m_vertex_indices; }
51 int* getNormalIndices() {
return m_normal_indices; }
52 const int* getNormalIndices()
const {
return m_normal_indices; }
53 int* getColorIndices() {
return m_color_indices; }
54 const int* getColorIndices()
const {
return m_color_indices; }
55 int* getTextureCoordinateIndices() {
return m_texture_coordinate_indices; }
56 const int* getTextureCoordinateIndices()
const {
return m_texture_coordinate_indices; }
58 void setGroupName(
const uint32 i,
const std::string& group_name) { m_mesh->m_group_names[i] = group_name; }
77 int* m_vertex_indices;
78 int* m_normal_indices;
80 int* m_texture_coordinate_indices;
81 int* m_material_indices;
virtual void allocateData()
Definition: MeshLoader.cpp:83
virtual void startWritingData()
Definition: MeshLoader.cpp:118
virtual void postProcess()
Definition: MeshLoader.cpp:121
Definition: MeshLoader.h:35
virtual void finishWritingData()
Definition: MeshLoader.cpp:146
int getVertexTriangleSize() const
Definition: MeshLoader.h:45
Definition: MeshStorage.h:44
virtual void preProcess()
Definition: MeshLoader.cpp:53
Definition: MeshLoader.cpp:123
Definition: MeshLoader.cpp:59
Definition: MeshBase.h:148