VR-Forces 4.5 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
DtUseSavedViewCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
10
11
#pragma once
12
13
#include <
vrvCore/DtVrvCommand.h
>
14
15
namespace
makVrv
16
{
19
class
DT_DLL_VRVCORE
DtUseSavedViewCommand
:
public
DtVrvCommand
20
{
21
public
:
22
DtUseSavedViewCommand
();
23
virtual
~
DtUseSavedViewCommand
();
24
25
28
virtual
std::string observerName();
29
31
virtual
void
setObserverName(
const
std::string& newObs);
32
34
virtual
std::string savedViewFilename()
const
;
35
37
virtual
void
setSavedViewFilename(
const
std::string&
filename
);
38
40
virtual
std::string savedViewDisplayName()
const
;
41
43
virtual
void
setSavedViewDisplayName(
const
std::string& viewName);
44
46
virtual
float
smoothTime()
const
;
47
49
virtual
void
setSmoothTime(
float
time);
50
52
virtual
void
execute(
DtDe
& de);
53
54
protected
:
55
std::string
myObserverName
;
56
std::string
mySavedViewDisplayName
;
57
std::string
mySavedViewFilename
;
58
float
mySmoothTime
;
59
};
60
63
class
DT_DLL_VRVCORE
DtUseSavedViewCommandCreator
:
public
DtVrvCommandCreator
64
{
65
public
:
66
DtUseSavedViewCommandCreator
(
GlobalIdConvertFunc
func)
67
:
DtVrvCommandCreator
(func)
68
{
69
}
70
virtual
~DtUseSavedViewCommandCreator
() {}
71
72
virtual
DtVrvCommand
* create(
73
vrvControlToolkit::DtVrvControl_v1
* control);
74
};
75
}
//makVrv::
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)