 
    #include <mms3dscene.h>
| Public Member Functions | |
| MMS3DScene () | |
| bool | setPrimitives (string id, MMS_VERTEX_ARRAY *vertices, MMS_VERTEX_ARRAY *normals, MMS_VERTEX_ARRAY *texcoords, MMS_INDEX_ARRAY *indices) | 
| void | getMeshArrays (MMS_VERTEX_ARRAY ***varrays, MMS_INDEX_ARRAY ***iarrays) | 
| void | getObjects (MMS3D_OBJECT ***objects) | 
| void | setBaseMatrix (MMSMatrix matrix) | 
| void | reset () | 
| bool | scale (float sx, float sy, float sz) | 
| bool | translate (float tx, float ty, float tz) | 
| bool | rotate (float angle, float x, float y, float z) | 
| bool | genMatrices () | 
| Private Types | |
| enum | OBJ { OBJ_NOTSET = -1, OBJ_SIZE = 256 } | 
| Private Member Functions | |
| int | newObject (MMS3DObject *object) | 
| MMS3D_OBJECT * | getObject (int object) | 
| bool | getResultMatrix (MMSMatrix result) | 
| Private Attributes | |
| MMS3D_OBJECT | objbuf [OBJ_SIZE] | 
| objects | |
| MMS3D_OBJECT * | objects [OBJ_SIZE+1] | 
| int | objects_cnt | 
| MMS3DPolygonMesh | mms3dpm | 
| MMS3DMatrixStack | matrixStack | 
| stores base matrix and matrix operations | |
| vector< MMS3DObject * > | children | 
| children objects | |
| Friends | |
| class | MMS3DObject | 
| class | MMS3DRectangle | 
| class | MMS3DSphere | 
| class | MMS3DTorus | 
| class | MMS3DCylinder | 
| class | MMS3DPrimitives | 
Definition at line 39 of file mms3dscene.h.
| enum MMS3DScene::OBJ  [private] | 
| MMS3DScene::MMS3DScene | ( | ) | 
Definition at line 36 of file mms3dscene.cpp.
| int MMS3DScene::newObject | ( | MMS3DObject * | object | ) |  [private] | 
Definition at line 41 of file mms3dscene.cpp.
| MMS3D_OBJECT * MMS3DScene::getObject | ( | int | object | ) |  [private] | 
Definition at line 69 of file mms3dscene.cpp.
| bool MMS3DScene::getResultMatrix | ( | MMSMatrix | result | ) |  [private] | 
Definition at line 73 of file mms3dscene.cpp.
| bool MMS3DScene::setPrimitives | ( | string | id, | |
| MMS_VERTEX_ARRAY * | vertices, | |||
| MMS_VERTEX_ARRAY * | normals, | |||
| MMS_VERTEX_ARRAY * | texcoords, | |||
| MMS_INDEX_ARRAY * | indices | |||
| ) | 
Definition at line 77 of file mms3dscene.cpp.
| void MMS3DScene::getMeshArrays | ( | MMS_VERTEX_ARRAY *** | varrays, | |
| MMS_INDEX_ARRAY *** | iarrays | |||
| ) | 
Definition at line 82 of file mms3dscene.cpp.
| void MMS3DScene::getObjects | ( | MMS3D_OBJECT *** | objects | ) | 
Definition at line 86 of file mms3dscene.cpp.
| void MMS3DScene::setBaseMatrix | ( | MMSMatrix | matrix | ) | 
Definition at line 90 of file mms3dscene.cpp.
| void MMS3DScene::reset | ( | ) | 
Definition at line 94 of file mms3dscene.cpp.
| bool MMS3DScene::scale | ( | float | sx, | |
| float | sy, | |||
| float | sz | |||
| ) | 
Definition at line 98 of file mms3dscene.cpp.
| bool MMS3DScene::translate | ( | float | tx, | |
| float | ty, | |||
| float | tz | |||
| ) | 
Definition at line 102 of file mms3dscene.cpp.
| bool MMS3DScene::rotate | ( | float | angle, | |
| float | x, | |||
| float | y, | |||
| float | z | |||
| ) | 
Definition at line 106 of file mms3dscene.cpp.
| bool MMS3DScene::genMatrices | ( | ) | 
Definition at line 110 of file mms3dscene.cpp.
| friend class MMS3DObject  [friend] | 
Definition at line 90 of file mms3dscene.h.
| friend class MMS3DRectangle  [friend] | 
Definition at line 91 of file mms3dscene.h.
| friend class MMS3DSphere  [friend] | 
Definition at line 92 of file mms3dscene.h.
| friend class MMS3DTorus  [friend] | 
Definition at line 93 of file mms3dscene.h.
| friend class MMS3DCylinder  [friend] | 
Definition at line 94 of file mms3dscene.h.
| friend class MMS3DPrimitives  [friend] | 
Definition at line 95 of file mms3dscene.h.
| MMS3D_OBJECT MMS3DScene::objbuf[OBJ_SIZE]  [private] | 
| MMS3D_OBJECT* MMS3DScene::objects[OBJ_SIZE+1]  [private] | 
Definition at line 49 of file mms3dscene.h.
| int MMS3DScene::objects_cnt  [private] | 
Definition at line 50 of file mms3dscene.h.
| MMS3DPolygonMesh MMS3DScene::mms3dpm  [private] | 
Definition at line 52 of file mms3dscene.h.
| MMS3DMatrixStack MMS3DScene::matrixStack  [private] | 
| vector<MMS3DObject*> MMS3DScene::children  [private] | 
