#include <positiontrans.h>
Inheritance diagram for PositionTrans:

Public Member Functions | |
| PositionTrans () | |
| PositionTrans (Position *initial, Position *final, int numIncrements) | |
| ~PositionTrans () | |
| virtual GLfloat | getTrueX () |
| a virtual function to calulate and return the true x coordinate value | |
| virtual GLfloat | getTrueY () |
| a virtual function to calulate and return the true y coordinate value | |
| virtual GLfloat | getTrueZ () |
| a virtual function to calulate and return the true z coordinate value | |
| virtual void | calculatePosition () |
| a virtua; function to calulate the true position of the object | |
| virtual void | updateRelations () |
| the virtual function is used to update the positions relations | |
| virtual int | getTrueSizeX () |
| virtual int | getTrueSizeY () |
| virtual int | getTrueSizeZ () |
| virtual int | getMinTrueSizeX () |
| virtual int | getMinTrueSizeY () |
| virtual int | getMinTrueSizeZ () |
| virtual int | getMaxTrueSizeX () |
| virtual int | getMaxTrueSizeY () |
| virtual int | getMaxTrueSizeZ () |
Private Attributes | |
| float | xIncrement |
| float | yIncrement |
| float | zIncrement |
| float | xTemp |
| float | yTemp |
| float | zTemp |
| int | numInc |
| int | totalInc |
This class is a basic position, but what it will do is on each call calculatePosition it will move the position of the object from one to another in N increments
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
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
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
Implements Position. |
|
|
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
Implements Position. |
|
|
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
Implements Position. |
|
|
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
Implements Position. |
|
|
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
Implements Position. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.6