Assimp  v3.1.1 (June 2014)
Assimp::IrrlichtBase Class Reference

Base class for the Irr and IrrMesh importers. More...

Inherited by Assimp::IRRImporter, and Assimp::IRRMeshImporter.

Classes

struct  Property
 Data structure for a simple name-value property. More...
 

Protected Types

typedef Property< bool > BoolProperty
 
typedef Property< float > FloatProperty
 
typedef Property< uint32_tHexProperty
 
typedef Property< int > IntProperty
 
typedef Property< std::string > StringProperty
 
typedef Property< aiVector3DVectorProperty
 

Protected Member Functions

aiMaterialParseMaterial (unsigned int &matFlags)
 Parse a material description from the XML. More...
 
void ReadBoolProperty (BoolProperty &out)
 
void ReadFloatProperty (FloatProperty &out)
 
void ReadHexProperty (HexProperty &out)
 Read a property of the specified type from the current XML element. More...
 
void ReadIntProperty (IntProperty &out)
 
void ReadStringProperty (StringProperty &out)
 
void ReadVectorProperty (VectorProperty &out)
 

Protected Attributes

irr::io::IrrXMLReader * reader
 XML reader instance. More...
 

Detailed Description

Base class for the Irr and IrrMesh importers.

Declares some irrlight-related xml parsing utilities and provides tools to load materials from IRR and IRRMESH files.

Member Typedef Documentation

§ BoolProperty

§ FloatProperty

§ HexProperty

§ IntProperty

§ StringProperty

typedef Property<std::string> Assimp::IrrlichtBase::StringProperty
protected

§ VectorProperty

Member Function Documentation

§ ParseMaterial()

aiMaterial * IrrlichtBase::ParseMaterial ( unsigned int &  matFlags)
protected

Parse a material description from the XML.

Returns
The created material
Parameters
matFlagsReceives AI_IRRMESH_MAT_XX flags

§ ReadBoolProperty()

void IrrlichtBase::ReadBoolProperty ( BoolProperty out)
protected

§ ReadFloatProperty()

void IrrlichtBase::ReadFloatProperty ( FloatProperty out)
protected

§ ReadHexProperty()

void IrrlichtBase::ReadHexProperty ( HexProperty out)
protected

Read a property of the specified type from the current XML element.

Parameters
outRecives output data

§ ReadIntProperty()

void IrrlichtBase::ReadIntProperty ( IntProperty out)
protected

§ ReadStringProperty()

void IrrlichtBase::ReadStringProperty ( StringProperty out)
protected

§ ReadVectorProperty()

void IrrlichtBase::ReadVectorProperty ( VectorProperty out)
protected

Member Data Documentation

§ reader

irr::io::IrrXMLReader* Assimp::IrrlichtBase::reader
protected

XML reader instance.


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