Assimp  v3.1.1 (June 2014)
Assimp::ObjFile::Model Struct Reference

Data structure to store all obj-specific model datas. More...

Public Types

typedef std::map< std::string, std::vector< unsigned int > *>::const_iterator ConstGroupMapIt
 
typedef std::map< std::string, std::vector< unsigned int > *> GroupMap
 
typedef std::map< std::string, std::vector< unsigned int > *>::iterator GroupMapIt
 

Public Member Functions

 Model ()
 The default class constructor. More...
 
 ~Model ()
 The class destructor. More...
 

Public Attributes

std::vector< std::string > m_GroupLib
 Vector with all generated group. More...
 
GroupMap m_Groups
 Group map. More...
 
std::vector< std::string > m_MaterialLib
 Vector with all generated materials. More...
 
std::map< std::string, Material * > m_MaterialMap
 Material map. More...
 
std::vector< Mesh * > m_Meshes
 Vector with stored meshes. More...
 
std::string m_ModelName
 Model name. More...
 
std::vector< aiVector3Dm_Normals
 vector with all generated normals More...
 
std::vector< Object * > m_Objects
 List ob assigned objects. More...
 
ObjFile::Objectm_pCurrent
 Pointer to current object. More...
 
ObjFile::Materialm_pCurrentMaterial
 Pointer to current material. More...
 
Meshm_pCurrentMesh
 Current mesh instance. More...
 
ObjFile::Materialm_pDefaultMaterial
 Pointer to default material. More...
 
std::vector< unsigned int > * m_pGroupFaceIDs
 Group to face id assignment. More...
 
std::string m_strActiveGroup
 Active group. More...
 
std::vector< aiVector3Dm_TextureCoord
 Vector with generated texture coordinates. More...
 
std::vector< aiVector3Dm_VertexColors
 vector with all vertex colors More...
 
std::vector< aiVector3Dm_Vertices
 Vector with all generated vertices. More...
 

Detailed Description

Data structure to store all obj-specific model datas.

Member Typedef Documentation

§ ConstGroupMapIt

typedef std::map<std::string, std::vector<unsigned int>* >::const_iterator Assimp::ObjFile::Model::ConstGroupMapIt

§ GroupMap

typedef std::map<std::string, std::vector<unsigned int>* > Assimp::ObjFile::Model::GroupMap

§ GroupMapIt

typedef std::map<std::string, std::vector<unsigned int>* >::iterator Assimp::ObjFile::Model::GroupMapIt

Constructor & Destructor Documentation

§ Model()

Assimp::ObjFile::Model::Model ( )
inline

The default class constructor.

§ ~Model()

Assimp::ObjFile::Model::~Model ( )
inline

The class destructor.

Member Data Documentation

§ m_GroupLib

std::vector<std::string> Assimp::ObjFile::Model::m_GroupLib

Vector with all generated group.

§ m_Groups

GroupMap Assimp::ObjFile::Model::m_Groups

Group map.

§ m_MaterialLib

std::vector<std::string> Assimp::ObjFile::Model::m_MaterialLib

Vector with all generated materials.

§ m_MaterialMap

std::map<std::string, Material*> Assimp::ObjFile::Model::m_MaterialMap

Material map.

§ m_Meshes

std::vector<Mesh*> Assimp::ObjFile::Model::m_Meshes

Vector with stored meshes.

§ m_ModelName

std::string Assimp::ObjFile::Model::m_ModelName

Model name.

§ m_Normals

std::vector<aiVector3D> Assimp::ObjFile::Model::m_Normals

vector with all generated normals

§ m_Objects

std::vector<Object*> Assimp::ObjFile::Model::m_Objects

List ob assigned objects.

§ m_pCurrent

ObjFile::Object* Assimp::ObjFile::Model::m_pCurrent

Pointer to current object.

§ m_pCurrentMaterial

ObjFile::Material* Assimp::ObjFile::Model::m_pCurrentMaterial

Pointer to current material.

§ m_pCurrentMesh

Mesh* Assimp::ObjFile::Model::m_pCurrentMesh

Current mesh instance.

§ m_pDefaultMaterial

ObjFile::Material* Assimp::ObjFile::Model::m_pDefaultMaterial

Pointer to default material.

§ m_pGroupFaceIDs

std::vector<unsigned int>* Assimp::ObjFile::Model::m_pGroupFaceIDs

Group to face id assignment.

§ m_strActiveGroup

std::string Assimp::ObjFile::Model::m_strActiveGroup

Active group.

§ m_TextureCoord

std::vector<aiVector3D> Assimp::ObjFile::Model::m_TextureCoord

Vector with generated texture coordinates.

§ m_VertexColors

std::vector<aiVector3D> Assimp::ObjFile::Model::m_VertexColors

vector with all vertex colors

§ m_Vertices

std::vector<aiVector3D> Assimp::ObjFile::Model::m_Vertices

Vector with all generated vertices.


The documentation for this struct was generated from the following file: