|
| TriangleMesh (const std::vector< glm::vec3 > &vertices, const std::vector< GLuint > elements, const std::vector< glm::vec3 > &normals, const std::vector< glm::vec2 > &texcoords, bool skip_gpu_upload=false) |
|
virtual void | autoSetupForDraw () override |
|
virtual void | autoCleanupAfterDraw () override |
|
virtual const std::vector< glm::vec3 > & | getNormals () const |
|
virtual std::vector< glm::vec3 > & | getMutableNormals () |
|
virtual void | replaceNormals (const std::vector< glm::vec3 > &new_buffer) |
|
virtual bool | areNormalsEnabled () const |
| Check if the vertex normals attribute is enabled.
|
|
virtual void | disableNormals () |
| Disable the vertex normal attribute during auto setup.
|
|
virtual void | enableNormals () |
| Disable the vertex normal attribute during auto setup.
|
|
virtual const std::vector< glm::vec2 > & | getTextureCoords () const |
|
virtual std::vector< glm::vec2 > & | getMutableTextureCoords () |
|
virtual void | replaceTextureCoords (const std::vector< glm::vec2 > &new_buffer) |
|
virtual bool | areTextureCoordsEnabled () const |
| Check if the vertex normals attribute is enabled.
|
|
virtual void | disableTextureCoords () |
| Disable the vertex normal attribute during auto setup.
|
|
virtual void | enableTextureCoords () |
| Disable the vertex normal attribute during auto setup.
|
|
| VertexGeometry (const std::vector< glm::vec3 > &vertices, const std::vector< GLuint > elements, bool skip_gpu_upload=false, bool skip_measurement=false) |
|
virtual const glm::vec3 & | getMinPoint () |
|
virtual const glm::vec3 & | getMaxPoint () |
|
virtual void | normalize () |
|
virtual void | uploadToGpu () |
|
virtual GpuSyncStatus | getSyncStatus () const |
|
virtual const std::vector< glm::vec3 > & | getVertices () const |
|
virtual std::vector< glm::vec3 > & | getMutableVertices () |
|
virtual void | replaceVertices (const std::vector< glm::vec3 > &new_buffer) |
|
virtual size_t | numElementBuffers () const |
|
virtual const std::vector< GLuint > & | getElements (size_t index) const |
|
virtual std::vector< GLuint > & | getMutableElements (size_t index) |
|
virtual void | replaceElements (size_t index, const std::vector< GLuint > &new_buffer) |
|
virtual void | addElements (const std::vector< GLuint > &new_buffer, bool auto_add_element_array_buffer=true) |
|
virtual ElementArrayBuffer | getElementArrayBuffer (size_t index) |
|
virtual void | replaceElementArrayBuffer (size_t index, const ElementArrayBuffer &buffer) |
|
virtual const std::string & | getTag () const |
|
virtual void | setTag (const std::string &tag) |
|