gwnavruntime/utils/objfiletrianglesoup.h Source File
Go to the documentation of this file.
31 KyResult ReadObjFile(Ptr<File> objFileToRead);
34 KyUInt32 VerticesCount()
const {
return m_vertices.GetCount(); }
35 const Vec3f* Vertices()
const {
return m_vertices.GetDataPtr(); }
37 KyUInt32 IndicesCount()
const {
return m_indices.GetCount(); }
38 const KyUInt32* Indices()
const {
return m_indices.GetDataPtr(); }
40 KyUInt32 GetFacesCount()
const {
return m_facesCount; }
41 KyUInt32 GetFaceMinVertexCount()
const {
return m_faceMinVertexCount; }
42 KyUInt32 GetFaceMaxVertexCount()
const {
return m_faceMaxVertexCount; }
51 const char* GetFileName()
const {
return m_file !=
nullptr ? m_file->GetFilePath() :
nullptr; }
56 KyResult ReadFaceFast(
const char* str);
66 const char* m_endOfReadFileChunk;
67 char* m_currentPosInBuffer;
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
This class maintains the mapping between the system of coordinate axes used by the client game engine...
Definition: coordsystem.h:119
General purpose array for movable objects that require explicit construction/destruction.
Definition: kyarray.h:162
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:196
Box3f ComputeBoundingBox() const
Will browse all the vertices extracted from file and compute a bounding box from them.
Definition: objfiletrianglesoup.cpp:400
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
3d axis aligned box of 32bits floating points
Definition: box3f.h:16
A basic parser of .obj files in text format able to read triangles.
Definition: objfiletrianglesoup.h:22
Navigation return code class.
Definition: types.h:108
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
3d vector using 32bits floating points.
Definition: vec3f.h:16