VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtTetherViewCommand.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
14
#pragma once
15
16
#include <
vrvCore/DtVrvCommand.h
>
17
18
#include <
vrvCore/DtUniqueID.h
>
19
20
#include <matrix/vlTaitBryan.h>
21
#include <matrix/vlVector.h>
22
23
namespace
makVrv
24
{
27
class
DT_DLL_VRVCORE
DtTetherViewCommand
:
public
DtVrvCommand
28
{
29
public
:
30
DtTetherViewCommand
();
31
virtual
~
DtTetherViewCommand
();
32
34
virtual
std::string observer();
35
37
virtual
void
setObserver(
const
std::string& newObs);
38
41
virtual
DtVector
offset()
const
;
42
46
virtual
void
setOffset(
const
DtVector
& vec);
47
49
virtual
DtTaitBryan offsetOrientation()
const
;
50
52
virtual
void
setOffsetOrientation(
const
DtTaitBryan& ori);
53
56
virtual
DtTaitBryan orientation()
const
;
57
63
virtual
void
setOrientation(
const
DtTaitBryan& ori);
64
66
virtual
DtUniqueID
attachedEntity()
const
;
67
69
virtual
void
setAttachedEntity(
const
DtUniqueID
& entityId);
70
72
virtual
void
execute(
DtDe
& de);
73
74
protected
:
75
std::string
myObserver
;
76
DtVector
myOffset
;
77
DtTaitBryan
myOrientation
;
78
DtUniqueID
myAttachedEntity
;
79
};
80
83
class
DT_DLL_VRVCORE
DtTetherViewCommandCreator
:
public
DtVrvCommandCreator
84
{
85
public
:
86
DtTetherViewCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
87
virtual
~DtTetherViewCommandCreator
() {}
88
89
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
90
};
91
92
}
//makVrv::
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)