VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtTetherTrackViewCommand.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
{
24
27
class
DT_DLL_VRVCORE
DtTetherTrackViewCommand
:
public
DtVrvCommand
28
{
29
public
:
31
DtTetherTrackViewCommand
();
32
34
virtual
~
DtTetherTrackViewCommand
();
35
37
virtual
std::string observer();
38
40
virtual
void
setObserver(
const
std::string& newObs);
41
44
virtual
DtVector
offset()
const
;
45
51
virtual
void
setOffset(
const
DtVector
& vec);
52
54
virtual
DtTaitBryan offsetOrientation()
const
;
55
59
virtual
void
setOffsetOrientation(
const
DtTaitBryan& ori);
60
62
virtual
DtUniqueID
attachedEntity()
const
;
63
65
virtual
void
setAttachedEntity(
const
DtUniqueID
& entityId);
66
70
virtual
DtUniqueID
trackedEntity()
const
;
71
73
virtual
void
setTrackedEntity(
const
DtUniqueID
& entityId);
74
76
virtual
void
execute(
DtDe
& de);
77
78
protected
:
79
std::string
myObserver
;
80
DtVector
myOffset
;
81
DtTaitBryan
myOffsetOri
;
82
DtUniqueID
myAttachedEntity
;
83
DtUniqueID
myTrackedEntity
;
84
};
85
88
class
DT_DLL_VRVCORE
DtTetherTrackViewCommandCreator
:
public
DtVrvCommandCreator
89
{
90
public
:
91
DtTetherTrackViewCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
92
virtual
~DtTetherTrackViewCommandCreator
() {}
93
94
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
95
};
96
97
}
//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
)