#include <drawableobject.h>
Inheritance diagram for DrawableObject:

Public Member Functions | |
| DrawableObject () | |
| Default Contrtuctor. | |
| virtual | ~DrawableObject () |
| Default Destructor. | |
| virtual void | matrixOps (void *p)=0 |
| A pure virtual function to pass drawing matrix options. | |
| virtual void | draw (void *p)=0 |
| A pure virtual function to draw the object. | |
| virtual Position * | getPosition ()=0 |
| A pure virtual function to get a pointer to the position object. | |
| GLfloat * | getColor () |
| a function that returns the drawable object's color | |
| void | setColor (GLfloat *newColor) |
| a function to set the color of the object | |
| void | setCurrentColor (GLfloat *newColor) |
| a function to set the current color of the object | |
| int | getId () |
| a function to get the ID of the object | |
| void | setId (int newId) |
| a function to set the ID of the object | |
| int | getIndex () |
| a function to get the index of the drawable object | |
| void | setIndex (int newIndex) |
| a function to set the index of the drawable object | |
Protected Attributes | |
| Position * | thePosition |
| a pointer to the position of the drawable object | |
| GLfloat | color [4] |
| the color of the Drawable Object | |
| GLfloat | currentColor [4] |
| the current color of the Drawable Object | |
| int | id |
| The identification number of the Drawable Object. | |
| int | index |
| The index of the Drawable object of the container it currently resides in. | |
Drawable object is a base class which allows for objects to be drawn on the screen
|
|
Default Contrtuctor. the default constructor which initalizes most things to 0 |
|
|
Default Destructor. the default destructor which deletes the left over stuff |
|
|
A pure virtual function to draw the object.
Implemented in SelectionCube, DirTree, and FileTree. |
|
|
a function that returns the drawable object's color
|
|
|
a function to get the ID of the object
|
|
|
a function to get the index of the drawable object
|
|
|
A pure virtual function to get a pointer to the position object.
Implemented in SelectionCube, DirTree, FileTree, and NickTree. |
|
|
A pure virtual function to pass drawing matrix options.
Implemented in SelectionCube, DirTree, and FileTree. |
|
|
a function to set the color of the object
|
|
|
a function to set the current color of the object
|
|
|
a function to set the ID of the object
|
|
|
a function to set the index of the drawable object
|
|
|
the color of the Drawable Object
|
|
|
the current color of the Drawable Object
|
|
|
The identification number of the Drawable Object.
|
|
|
The index of the Drawable object of the container it currently resides in.
|
|
|
a pointer to the position of the drawable object
|
1.3.6