VR-Forces Development_Version 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
DtAbsoluteViewCommand.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 <matrix/vlTaitBryan.h>
18
#include <matrix/vlVector.h>
19
20
namespace
makVrv
21
{
24
class
DT_DLL_VRVCORE
DtAbsoluteViewCommand
:
public
DtVrvCommand
25
{
26
public
:
27
DtAbsoluteViewCommand
();
28
virtual
~
DtAbsoluteViewCommand
();
29
30
virtual
std::string observer();
31
virtual
void
setObserver(
const
std::string& newObs);
32
33
virtual
DtVector
worldPosition();
34
virtual
void
setWorldPosition(
const
DtVector
& vec);
35
36
virtual
DtTaitBryan worldOrientation();
37
virtual
void
setWorldOrientation(
const
DtTaitBryan& ori);
38
39
virtual
void
execute(
DtDe
& de);
40
41
protected
:
42
std::string
myObserver
;
43
DtVector
myWorldPos
;
44
DtTaitBryan
myWorldOri
;
45
};
46
49
class
DT_DLL_VRVCORE
DtAbsoluteViewCommandCreator
:
public
DtVrvCommandCreator
50
{
51
public
:
52
DtAbsoluteViewCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
53
virtual
~DtAbsoluteViewCommandCreator
() {}
54
55
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
56
};
57
58
}
//makVrv::
59
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)