VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtModelScaleFactorCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
10
11
#pragma once
12
13
#include <
vrvCore/DtVrvCommand.h
>
14
15
namespace
makVrv
16
{
20
class
DT_DLL_VRVCORE
DtModelScaleFactorCommand
:
public
DtVrvCommand
21
{
22
public
:
23
DtModelScaleFactorCommand
();
24
virtual
~
DtModelScaleFactorCommand
();
25
26
virtual
std::string observerModeName()
const
;
27
virtual
void
setObserverModeName(
const
std::string& modeName);
28
29
virtual
double
modelScaleFactor()
const
;
30
virtual
void
setModelScaleFactor(
double
factor );
31
32
virtual
void
execute(
DtDe
& de);
33
34
protected
:
35
std::string
myObserverModeName
;
36
double
myModelScaleFactor
;
37
};
38
41
class
DT_DLL_VRVCORE
DtModelScaleFactorCommandCreator
:
public
DtVrvCommandCreator
42
{
43
public
:
44
DtModelScaleFactorCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
45
virtual
~DtModelScaleFactorCommandCreator
() {}
46
47
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
48
};
49
50
51
}
//makVrv::
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)