|
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 128 of file MeshCompiler.hh.
◆ MeshCompilerFaceInput()
ACG::MeshCompilerFaceInput::MeshCompilerFaceInput |
( |
| ) |
|
|
inline |
◆ ~MeshCompilerFaceInput()
virtual ACG::MeshCompilerFaceInput::~MeshCompilerFaceInput |
( |
| ) |
|
|
inlinevirtual |
◆ getFaceAttr() [1/2]
virtual int * ACG::MeshCompilerFaceInput::getFaceAttr |
( |
const int |
_faceID, |
|
|
const int |
_attrID |
|
) |
| const |
|
inlinevirtual |
Get an index buffer of a face for a specific attribute channel.
- Parameters
-
_faceID | face index |
_attrID | attribute channel |
- Returns
- array data of size "getFaceSize(_faceID)", allowed to return 0 when array data not permanently available in memory
Reimplemented in ACG::DrawMeshFaceInput< Mesh >.
Definition at line 172 of file MeshCompiler.hh.
◆ getFaceAttr() [2/2]
virtual bool ACG::MeshCompilerFaceInput::getFaceAttr |
( |
const int |
_faceID, |
|
|
const int |
_attrID, |
|
|
int * |
_out |
|
) |
| const |
|
inlinevirtual |
◆ getFaceSize()
virtual int ACG::MeshCompilerFaceInput::getFaceSize |
( |
const int |
_faceID | ) |
const |
|
pure virtual |
◆ getNumIndices()
virtual int ACG::MeshCompilerFaceInput::getNumIndices |
( |
| ) |
const |
|
pure virtual |
◆ getSingleFaceAttr()
int ACG::MeshCompilerFaceInput::getSingleFaceAttr |
( |
const int |
_faceID, |
|
|
const int |
_faceCorner, |
|
|
const int |
_attrID |
|
) |
| const |
|
virtual |
◆ getVertexAdjCount()
virtual int ACG::MeshCompilerFaceInput::getVertexAdjCount |
( |
const int |
_vertexID | ) |
const |
|
inlinevirtual |
◆ getVertexAdjFace()
virtual int ACG::MeshCompilerFaceInput::getVertexAdjFace |
( |
const int |
_vertexID, |
|
|
const int |
_k |
|
) |
| const |
|
inlinevirtual |
Get the index of an adjacent face for a vertex.
- Parameters
-
_vertexID | vertex index |
_k | adjacency list entry in range [0, .., adjCount - 1] |
- Returns
- face id of adjacent face, return -1 if adjacency information is available
Reimplemented in ACG::DrawMeshFaceInput< Mesh >, and SBFReader.
Definition at line 189 of file MeshCompiler.hh.
The documentation for this class was generated from the following files: