|
| | 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 |
| |
Definition at line 52 of file MeshCompiler_test.cc.
◆ SBFReader()
| SBFReader::SBFReader |
( |
const char * |
szObjFile | ) |
|
|
explicit |
◆ ~SBFReader()
| virtual SBFReader::~SBFReader |
( |
void |
| ) |
|
|
inlinevirtual |
◆ getFaceAdjCount()
| virtual int SBFReader::getFaceAdjCount |
( |
int |
_faceID | ) |
|
|
inlinevirtual |
◆ getFaceAdjFace()
| virtual int SBFReader::getFaceAdjFace |
( |
int |
_faceID, |
|
|
int |
_k |
|
) |
| |
|
inlinevirtual |
◆ getNormals()
| float * SBFReader::getNormals |
( |
| ) |
|
|
inline |
◆ getNumNormals()
| int SBFReader::getNumNormals |
( |
| ) |
|
|
inline |
◆ getNumTexcoords()
| int SBFReader::getNumTexcoords |
( |
| ) |
|
|
inline |
◆ getNumVertices()
| int SBFReader::getNumVertices |
( |
| ) |
|
|
inline |
◆ getTexCoords()
| float * SBFReader::getTexCoords |
( |
| ) |
|
|
inline |
◆ 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.
◆ getVertices()
| float * SBFReader::getVertices |
( |
| ) |
|
|
inline |
◆ m_AdjFaceBuf
| std::vector<int> SBFReader::m_AdjFaceBuf |
|
private |
◆ m_AdjFaceCount
| std::vector<unsigned char> SBFReader::m_AdjFaceCount |
|
private |
◆ m_AdjFaceOffset
| std::vector<int> SBFReader::m_AdjFaceOffset |
|
private |
◆ m_AdjVertexBuf
| std::vector<int> SBFReader::m_AdjVertexBuf |
|
private |
◆ m_AdjVertexCount
| std::vector<unsigned char> SBFReader::m_AdjVertexCount |
|
private |
◆ m_AdjVertexOffset
| std::vector<int> SBFReader::m_AdjVertexOffset |
|
private |
◆ m_Normals
| std::vector<float> SBFReader::m_Normals |
|
private |
◆ m_NormAttrID
| int SBFReader::m_NormAttrID |
|
private |
◆ m_NumNormals
| int SBFReader::m_NumNormals |
|
private |
◆ m_NumTexCoords
| int SBFReader::m_NumTexCoords |
|
private |
◆ m_NumVerts
| int SBFReader::m_NumVerts |
|
private |
◆ m_PosAttrID
| int SBFReader::m_PosAttrID |
|
private |
◆ m_TexCAttrID
| int SBFReader::m_TexCAttrID |
|
private |
◆ m_TexCoords
| std::vector<float> SBFReader::m_TexCoords |
|
private |
◆ m_Vertices
| std::vector<float> SBFReader::m_Vertices |
|
private |
The documentation for this class was generated from the following file: