Class StaticMesh
Defined in File StaticMesh.hpp
Inheritance Relationships
Base Type
public lvr2::Renderable(Class Renderable)
Derived Type
public lvr2::TexturedMesh(Class TexturedMesh)
Class Documentation
-
class StaticMesh : public lvr2::Renderable
Subclassed by lvr2::TexturedMesh
Public Functions
-
StaticMesh()
-
StaticMesh(MeshBufferPtr buffer, string name = "")
-
StaticMesh(const StaticMesh &o)
-
~StaticMesh()
-
inline virtual void render()
-
virtual void finalize()
-
virtual void savePLY(std::string filename)
-
virtual void setName(std::string name)
-
float *getNormals()
-
size_t getNumberOfVertices()
-
size_t getNumberOfFaces()
-
inline void setRenderMode(int mode)
-
inline int getRenderMode()
Protected Functions
-
void compileColoredMeshList()
-
void compileWireframeList()
-
void compileNameList()
-
void setColorMaterial(float r, float g, float b)
-
void readPly(std::string filename)
-
StaticMesh()