DooVR
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Entity Class Referenceabstract
Inheritance diagram for Entity:
Box Cylinder Plane Sphere

Public Member Functions

char getOtype ()
 
glm::vec3 getColor ()
 
float getColorR ()
 
float getColorG ()
 
float getColorB ()
 
float * getPosition ()
 
void setPosition (float *p)
 
float * getOrientation ()
 
void setOrientation (float *o)
 
virtual void render ()=0
 

Protected Member Functions

virtual void display (ostream &os) const =0
 

Protected Attributes

char oType
 
float position [3]
 
float orientation [16]
 
glm::vec3 color
 

Friends

ostream & operator<< (ostream &os, const Entity &E)
 

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