VR-Forces 5.0.2 Developer's Guide
 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. It handles the creation and resizing of Example model instances.

Public Member Functions

 DtExampleModelManager (DtDe &de)
 
virtual ~DtExampleModelManager ()
 
virtual void createCube (double x, double y, double z, double halfLength, double heading)
 
virtual void createRandomCube ()
 
virtual void changeSideSize (int side, double deltaChange)
 
virtual void changeAnimateScale (double deltaChange)
 
void tick ()
 

Protected Attributes

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

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 Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)