VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtMimicTrackViewCommand.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
17
#include <
vrvCore/DtUniqueID.h
>
18
19
#include <matrix/vlTaitBryan.h>
20
#include <matrix/vlVector.h>
21
22
namespace
makVrv
23
{
26
class
DT_DLL_VRVCORE
DtMimicTrackViewCommand
:
public
DtVrvCommand
27
{
28
public
:
29
DtMimicTrackViewCommand
();
30
virtual
~
DtMimicTrackViewCommand
();
31
33
virtual
std::string observer();
34
36
virtual
void
setObserver(
const
std::string& newObs);
37
40
virtual
DtVector
offset()
const
;
41
46
virtual
void
setOffset(
const
DtVector
& vec);
47
49
virtual
DtTaitBryan offsetOrientation()
const
;
50
54
virtual
void
setOffsetOrientation(
const
DtTaitBryan& ori);
55
57
virtual
DtUniqueID
attachedEntity()
const
;
58
60
virtual
void
setAttachedEntity(
const
DtUniqueID
& entityId);
61
65
virtual
DtUniqueID
trackedEntity()
const
;
66
68
virtual
void
setTrackedEntity(
const
DtUniqueID
& entityId);
69
71
virtual
void
execute(
DtDe
& de);
72
73
protected
:
74
std::string
myObserver
;
75
DtVector
myOffset
;
76
DtTaitBryan
myOffsetOri
;
// NOT_USED
77
DtUniqueID
myAttachedEntity
;
78
DtUniqueID
myTrackedEntity
;
79
};
80
83
class
DT_DLL_VRVCORE
DtMimicTrackViewCommandCreator
:
public
DtVrvCommandCreator
84
{
85
public
:
86
DtMimicTrackViewCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
87
virtual
~DtMimicTrackViewCommandCreator
() {}
88
89
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
90
};
91
92
}
//makVrv::
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)