|
| VertexGeometry (const std::vector< glm::vec3 > &vertices, const std::vector< GLuint > elements, bool skip_gpu_upload=false, bool skip_measurement=false) |
|
virtual void | autoSetupForDraw () |
|
virtual void | autoCleanupAfterDraw () |
|
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) |
|
|
static const GLuint | msPositionAttrIndex = 0 |
|
|
virtual void | updateMeasurement () |
|
virtual void | linkElementBuffers () |
|
virtual void | _startGpuUpload () |
|
virtual void | _uploadData () |
|
virtual void | _finishGpuUpload () |
|
void | _measure_min_max_ (const std::vector< glm::vec3 > &vertices, glm::vec3 *min_point, glm::vec3 *max_point) |
|
void | _normalize_vertices (std::vector< glm::vec3 > &vertices, const glm::vec3 &min, const glm::vec3 &max) |
|
|
bool | measurement_current_ = false |
|
GpuSyncStatus | sync_status_ = GpuSyncStatus::GPU_UNINITIALIZED |
|
std::vector< glm::vec3 > | cpu_vertex_buffer_ |
|
std::vector< std::vector< GLuint > > | cpu_element_buffers_ |
|
std::vector< ElementArrayBuffer > | vertex_elements_buffers_ |
|
glm::vec3 | min_point_ = glm::vec3(0.0) |
|
glm::vec3 | max_point_ = glm::vec3(0.0) |
|
std::string | tag |
|
The documentation for this class was generated from the following files:
- /home/kjyager/Code/projects/GI_merge/src/OOOGL/MidLevel/Geometry.hpp
- /home/kjyager/Code/projects/GI_merge/src/OOOGL/MidLevel/Geometry.cpp