VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCore
setObserverViewCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <
vrfGuiCore/vrfGuiCore.h
>
12
#include <
vrvCore/DtVrvCommand.h
>
13
#include <
makArchives/DtObserverStateRecord.h
>
14
15
namespace
makVrf
16
{
18
class
DT_DLL_VRFGUICORE
DtSetObserverViewCommand
:
public
makVrv::DtVrvCommand
19
{
20
public
:
21
DtSetObserverViewCommand
();
22
virtual
~
DtSetObserverViewCommand
();
23
24
virtual
std::string observer();
25
virtual
void
setObserver(
const
std::string& newObs);
26
27
virtual
float
smoothTime()
const
;
28
virtual
void
setSmoothTime(
float
);
29
30
virtual
void
setFromRecord(
const
makArchives::DtObserverStateRecord
&);
31
virtual
void
getRecord(
makArchives::DtObserverStateRecord
&)
const
;
32
33
virtual
void
execute(
makVrv::DtDe
& de);
34
35
protected
:
36
std::string
myObserver
;
37
makArchives::DtObserverStateRecord
myRecord
;
38
float
mySmoothTime
;
39
};
40
42
class
DT_DLL_VRFGUICORE
DtSetObserverViewCommandCreator
:
public
makVrv::DtVrvCommandCreator
43
{
44
public
:
45
DtSetObserverViewCommandCreator
(
makVrv::GlobalIdConvertFunc
func): makVrv::DtVrvCommandCreator(func) {}
46
virtual
~DtSetObserverViewCommandCreator
() {}
47
48
virtual
makVrv::DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
49
};
50
51
}
52
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)