![]() |
VR-Forces 4.8 Class Documentation
|
This is the implementation of the example model manager. More...
Public Member Functions | |
| DtExampleModelManager (DtDe &de) | |
| The Constructor takes in the de for the application. More... | |
| virtual | ~DtExampleModelManager () |
| DTOR. More... | |
| virtual void | createCube (double x, double y, double z, double halfLength, double heading) |
| create a cube centered at x,y,z with a half width of each side of halfLength and a particular heading More... | |
| virtual void | createRandomCube () |
| create a cube of random size at a random location with a random heading More... | |
| virtual void | changeSideSize (int side, double deltaChange) |
| change the size of a side of each of the cubes (Not necessarily cubes anymore after this call) side 0 effects the x coordinate of the vertexes of the cube and side 1 effects the y coordinate. More... | |
| virtual void | changeAnimateScale (double deltaChange) |
| change the animation scale for the cube animation. More... | |
| void | tick () |
| callback for the de post tick signal. It is called once per frame. More... | |
Protected Attributes | |
| DtDe & | myDe |
| double | myAnimateScale |
| std::list < DtExampleModelInstance * > | myModelInstances |
This is the implementation of the example model manager.
It handles the creation and resizing of Example model instances
| makVrv::DtExampleModelManager::DtExampleModelManager | ( | DtDe & | de | ) |
The Constructor takes in the de for the application.
|
virtual |
DTOR.
|
virtual |
create a cube centered at x,y,z with a half width of each side of halfLength and a particular heading
|
virtual |
create a cube of random size at a random location with a random heading
change the size of a side of each of the cubes (Not necessarily cubes anymore after this call) side 0 effects the x coordinate of the vertexes of the cube and side 1 effects the y coordinate.
deltaChange is how much to increase or decrease the half length of that side.
|
virtual |
change the animation scale for the cube animation.
| void makVrv::DtExampleModelManager::tick | ( | ) |
callback for the de post tick signal. It is called once per frame.
|
protected |
|
protected |
|
protected |