Developer Documentation
|
Public Member Functions | |
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 | 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 |
Private Attributes | |
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 |
Additional Inherited Members | |
![]() | |
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.
|
explicit |
Definition at line 116 of file MeshCompiler_test.cc.
|
inlinevirtual |
Definition at line 56 of file MeshCompiler_test.cc.
|
inlinevirtual |
Definition at line 76 of file MeshCompiler_test.cc.
|
inlinevirtual |
Definition at line 81 of file MeshCompiler_test.cc.
|
inline |
Definition at line 63 of file MeshCompiler_test.cc.
|
inline |
Definition at line 60 of file MeshCompiler_test.cc.
|
inline |
Definition at line 59 of file MeshCompiler_test.cc.
|
inline |
Definition at line 58 of file MeshCompiler_test.cc.
|
inline |
Definition at line 64 of file MeshCompiler_test.cc.
|
inlinevirtual |
Get the number of adjacent faces for a vertex.
_vertexID | vertex index |
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 66 of file MeshCompiler_test.cc.
|
inlinevirtual |
Get the index of an adjacent face for a vertex.
_vertexID | vertex index |
_k | adjacency list entry in range [0, .., adjCount - 1] |
Reimplemented from ACG::MeshCompilerFaceInput.
Definition at line 71 of file MeshCompiler_test.cc.
|
inline |
Definition at line 62 of file MeshCompiler_test.cc.
|
private |
Definition at line 113 of file MeshCompiler_test.cc.
|
private |
Definition at line 112 of file MeshCompiler_test.cc.
|
private |
Definition at line 111 of file MeshCompiler_test.cc.
|
private |
Definition at line 109 of file MeshCompiler_test.cc.
|
private |
Definition at line 107 of file MeshCompiler_test.cc.
|
private |
Definition at line 108 of file MeshCompiler_test.cc.
|
private |
Definition at line 97 of file MeshCompiler_test.cc.
|
private |
Definition at line 101 of file MeshCompiler_test.cc.
|
private |
Definition at line 92 of file MeshCompiler_test.cc.
|
private |
Definition at line 93 of file MeshCompiler_test.cc.
|
private |
Definition at line 91 of file MeshCompiler_test.cc.
|
private |
Definition at line 100 of file MeshCompiler_test.cc.
|
private |
Definition at line 102 of file MeshCompiler_test.cc.
|
private |
Definition at line 98 of file MeshCompiler_test.cc.
|
private |
Definition at line 96 of file MeshCompiler_test.cc.