Assimp  v3.1.1 (June 2014)
Assimp::ASE::Parser Class Reference

Class to parse ASE files. More...

Public Member Functions

void Parse ()
 Parses the file into the parsers internal representation. More...
 
 Parser (const char *szFile, unsigned int fileFormatDefault)
 Construct a parser from a given input file which is guaranted to be terminated with zero. More...
 

Public Attributes

bool bLastWasEndLine
 true if the last character read was an end-line character More...
 
const char * filePtr
 Pointer to current data. More...
 
unsigned int iFileFormat
 File format version. More...
 
unsigned int iFirstFrame
 First frame. More...
 
unsigned int iFrameSpeed
 Frame speed - frames per second. More...
 
unsigned int iLastFrame
 Last frame. More...
 
unsigned int iLineNumber
 Current line in the file. More...
 
unsigned int iTicksPerFrame
 Ticks per frame. More...
 
aiColor3D m_clrAmbient
 Base ambient color to be passed to all materials QNAN if none was found. More...
 
aiColor3D m_clrBackground
 background color to be passed to the viewer QNAN if none was found More...
 
std::vector< Cameram_vCameras
 List of all cameras found in the file. More...
 
std::vector< Dummym_vDummies
 List of all dummies found in the file. More...
 
std::vector< Lightm_vLights
 List of all lights found in the file. More...
 
std::vector< Materialm_vMaterials
 List of all materials found in the file. More...
 
std::vector< Meshm_vMeshes
 List of all meshes found in the file. More...
 

Detailed Description

Class to parse ASE files.

Constructor & Destructor Documentation

§ Parser()

Parser::Parser ( const char *  szFile,
unsigned int  fileFormatDefault 
)

Construct a parser from a given input file which is guaranted to be terminated with zero.

Parameters
szFileInput file
fileFormatDefaultAssumed file format version. If the file format is specified in the file the new value replaces the default value.

Member Function Documentation

§ Parse()

void Parser::Parse ( )

Parses the file into the parsers internal representation.

Member Data Documentation

§ bLastWasEndLine

bool Assimp::ASE::Parser::bLastWasEndLine

true if the last character read was an end-line character

§ filePtr

const char* Assimp::ASE::Parser::filePtr

Pointer to current data.

§ iFileFormat

unsigned int Assimp::ASE::Parser::iFileFormat

File format version.

§ iFirstFrame

unsigned int Assimp::ASE::Parser::iFirstFrame

First frame.

§ iFrameSpeed

unsigned int Assimp::ASE::Parser::iFrameSpeed

Frame speed - frames per second.

§ iLastFrame

unsigned int Assimp::ASE::Parser::iLastFrame

Last frame.

§ iLineNumber

unsigned int Assimp::ASE::Parser::iLineNumber

Current line in the file.

§ iTicksPerFrame

unsigned int Assimp::ASE::Parser::iTicksPerFrame

Ticks per frame.

§ m_clrAmbient

aiColor3D Assimp::ASE::Parser::m_clrAmbient

Base ambient color to be passed to all materials QNAN if none was found.

§ m_clrBackground

aiColor3D Assimp::ASE::Parser::m_clrBackground

background color to be passed to the viewer QNAN if none was found

§ m_vCameras

std::vector<Camera> Assimp::ASE::Parser::m_vCameras

List of all cameras found in the file.

§ m_vDummies

std::vector<Dummy> Assimp::ASE::Parser::m_vDummies

List of all dummies found in the file.

§ m_vLights

std::vector<Light> Assimp::ASE::Parser::m_vLights

List of all lights found in the file.

§ m_vMaterials

std::vector<Material> Assimp::ASE::Parser::m_vMaterials

List of all materials found in the file.

§ m_vMeshes

std::vector<Mesh> Assimp::ASE::Parser::m_vMeshes

List of all meshes found in the file.


The documentation for this class was generated from the following files: