#include <OpenFlipper/libs_required/ACG/GL/DrawMesh.hh>
This class holds non-templated code and is intended to be inherited by the templated DrawMeshT class.
Definition at line 80 of file DrawMesh.hh.
◆ DrawMeshBase()
ACG::DrawMeshBase::DrawMeshBase |
( |
| ) |
|
|
protected |
◆ ~DrawMeshBase()
ACG::DrawMeshBase::~DrawMeshBase |
( |
| ) |
|
|
protected |
◆ bindHEVbo()
void ACG::DrawMeshBase::bindHEVbo |
( |
| ) |
|
|
protected |
◆ bindIbo()
void ACG::DrawMeshBase::bindIbo |
( |
| ) |
|
|
protected |
◆ bindLineIbo()
void ACG::DrawMeshBase::bindLineIbo |
( |
| ) |
|
|
protected |
◆ bindPickVertexIbo()
void ACG::DrawMeshBase::bindPickVertexIbo |
( |
| ) |
|
|
protected |
◆ bindVbo()
void ACG::DrawMeshBase::bindVbo |
( |
| ) |
|
|
protected |
◆ createIndexBuffer()
void ACG::DrawMeshBase::createIndexBuffer |
( |
| ) |
|
|
protected |
◆ deleteIbo()
void ACG::DrawMeshBase::deleteIbo |
( |
| ) |
|
|
protected |
◆ fillHEVBO()
void ACG::DrawMeshBase::fillHEVBO |
( |
size_t |
numberOfElements_, |
|
|
size_t |
sizeOfElements_, |
|
|
void * |
data_ |
|
) |
| |
|
protected |
◆ fillInvVertexMap()
void ACG::DrawMeshBase::fillInvVertexMap |
( |
size_t |
n_vertices, |
|
|
void * |
data |
|
) |
| |
|
protected |
◆ fillLineBuffer()
void ACG::DrawMeshBase::fillLineBuffer |
( |
size_t |
n_edges, |
|
|
void * |
data |
|
) |
| |
|
protected |
◆ fillVertexBuffer()
void ACG::DrawMeshBase::fillVertexBuffer |
( |
| ) |
|
|
protected |
◆ getIndexType()
GLenum ACG::DrawMeshBase::getIndexType |
( |
| ) |
const |
|
inline |
get index type of index buffer
Definition at line 110 of file DrawMesh.hh.
◆ getMeshCompiler()
get mesh compiler used to create the draw mesh
Definition at line 105 of file DrawMesh.hh.
◆ getNumSubsets()
unsigned int ACG::DrawMeshBase::getNumSubsets |
( |
| ) |
const |
|
inline |
◆ getNumTris()
size_t ACG::DrawMeshBase::getNumTris |
( |
| ) |
const |
|
inline |
◆ getNumVerts()
size_t ACG::DrawMeshBase::getNumVerts |
( |
| ) |
const |
|
inline |
◆ pickVertexIBO_opt()
GLuint ACG::DrawMeshBase::pickVertexIBO_opt |
( |
| ) |
|
|
inline |
get an index buffer mapping from openmesh vertices to drawmesh vbo vertices
- Returns
- index buffer object (UNSIGNED_INT), might be 0 if the openmesh object is a point cloud
Definition at line 116 of file DrawMesh.hh.
◆ unbindHEVbo()
void ACG::DrawMeshBase::unbindHEVbo |
( |
| ) |
|
|
protected |
◆ heVBO_
GLuint ACG::DrawMeshBase::heVBO_ |
|
protected |
vbo for halfedge rendering, as they are offset
Definition at line 128 of file DrawMesh.hh.
◆ ibo_
GLuint ACG::DrawMeshBase::ibo_ |
|
protected |
◆ indexType_
GLenum ACG::DrawMeshBase::indexType_ |
|
protected |
support for 2 and 4 byte unsigned integers
Definition at line 133 of file DrawMesh.hh.
◆ lineIBO_
GLuint ACG::DrawMeshBase::lineIBO_ |
|
protected |
index buffer used in Wireframe / Hiddenline mode
Definition at line 126 of file DrawMesh.hh.
◆ meshComp_
◆ numTris_
size_t ACG::DrawMeshBase::numTris_ |
|
protected |
◆ numVerts_
size_t ACG::DrawMeshBase::numVerts_ |
|
protected |
◆ pickVertexIBO_
GLuint ACG::DrawMeshBase::pickVertexIBO_ |
|
protected |
map from openmesh vertex to vbo vertex id
Definition at line 156 of file DrawMesh.hh.
◆ prevVBO_
GLint ACG::DrawMeshBase::prevVBO_ |
|
protected |
◆ vbo_
GLuint ACG::DrawMeshBase::vbo_ |
|
protected |
◆ vertexDecl_
vertex buffer layout declaration with per vertex colors
Definition at line 141 of file DrawMesh.hh.
◆ vertexDeclEdgeCol_
vertex buffer layout declaration with per edge colors, legacy path
Definition at line 144 of file DrawMesh.hh.
◆ vertexDeclEdgeNew_
vertex buffer layout declaration with per edge colors
Definition at line 147 of file DrawMesh.hh.
◆ vertexDeclHalfedgeCol_
vertex buffer layout declaration with per halfedge colors
Definition at line 150 of file DrawMesh.hh.
◆ vertexDeclHalfedgePos_
vertex buffer layout declaration with halfedge positions only
Definition at line 153 of file DrawMesh.hh.
◆ vertices_
std::vector<char> ACG::DrawMeshBase::vertices_ |
|
protected |
final vertex buffer used for rendering raw byte array, use write__() functions for access
Definition at line 138 of file DrawMesh.hh.
The documentation for this class was generated from the following files: