Developer Documentation
|
Public Member Functions | |
virtual int | getNumFaces () const =0 |
virtual int | getNumIndices () const =0 |
virtual int | getFaceSize (const int _faceID) const =0 |
virtual int | getSingleFaceAttr (const int _faceID, const int _faceCorner, const int _attrID) const |
virtual bool | getFaceAttr (const int _faceID, const int _attrID, int *_out) const |
virtual int * | getFaceAttr (const int _faceID, const int _attrID) const |
virtual int | getVertexAdjCount (const int _vertexID) const |
virtual int | getVertexAdjFace (const int _vertexID, const int _k) const |
Definition at line 134 of file MeshCompiler.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 in ACG::DrawMeshFaceInput< Mesh >, and ACG::MeshCompilerDefaultFaceInput.
Definition at line 171 of file MeshCompiler.hh.
|
inlinevirtual |
Get an index buffer of a face for a specific attribute channel.
_faceID | face index |
_attrID | attribute channel |
Reimplemented in ACG::DrawMeshFaceInput< Mesh >.
Definition at line 178 of file MeshCompiler.hh.
|
pure virtual |
Get number of vertices per face.
_faceID | face index |
Implemented in ACG::DrawMeshFaceInput< Mesh >, and ACG::MeshCompilerDefaultFaceInput.
|
pure virtual |
Get total number of indices in one attribute channel.
i.e. total number of position indices of the whole mesh
Implemented in ACG::DrawMeshFaceInput< Mesh >, and ACG::MeshCompilerDefaultFaceInput.
|
virtual |
Get a single vertex-index entry of a face.
_faceID | face index |
_faceCorner | vertex corner of the face |
_attrID | attribute channel |
Reimplemented in ACG::DrawMeshFaceInput< Mesh >, and ACG::MeshCompilerDefaultFaceInput.
Definition at line 4194 of file MeshCompiler.cc.
|
inlinevirtual |
Get the number of adjacent faces for a vertex.
_vertexID | vertex index |
Reimplemented in ACG::DrawMeshFaceInput< Mesh >, and SBFReader.
Definition at line 188 of file MeshCompiler.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 in ACG::DrawMeshFaceInput< Mesh >, and SBFReader.
Definition at line 195 of file MeshCompiler.hh.