#include <TexturedMesh.hpp>
Public Member Functions | |
virtual void | render () |
TexturedMesh (MeshBufferPtr mesh) | |
virtual | ~TexturedMesh () |
Public Member Functions inherited from lvr2::StaticMesh | |
virtual void | finalize () |
uintArr | getIndices () |
float * | getNormals () |
size_t | getNumberOfFaces () |
size_t | getNumberOfVertices () |
int | getRenderMode () |
floatArr | getVertices () |
virtual void | savePLY (string filename) |
virtual void | setName (string name) |
void | setRenderMode (int mode) |
StaticMesh () | |
StaticMesh (ModelPtr model, string name="") | |
StaticMesh (MeshBufferPtr buffer, string name="") | |
StaticMesh (const StaticMesh &o) | |
~StaticMesh () | |
Public Member Functions inherited from lvr2::Renderable | |
void | accel (bool invert=0) |
BoundingBox< Vec > * | boundingBox () |
void | compileAxesList () |
Matrix4< Vec > | getTransformation () |
bool | isActive () |
bool | isSelected () |
void | lift (bool invert=0) |
float | lineWidth () |
virtual ModelPtr | model () |
void | moveX (bool invert=0) |
void | moveY (bool invert=0) |
void | moveZ (bool invert=0) |
string | Name () |
void | pitch (bool invert=0) |
float | pointSize () |
Renderable () | |
Renderable (const Renderable &other) | |
Renderable (string name) | |
Renderable (Matrix4< Vec > m, string name) | |
void | roll (bool invert=0) |
void | rotX (bool invert=0) |
void | rotY (bool invert=0) |
void | rotZ (bool invert=0) |
void | scale (float s) |
void | setActive (bool a) |
void | setLineWidth (float width) |
void | setPointSize (float size) |
void | setRotationSpeed (float s) |
void | setSelected (bool s) |
void | setTransformationMatrix (Matrix4< Vec > m) |
void | setTranslationSpeed (float s) |
void | setVisible (bool s) |
void | showAxes (bool on) |
void | strafe (bool invert=0) |
void | toggle () |
void | yaw (bool invert=0) |
virtual | ~Renderable () |
Private Member Functions | |
void | compileTexureDisplayList () |
void | generateMaterialGroups () |
void | getBufferArray (unsigned int *, MaterialGroup *g) |
Private Attributes | |
vector< MaterialGroup * > | m_colorMaterials |
indexArray | m_faceMaterials |
vector< Material > & | m_materials |
size_t | m_numFaces |
size_t | m_numMaterials |
size_t | m_numTextures |
size_t | m_numVertices |
floatArr | m_texcoords |
int | m_textureDisplayList |
vector< MaterialGroup * > | m_textureMaterials |
textureArr | m_textures |
Definition at line 54 of file TexturedMesh.hpp.
lvr2::TexturedMesh::TexturedMesh | ( | MeshBufferPtr | mesh | ) |
Definition at line 61 of file TexturedMesh.cpp.
|
inlinevirtual |
Definition at line 59 of file TexturedMesh.hpp.
|
private |
Definition at line 162 of file TexturedMesh.cpp.
|
private |
Definition at line 107 of file TexturedMesh.cpp.
|
private |
Definition at line 47 of file TexturedMesh.cpp.
|
inlinevirtual |
Reimplemented from lvr2::StaticMesh.
Definition at line 77 of file TexturedMesh.hpp.
|
private |
Definition at line 121 of file TexturedMesh.hpp.
|
private |
Definition at line 114 of file TexturedMesh.hpp.
|
private |
Definition at line 117 of file TexturedMesh.hpp.
|
private |
Definition at line 123 of file TexturedMesh.hpp.
|
private |
Definition at line 124 of file TexturedMesh.hpp.
|
private |
Definition at line 125 of file TexturedMesh.hpp.
|
private |
Definition at line 126 of file TexturedMesh.hpp.
|
private |
Definition at line 115 of file TexturedMesh.hpp.
|
private |
Definition at line 128 of file TexturedMesh.hpp.
|
private |
Definition at line 120 of file TexturedMesh.hpp.
|
private |
Definition at line 116 of file TexturedMesh.hpp.