|
| 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 |
|
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 |
|
template<class
Mesh>
class ACG::DrawMeshFaceInput< Mesh >
Definition at line 249 of file DrawMeshT_impl.hh.
◆ DrawMeshFaceInput()
◆ getFaceAttr() [1/2]
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 from ACG::MeshCompilerFaceInput.
Definition at line 366 of file DrawMeshT_impl.hh.
◆ getFaceAttr() [2/2]
Get an index buffer of a face for a specific attribute channel.
- Parameters
-
_faceID | face index |
_attrID | attribute channel |
_out | pointer to output buffer, use getFaceSize(_faceID) to get the size needed to store face data |
- Returns
- true if successful, false otherwise
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 345 of file DrawMeshT_impl.hh.
◆ getFaceSize()
◆ getNumFaces()
◆ getNumIndices()
◆ getSingleFaceAttr()
Get a single vertex-index entry of a face.
- Parameters
-
_faceID | face index |
_faceCorner | vertex corner of the face |
_attrID | attribute channel |
- Returns
- index-data if successful, -1 otherwise
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 283 of file DrawMeshT_impl.hh.
◆ getVertexAdjCount()
Get the number of adjacent faces for a vertex.
- Parameters
-
- Returns
- number of adjacent faces, return -1 if adjacency information unavailable
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 374 of file DrawMeshT_impl.hh.
◆ getVertexAdjFace()
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 from ACG::MeshCompilerFaceInput.
Definition at line 388 of file DrawMeshT_impl.hh.
◆ attributeStoredPerHalfedge_
◆ mesh_
The documentation for this class was generated from the following file: