VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtMimicViewCommand.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
{
26
class
DT_DLL_VRVCORE
DtMimicViewCommand
:
public
DtVrvCommand
27
{
28
public
:
30
DtMimicViewCommand
();
31
33
virtual
~
DtMimicViewCommand
();
34
36
virtual
std::string observer();
37
39
virtual
void
setObserver(
const
std::string& newObs);
40
43
virtual
DtVector
offset()
const
;
44
49
virtual
void
setOffset(
const
DtVector
& vec);
50
53
virtual
DtTaitBryan offsetOrientation()
const
;
54
59
virtual
void
setOffsetOrientation(
const
DtTaitBryan& ori);
60
62
virtual
DtUniqueID
attachedEntity()
const
;
63
65
virtual
void
setAttachedEntity(
const
DtUniqueID
& entityId);
66
68
virtual
void
execute(
DtDe
& de);
69
70
protected
:
71
std::string
myObserver
;
72
DtVector
myOffset
;
73
DtTaitBryan
myOffsetOri
;
// NOT_USED
74
DtUniqueID
myAttachedEntity
;
75
};
76
79
class
DT_DLL_VRVCORE
DtMimicViewCommandCreator
:
public
DtVrvCommandCreator
80
{
81
public
:
82
DtMimicViewCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
83
virtual
~DtMimicViewCommandCreator
() {}
84
85
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
86
};
87
88
}
//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
)