VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtFollowViewCommand.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
#include <
vrvCore/DtUniqueID.h
>
17
#include <matrix/vlTaitBryan.h>
18
#include <matrix/vlVector.h>
19
20
namespace
makVrv
21
{
24
class
DT_DLL_VRVCORE
DtFollowViewCommand
:
public
DtVrvCommand
25
{
26
public
:
28
DtFollowViewCommand
();
29
31
virtual
~
DtFollowViewCommand
();
32
34
virtual
std::string observer();
35
37
virtual
void
setObserver(
const
std::string& newObs);
38
41
virtual
DtVector
offset()
const
;
42
50
virtual
void
setOffset(
const
DtVector
& vec);
51
54
virtual
DtTaitBryan offsetOrientation()
const
;
55
60
virtual
void
setOffsetOrientation(
const
DtTaitBryan& ori);
61
63
virtual
DtUniqueID
attachedEntity()
const
;
64
66
virtual
void
setAttachedEntity(
const
DtUniqueID
& entityId);
67
69
virtual
void
execute(
DtDe
& de);
70
71
protected
:
72
std::string
myObserver
;
73
DtVector
myOffset
;
74
DtTaitBryan
myOffsetOri
;
75
DtUniqueID
myAttachedEntity
;
76
};
77
80
class
DT_DLL_VRVCORE
DtFollowViewCommandCreator
:
public
DtVrvCommandCreator
81
{
82
public
:
83
DtFollowViewCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
84
virtual
~DtFollowViewCommandCreator
() {}
85
86
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
87
};
88
89
}
//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
)