Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

mslGLObject Class Reference

An internal class, used only for RenderGL. More...

#include <renderglobj.h>

List of all members.

Public Methods

 mslGLObject ()
 ~mslGLObject ()
int ReadModelFile (const string &path, const string &filename)
MSLPoint3d PointCurrentState (const MSLPoint3d &po, int mode)
list< MSLTriangleSetBoundingBoxTriangle (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 MSLVector &pos)
void SetObjectOrientation (const MSLVector &ori)
void SetObjectScale (const MSLVector &sca)
void SetBodyPositionChange (const MSLVector &posc)
void SetBodyOrientationChange (const MSLVector &oric)
void SetBodyScaleChange (const MSLVector &scac)
void PrintFace ()
void PrintMaterial ()
void PrintState ()

Public Attributes

int ID
string Name
int NumberOfMaterial
mslGLMaterialObjectMaterialLib
int NumberOfFace
mslGLFaceObjectFaceLib
float Position [3]
float Orientation [3]
float Scale [3]
float BoundingBoxMin [3]
float BoundingBoxMax [3]


Detailed Description

An internal class, used only for RenderGL.


Constructor & Destructor Documentation

mslGLObject::mslGLObject  
 

mslGLObject::~mslGLObject  
 


Member Function Documentation

void mslGLObject::AddFace const mslGLFace   face
 

void mslGLObject::AddMaterial const string &    path,
const mslGLMaterial   mat
 

void mslGLObject::Clear  
 

void mslGLObject::LoadMaterialFile const string &    path,
const string &    name
 

void mslGLObject::ObjectBoundingBoxDraw  
 

void mslGLObject::ObjectDraw  
 

void mslGLObject::ObjectHighlight  
 

void mslGLObject::ParseTexture char *    next,
mslGLMaterial   mat
 

MSLPoint3d mslGLObject::PointCurrentState const MSLPoint3d   po,
int    mode
 

void mslGLObject::PrintFace  
 

void mslGLObject::PrintMaterial  
 

void mslGLObject::PrintState  
 

int mslGLObject::ReadModelFile const string &    path,
const string &    filename
 

void mslGLObject::SetBodyOrientationChange const MSLVector   oric
 

void mslGLObject::SetBodyPositionChange const MSLVector   posc
 

void mslGLObject::SetBodyScaleChange const MSLVector   scac
 

list< MSLTriangle > mslGLObject::SetBoundingBoxTriangle int    mode
 

int mslGLObject::SetCurrentMaterialID char *    name
 

void mslGLObject::SetMaterial int    matid
 

void mslGLObject::SetObjectOrientation const MSLVector   ori
 

void mslGLObject::SetObjectPosition const MSLVector   pos
 

void mslGLObject::SetObjectScale const MSLVector   sca
 


Member Data Documentation

float mslGLObject::BoundingBoxMax[3]
 

float mslGLObject::BoundingBoxMin[3]
 

int mslGLObject::ID
 

string mslGLObject::Name
 

int mslGLObject::NumberOfFace
 

int mslGLObject::NumberOfMaterial
 

mslGLFace* mslGLObject::ObjectFaceLib
 

mslGLMaterial* mslGLObject::ObjectMaterialLib
 

float mslGLObject::Orientation[3]
 

float mslGLObject::Position[3]
 

float mslGLObject::Scale[3]
 


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


Web page maintained by Steve LaValle