#include </msg/src/nodes/shape.h>
Class diagram for MSG::Shape:
Public Members | |||
Shape (char* inputFile) | |||
virtual | ~Shape () | ||
void | performTransformations (std::vector<TransformGroup*> transforms) | ||
void | draw () | ||
virtual void | render (std::vector<ActiveLight*>* &activelights, std::vector<TransformGroup*> transforms) | ||
virtual bool | handleEvent (Event* event) | ||
Protected Members | |||
bool | solids | ||
int | numV | ||
GLfloat* | coords | ||
int | numP | ||
int* | vertsPerPoly | ||
GLfloat* | normals | ||
int | indexxSize | ||
GLuint* | indexx | ||
Friends | |||
ostream& | operator<< ( ostream& out, const Shape& shape ) |
Shape nodes have one constructor only that loads a vpl file The geometry is loaded such that it is easy to parse it and to issue gl commands
MSG::Shape::Shape (char * inputFilename) |
MSG::Shape::~Shape () [virtual]
|
void MSG::Shape::performTransformations (std::vector<TransformGroup *> transforms) |
void MSG::Shape::draw () |
void MSG::Shape::render (std::vector<ActiveLight *>*& activelights, std::vector<TransformGroup *> transforms) [virtual]
|
Reimplemented from MSG::Node.
bool MSG::Shape::handleEvent (Event * event) [virtual]
|
Reimplemented from MSG::Node.
ostream& operator<< (ostream & out, const Shape & shape) [friend]
|
bool MSG::Shape::solids [protected]
|
int MSG::Shape::numV [protected]
|
GLfloat* MSG::Shape::coords [protected]
|
int MSG::Shape::numP [protected]
|
int* MSG::Shape::vertsPerPoly [protected]
|
GLfloat* MSG::Shape::normals [protected]
|
int MSG::Shape::indexxSize [protected]
|
GLuint* MSG::Shape::indexx [protected]
|