|
| SBFReader (const char *szObjFile) |
|
int | getNumVertices () |
|
int | getNumTexcoords () |
|
int | getNumNormals () |
|
float * | getVertices () |
|
float * | getNormals () |
|
float * | getTexCoords () |
|
virtual int | getVertexAdjCount (const int _vertexID) const |
|
virtual int | getVertexAdjFace (const int _vertexID, const int _k) const |
|
virtual int | getFaceAdjCount (int _faceID) |
|
virtual int | getFaceAdjFace (int _faceID, int _k) |
|
void | writeFile (const char *szFile) |
|
| 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 * | getFaceAttr (const int _faceID, const int _attrID) const |
|
|
int | m_NumVerts |
|
int | m_NumNormals |
|
int | m_NumTexCoords |
|
std::vector< float > | m_Vertices |
|
std::vector< float > | m_Normals |
|
std::vector< float > | m_TexCoords |
|
int | m_PosAttrID |
|
int | m_NormAttrID |
|
int | m_TexCAttrID |
|
std::vector< unsigned char > | m_AdjVertexCount |
|
std::vector< int > | m_AdjVertexOffset |
|
std::vector< int > | m_AdjVertexBuf |
|
std::vector< int > | m_AdjFaceOffset |
|
std::vector< unsigned char > | m_AdjFaceCount |
|
std::vector< int > | m_AdjFaceBuf |
|
|
int | numFaces_ |
|
int | numIndices_ |
|
std::vector< int > | faceOffset_ |
|
std::vector< int > | faceSize_ |
|
std::vector< int > | faceData_ [16] |
|
Definition at line 52 of file MeshCompiler_test.cc.
◆ getVertexAdjCount()
virtual int SBFReader::getVertexAdjCount |
( |
const int |
_vertexID | ) |
const |
|
inlinevirtual |
◆ getVertexAdjFace()
virtual int SBFReader::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 from ACG::MeshCompilerFaceInput.
Definition at line 71 of file MeshCompiler_test.cc.
The documentation for this class was generated from the following file: