#include <renderglobj.h>
Public Methods | |
mslGLObject () | |
~mslGLObject () | |
int | ReadModelFile (const string& path, const string& filename) |
d3_point | PointCurrentState (const d3_point& po, int mode) |
list<polygon> | SetBoundingBoxPolygon () |
list<Triangle> | SetBoundingBoxTriangle (int mode) |
void | GenerateGeomFile (file_ostream& fout, int mode) |
void | LoadMaterialFile (const string& path, const string& name) |
int | SetCurrentMaterialID (char * name) |
void | SetMaterial (int matid) |
void | AddMaterial (const string& path, const mslGLMaterial& mat) |
void | AddFace (const mslGLFace& face) |
void | ParseTexture (char * next, mslGLMaterial * mat) |
void | Clear () |
void | ObjectDraw () |
void | ObjectBoundingBoxDraw () |
void | ObjectHighlight () |
void | SetObjectPosition (const vector& pos) |
void | SetObjectOrientation (const vector& ori) |
void | SetObjectScale (const vector& sca) |
void | SetBodyPositionChange (const vector& posc) |
void | SetBodyOrientationChange (const vector& oric) |
void | SetBodyScaleChange (const vector& scac) |
void | PrintFace () |
void | PrintMaterial () |
void | PrintState () |
Public Attributes | |
int | ID |
string | Name |
int | NumberOfMaterial |
mslGLMaterial* | ObjectMaterialLib |
int | NumberOfFace |
mslGLFace* | ObjectFaceLib |
float | Position [3] |
float | Orientation [3] |
float | Scale [3] |
float | BoundingBoxMin [3] |
float | BoundingBoxMax [3] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|