Developer Documentation
|
Public Member Functions | |
DrawMeshFaceInput (Mesh &_mesh) | |
int | getNumFaces () const |
int | getNumIndices () const |
int | getFaceSize (const int _faceID) const |
int | getSingleFaceAttr (const int _faceID, const int _faceCorner, const int _attrID) const |
bool | getFaceAttr (const int _faceID, const int _attrID, int *_out) const |
int * | getFaceAttr (const int _faceID, const int _attrID) const |
int | getVertexAdjCount (const int _vertexID) const |
int | getVertexAdjFace (const int _vertexID, const int _k) const |
Public Attributes | |
std::vector< int > | attributeStoredPerHalfedge_ |
Private Attributes | |
Mesh & | mesh_ |
Definition at line 245 of file DrawMeshT_impl.hh.
|
inlinevirtual |
Get an index buffer of a face for a specific attribute channel.
_faceID | face index |
_attrID | attribute channel |
_out | pointer to output buffer, use getFaceSize(_faceID) to get the size needed to store face data |
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 341 of file DrawMeshT_impl.hh.
|
inlinevirtual |
Get an index buffer of a face for a specific attribute channel.
_faceID | face index |
_attrID | attribute channel |
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 362 of file DrawMeshT_impl.hh.
|
inlinevirtual |
Get number of vertices per face.
_faceID | face index |
Implements ACG::MeshCompilerFaceInput.
Definition at line 267 of file DrawMeshT_impl.hh.
|
inlinevirtual |
Get total number of indices in one attribute channel.
i.e. total number of position indices of the whole mesh
Implements ACG::MeshCompilerFaceInput.
Definition at line 262 of file DrawMeshT_impl.hh.
|
inlinevirtual |
Get a single vertex-index entry of a face.
_faceID | face index |
_faceCorner | vertex corner of the face |
_attrID | attribute channel |
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 279 of file DrawMeshT_impl.hh.
|
inlinevirtual |
Get the number of adjacent faces for a vertex.
_vertexID | vertex index |
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 370 of file DrawMeshT_impl.hh.
|
inlinevirtual |
Get the index of an adjacent face for a vertex.
_vertexID | vertex index |
_k | adjacency list entry in range [0, .., adjCount - 1] |
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 384 of file DrawMeshT_impl.hh.