|
| MeshCompilerDefaultFaceInput (int _numFaces, int _numIndices) |
|
int | getNumFaces () const override |
|
int | getNumIndices () const override |
|
int | getFaceSize (const int _faceID) const override |
|
int | getSingleFaceAttr (const int _faceID, const int _faceCorner, const int _attrID) const override |
|
bool | getFaceAttr (const int _faceID, const int _attrID, int *_out) const override |
|
void | dbgWriteToObjFile (FILE *_file, int _posAttrID=0, int _normalAttrID=-1, int _texcAttrID=-1) |
|
void | setFaceData (int _faceID, int _size, int *_data, int _attrID=0) |
|
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 193 of file MeshCompiler.hh.
◆ MeshCompilerDefaultFaceInput()
ACG::MeshCompilerDefaultFaceInput::MeshCompilerDefaultFaceInput |
( |
int |
_numFaces, |
|
|
int |
_numIndices |
|
) |
| |
◆ ~MeshCompilerDefaultFaceInput()
virtual ACG::MeshCompilerDefaultFaceInput::~MeshCompilerDefaultFaceInput |
( |
| ) |
|
|
inlinevirtual |
◆ dbgWriteToObjFile()
void ACG::MeshCompilerDefaultFaceInput::dbgWriteToObjFile |
( |
FILE * |
_file, |
|
|
int |
_posAttrID = 0 , |
|
|
int |
_normalAttrID = -1 , |
|
|
int |
_texcAttrID = -1 |
|
) |
| |
◆ getFaceAttr()
bool ACG::MeshCompilerDefaultFaceInput::getFaceAttr |
( |
const int |
_faceID, |
|
|
const int |
_attrID, |
|
|
int * |
_out |
|
) |
| const |
|
overridevirtual |
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 4117 of file MeshCompiler.cc.
◆ getFaceSize()
int ACG::MeshCompilerDefaultFaceInput::getFaceSize |
( |
const int |
_faceID | ) |
const |
|
inlineoverridevirtual |
◆ getNumFaces()
int ACG::MeshCompilerDefaultFaceInput::getNumFaces |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getNumIndices()
int ACG::MeshCompilerDefaultFaceInput::getNumIndices |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getSingleFaceAttr()
int ACG::MeshCompilerDefaultFaceInput::getSingleFaceAttr |
( |
const int |
_faceID, |
|
|
const int |
_faceCorner, |
|
|
const int |
_attrID |
|
) |
| const |
|
overridevirtual |
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 4128 of file MeshCompiler.cc.
◆ setFaceData()
void ACG::MeshCompilerDefaultFaceInput::setFaceData |
( |
int |
_faceID, |
|
|
int |
_size, |
|
|
int * |
_data, |
|
|
int |
_attrID = 0 |
|
) |
| |
◆ faceData_
std::vector<int> ACG::MeshCompilerDefaultFaceInput::faceData_[16] |
|
protected |
◆ faceOffset_
std::vector<int> ACG::MeshCompilerDefaultFaceInput::faceOffset_ |
|
protected |
◆ faceSize_
std::vector<int> ACG::MeshCompilerDefaultFaceInput::faceSize_ |
|
protected |
◆ numFaces_
int ACG::MeshCompilerDefaultFaceInput::numFaces_ |
|
protected |
◆ numIndices_
int ACG::MeshCompilerDefaultFaceInput::numIndices_ |
|
protected |
The documentation for this class was generated from the following files: