VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
examples
exampleDynamicDraw
DtExampleModelManager.h
Go to the documentation of this file.
1
// /******************************************************************************
2
// ** Copyright (c) 2015 MAK Technologies, Inc.
3
// ** All rights reserved.
4
// ******************************************************************************/
5
// /******************************************************************************
6
// ** $RCSfile: DtExampleModelManager.h,v $ $Revision: 1.1 $ $State: Exp $
7
// ******************************************************************************/
8
11
12
#ifndef DtExampleModelManager_H_
13
#define DtExampleModelManager_H_
14
15
#include <
vrvCore/DtDe.h
>
16
#include <
vrvCore/DtUniqueID.h
>
17
18
namespace
makVrv
19
{
20
21
class
DtExampleModelInstance;
22
25
class
DtExampleModelManager
26
{
27
28
public
:
29
31
DtExampleModelManager
(
DtDe
& de);
32
34
virtual
~DtExampleModelManager
();
35
37
virtual
void
createCube
(
double
x,
double
y,
double
z,
double
halfLength,
double
heading);
38
40
virtual
void
createRandomCube
();
41
45
virtual
void
changeSideSize
(
int
side,
double
deltaChange);
46
48
virtual
void
changeAnimateScale
(
double
deltaChange);
49
51
void
tick
();
52
53
protected
:
54
55
DtDe
&
myDe
;
56
57
//Amount to scale the animation rate of the cubes.
58
double
myAnimateScale
;
59
60
//list of all the example model instances created
61
std::list<DtExampleModelInstance *>
myModelInstances
;
62
63
};
64
65
}
66
67
#endif
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)