VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
DtTetherLocationTrackViewCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
10
11
#pragma once
12
13
#include <
vrvCore/DtVrvCommand.h
>
14
15
#include <
vrvCore/DtUniqueID.h
>
16
17
#include <matrix/vlTaitBryan.h>
18
#include <matrix/vlVector.h>
19
20
namespace
makVrv
21
{
24
class
DT_DLL_VRVCORE
DtTetherLocationTrackViewCommand
:
public
DtVrvCommand
25
{
26
public
:
27
DtTetherLocationTrackViewCommand
();
28
virtual
~
DtTetherLocationTrackViewCommand
();
29
31
virtual
std::string observer();
32
34
virtual
void
setObserver(
const
std::string& newObs);
35
38
virtual
DtVector
offset
()
const
;
39
44
virtual
void
setOffset(
const
DtVector
& vec);
45
47
virtual
DtUniqueID
attachedEntity()
const
;
48
50
virtual
void
setAttachedEntity(
const
DtUniqueID
& entityId);
51
55
virtual
DtVector
trackedLocation()
const
;
56
58
virtual
void
setTrackedLocation(
const
DtVector
& location);
59
61
virtual
void
execute(
DtDe
& de);
62
63
protected
:
64
std::string
myObserver
;
65
DtVector
myOffset
;
66
DtUniqueID
myAttachedEntity
;
67
DtVector
myTrackedLocation
;
68
};
69
73
class
DT_DLL_VRVCORE
DtTetherLocationTrackViewCommandCreator
74
:
public
DtVrvCommandCreator
75
{
76
public
:
77
DtTetherLocationTrackViewCommandCreator
(
GlobalIdConvertFunc
func):
78
DtVrvCommandCreator
(func) {}
79
80
virtual
~DtTetherLocationTrackViewCommandCreator
() {}
81
82
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
83
};
84
85
}
//makVrv::
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)