VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtExampleModelManager Class Reference

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

DtDemyDe
 
double myAnimateScale
 
std::list
< DtExampleModelInstance * > 
myModelInstances
 

Detailed Description

This is the implementation of the example model manager.

It handles the creation and resizing of Example model instances

Constructor & Destructor Documentation

makVrv::DtExampleModelManager::DtExampleModelManager ( DtDe de)

The Constructor takes in the de for the application.

virtual makVrv::DtExampleModelManager::~DtExampleModelManager ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtExampleModelManager::createCube ( double  x,
double  y,
double  z,
double  halfLength,
double  heading 
)
virtual

create a cube centered at x,y,z with a half width of each side of halfLength and a particular heading

virtual void makVrv::DtExampleModelManager::createRandomCube ( )
virtual

create a cube of random size at a random location with a random heading

virtual void makVrv::DtExampleModelManager::changeSideSize ( int  side,
double  deltaChange 
)
virtual

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 void makVrv::DtExampleModelManager::changeAnimateScale ( double  deltaChange)
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.

Member Data Documentation

DtDe& makVrv::DtExampleModelManager::myDe
protected
double makVrv::DtExampleModelManager::myAnimateScale
protected
std::list<DtExampleModelInstance *> makVrv::DtExampleModelManager::myModelInstances
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)