VR-Forces 4.3 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
vrvCore
DtSpaceFollowViewCommand.h
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (c) 2011 MAK Technologies, Inc.
3
* All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
* $RCSfile: DtSpaceFollowViewCommand.h $ $Revision: 95512 $ $State: $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvCore/DtVrvCommand.h
>
16
#include <
vrvCore/DtUniqueID.h
>
17
18
#include <matrix/vlTaitBryan.h>
19
#include <matrix/vlVector.h>
20
21
namespace
makVrv
22
{
23
26
class
DT_DLL_VRVCORE
DtSpaceFollowViewCommand
:
public
DtVrvCommand
27
{
28
public
:
29
31
DtSpaceFollowViewCommand
();
32
34
virtual
~
DtSpaceFollowViewCommand
();
35
38
40
virtual
std::string observer()
const
;
41
43
virtual
void
setObserver(
const
std::string& newObs );
44
45
virtual
DtVector
offset()
const
;
46
virtual
void
setOffset(
const
DtVector
& vec );
47
48
virtual
DtTaitBryan offsetOrientation()
const
;
49
virtual
void
setOffsetOrientation(
const
DtTaitBryan& ori );
50
52
virtual
DtUniqueID
attachedEntity()
const
;
53
55
virtual
void
setAttachedEntity(
const
DtUniqueID
& entityId );
56
57
virtual
DtBoolean localModelScalingEnabled()
const
;
58
virtual
void
setLocalModelScalingEnabled( DtBoolean enabled );
59
60
virtual
DtFloat32
localModelScalingAmount()
const
;
61
virtual
void
setLocalModelScalingAmount(
DtFloat32
amount );
62
64
66
virtual
void
execute(
DtDe
& de );
67
68
protected
:
69
70
std::string
myObserver
;
71
DtVector
myOffset
;
72
DtTaitBryan
myOffsetOri
;
73
DtUniqueID
myAttachedEntity
;
74
DtBoolean
myLocalModelScalingEnabled
;
75
DtFloat32
myLocalModelScalingAmount
;
76
77
};
78
81
class
DT_DLL_VRVCORE
DtSpaceFollowViewCommandCreator
82
:
public
DtVrvCommandCreator
83
{
84
public
:
85
87
DtSpaceFollowViewCommandCreator
(
GlobalIdConvertFunc
func );
88
90
virtual
~
DtSpaceFollowViewCommandCreator
();
91
94
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control );
95
96
};
97
98
}
//makVrv::
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)