2 #include "XFileDataObject.h" 35 XFile::Scene* GetImportedData(
bool bGiveupDataOwnerhip=
false);
41 void ParseDataObjectTemplate();
44 void ParseDataObjectTransformationMatrix(
Matrix4& pMatrix);
46 void ParseDataObjectMeshNormals(
XFile::Mesh* pMesh);
47 void ParseDataObjectMeshTextureCoords(
XFile::Mesh* pMesh);
48 void ParseDataObjectMeshVertexColors(
XFile::Mesh* pMesh);
49 void ParseDataObjectMeshMaterialList(
XFile::Mesh* pMesh);
51 void ParseDataObjectTextureFilename(std::string& pName);
53 bool ParseUnknownDataObject();
56 void FindNextNoneWhiteSpace();
59 std::string GetNextToken();
64 void readHeadOfDataObject(std::string* poName = NULL);
67 void CheckForClosingBrace();
70 void CheckForSemicolon();
73 void CheckForSeparator();
76 void TestForSeparator();
79 void GetNextTokenAsString(std::string& poString);
81 void ReadUntilEndOfLine();
82 void ReadToEndOfDataObject();
85 uint32 ReadBinDWord();
94 void ReadCharArray(
char* sOutput,
int nCount);
97 void ThrowException(
const std::string& pText);
109 uint32 mBinaryNumCount;
Helper structure analogue to aiScene.
Definition: XFileHelper.h:123
different physics engine has different winding order.
Definition: EventBinding.h:32
Definition: minilua.c:352
XFile::Scene * mScene
Imported data.
Definition: XFileParser.h:118
Standard 3-dimensional vector.
Definition: ParaVector3.h:16
The XFileParser reads a XFile either in text or binary form and builds a temporary data structure out...
Definition: XFileParser.h:19
bool mIsBinaryFormat
true if the file is in binary, false if it's in text form
Definition: XFileParser.h:106
Standard 2-dimensional vector.
Definition: ParaVector2.h:16
data object in binary format
Definition: XFileDataObject.h:10
Class encapsulating a standard 4x4 homogeneous matrix.
Definition: ParaMatrix4.h:23
Helper structure to represent an XFile mesh.
Definition: XFileHelper.h:82
Helper structure to represent a XFile frame.
Definition: XFileHelper.h:102
uint32 mMinorVersion
version numbers
Definition: XFileParser.h:105
A linear, 32-bit/component floating point RGBA color.
Definition: ParaColor.h:12
uint32 mBinaryFloatSize
float size in bytes, either 4 or 8
Definition: XFileParser.h:107
uint32 mLineNumber
Line number when reading in text format.
Definition: XFileParser.h:115
Helper structure representing a XFile material.
Definition: XFileHelper.h:51