iCub-main
Public Member Functions | Protected Attributes | List of all members
Model Class Reference

#include <MS3D.h>

Public Member Functions

 Model ()
 
virtual ~Model ()
 
bool loadModelData (const char *filename)
 
void draw (bool wireframed, int TextureNumber)
 
void reloadTextures ()
 

Protected Attributes

int m_numMeshes
 
Meshm_pMeshes
 
int m_numMaterials
 
Materialm_pMaterials
 
int m_numTriangles
 
Trianglem_pTriangles
 
int m_numVertices
 
Vertexm_pVertices
 

Detailed Description

Definition at line 157 of file MS3D.h.

Constructor & Destructor Documentation

◆ Model()

Model::Model ( )

Definition at line 35 of file MS3D.cpp.

◆ ~Model()

Model::~Model ( )
virtual

Definition at line 47 of file MS3D.cpp.

Member Function Documentation

◆ draw()

void Model::draw ( bool  wireframed,
int  TextureNumber 
)

Definition at line 213 of file MS3D.cpp.

◆ loadModelData()

bool Model::loadModelData ( const char *  filename)

Definition at line 86 of file MS3D.cpp.

◆ reloadTextures()

void Model::reloadTextures ( )

Definition at line 277 of file MS3D.cpp.

Member Data Documentation

◆ m_numMaterials

int Model::m_numMaterials
protected

Definition at line 176 of file MS3D.h.

◆ m_numMeshes

int Model::m_numMeshes
protected

Definition at line 173 of file MS3D.h.

◆ m_numTriangles

int Model::m_numTriangles
protected

Definition at line 179 of file MS3D.h.

◆ m_numVertices

int Model::m_numVertices
protected

Definition at line 182 of file MS3D.h.

◆ m_pMaterials

Material* Model::m_pMaterials
protected

Definition at line 177 of file MS3D.h.

◆ m_pMeshes

Mesh* Model::m_pMeshes
protected

Definition at line 174 of file MS3D.h.

◆ m_pTriangles

Triangle* Model::m_pTriangles
protected

Definition at line 180 of file MS3D.h.

◆ m_pVertices

Vertex* Model::m_pVertices
protected

Definition at line 183 of file MS3D.h.


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