#include <position.h>
Inheritance diagram for Position:

Public Member Functions | |
| Position () | |
| The default constructor. | |
| virtual | ~Position () |
| the default destructor | |
| virtual void | calculatePosition ()=0 |
| a virtua; function to calulate the true position of the object | |
| virtual void | updateRelations ()=0 |
| the virtual function is used to update the positions relations | |
| int | getX () |
| this function returns the x value stored in the object | |
| int | getY () |
| this function returns the y value stored in the object | |
| int | getZ () |
| this function returns the z value stored in the oject | |
| virtual GLfloat | getTrueX ()=0 |
| a virtual function to calulate and return the true x coordinate value | |
| virtual GLfloat | getTrueY ()=0 |
| a virtual function to calulate and return the true y coordinate value | |
| virtual GLfloat | getTrueZ ()=0 |
| a virtual function to calulate and return the true z coordinate value | |
| int | getSizeX () |
| a function to return the geometric size of the object | |
| int | getSizeY () |
| a function to return the geometric size of the object | |
| int | getSizeZ () |
| a function to return the geometric size of the object | |
| virtual int | getTrueSizeX ()=0 |
| virtual int | getTrueSizeY ()=0 |
| virtual int | getTrueSizeZ ()=0 |
| int | getMinSizeX () |
| int | getMinSizeY () |
| int | getMinSizeZ () |
| virtual int | getMinTrueSizeX ()=0 |
| virtual int | getMinTrueSizeY ()=0 |
| virtual int | getMinTrueSizeZ ()=0 |
| int | getMaxSizeX () |
| int | getMaxSizeY () |
| int | getMaxSizeZ () |
| virtual int | getMaxTrueSizeX ()=0 |
| virtual int | getMaxTrueSizeY ()=0 |
| virtual int | getMaxTrueSizeZ ()=0 |
Protected Attributes | |
| GLfloat | location [3] |
| this is the location or coordinates of the object | |
| Position * | parentLoc |
| This is a pointer to the parent position object of this position. | |
| Position *** | relatives |
| this is meant to be allocated into a 2 dimensional array of position pointers | |
| int * | numRelatives |
| this is meant to be allocated into an arrau of integers representing the sizes of the various dimentions of the relatives variable | |
| int | size [3][3] |
| This 2 dimentional array is meant to represent the min and max sizes of each dimention / current definition of min and max sucks and needs to be worked on. | |
This is the Base class for all of ther position objects. This object contains the x, y, and z coordinates of the object that is a part of. It also automatically calculates its position based on it's relation to other position objects
|
|
The default constructor. the default constructor sets most things to 0 |
|
|
the default destructor the default destructor deletes most allocated things |
|
|
a virtua; function to calulate the true position of the object this pure virtual function serves are a place holder for a;; child classes version of calulate position
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
|
|
|
|
|
|
|
|
|
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
|
|
|
|
|
|
|
|
|
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
a function to return the geometric size of the object this function returns the overall geometric size in the x direction
|
|
|
a function to return the geometric size of the object this function returns the overall geometric size in the y direction
|
|
|
a function to return the geometric size of the object this function returns the overall geometric size in the z direction
|
|
|
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
a virtual function to calulate and return the true x coordinate value this virtual function allows for each decendant of the position class the ability to calulate their x coordinate in their own way
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
a virtual function to calulate and return the true y coordinate value this virtual function allows for each decendant of the position class the ability to calulate their y coordinate in their own way
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
a virtual function to calulate and return the true z coordinate value this virtual function allows for each decendant of the position class the ability to calulate their z coordinate in their own way
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
this function returns the x value stored in the object this function will return the actual value of the x coordinate / position value contained in the object
|
|
|
this function returns the y value stored in the object this function will return the actual value of the y coordinate / position value contained in the object
|
|
|
this function returns the z value stored in the oject this function will return the actual value of the z coordinate / position value contained in the object
|
|
|
the virtual function is used to update the positions relations This pure virtual function serves as a place holder for chold class versions for updating relations
Implemented in PositionDir, PositionDummy, PositionFile, and PositionTrans. |
|
|
this is the location or coordinates of the object
|
|
|
this is meant to be allocated into an arrau of integers representing the sizes of the various dimentions of the relatives variable
|
|
|
This is a pointer to the parent position object of this position.
Reimplemented in PositionDir, and PositionFile. |
|
|
this is meant to be allocated into a 2 dimensional array of position pointers
|
|
|
This 2 dimentional array is meant to represent the min and max sizes of each dimention / current definition of min and max sucks and needs to be worked on.
|
1.3.6