VR-Forces 4.3.1 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
DtTrackViewCommand.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
DtTrackViewCommand
:
public
DtVrvCommand
28
{
29
public
:
31
DtTrackViewCommand
();
32
34
virtual
~
DtTrackViewCommand
();
35
37
virtual
std::string observer();
38
40
virtual
void
setObserver(
const
std::string& newObs);
41
44
virtual
DtVector
worldPosition();
45
48
virtual
void
setWorldPosition(
const
DtVector
& vec);
49
53
virtual
DtUniqueID
trackedEntity()
const
;
54
56
virtual
void
setTrackedEntity(
const
DtUniqueID
& entityElementID );
57
59
virtual
void
execute(
DtDe
& de);
60
61
protected
:
62
std::string
myObserver
;
63
DtUniqueID
myTrackedEntity
;
64
DtVector
myWorldPos
;
65
};
66
69
class
DT_DLL_VRVCORE
DtTrackViewCommandCreator
:
public
DtVrvCommandCreator
70
{
71
public
:
72
DtTrackViewCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
73
virtual
~DtTrackViewCommandCreator
() {}
74
75
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
76
};
77
78
}
//makVrv::
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)