VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvVrl
DtGroundClampingCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: $ $Revision: 95512 $ $State: $
7
*******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvCore/DtVrvCommand.h
>
16
#include <
vrvVrl/vrvVrl.h
>
17
18
namespace
makVrv
19
{
22
class
DT_DLL_VRVVRL
DtGroundClampingCommand
:
public
DtVrvCommand
23
{
24
public
:
25
DtGroundClampingCommand
();
26
virtual
~
DtGroundClampingCommand
();
27
28
virtual
bool
isEnabled()
const
;
29
virtual
void
setEnabled(
bool
state);
30
31
virtual
bool
isLifeformsUpright()
const
;
32
virtual
void
setLifeformsUpright(
bool
state);
33
34
virtual
bool
isOrientationClamped()
const
;
35
virtual
void
setOrientationClamped(
bool
state);
36
37
virtual
float
range()
const
;
38
virtual
void
setRange(
const
float
& newRange);
39
40
virtual
void
execute(
DtDe
& de);
41
42
protected
:
43
bool
myState
;
44
bool
myLifeformsUpright
;
45
bool
myClampOrientation
;
46
float
myRange
;
47
};
48
51
class
DT_DLL_VRVVRL
DtGroundClampingCommandCreator
:
public
DtVrvCommandCreator
52
{
53
public
:
54
DtGroundClampingCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
55
virtual
~DtGroundClampingCommandCreator
() {}
56
57
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
58
};
59
}
//makVrv::
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)