VR-Forces Development_Version 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
DtDepthOfFieldSettingsCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
10
11
12
13
#pragma once
14
15
#include <
vrvCore/vrvCore.h
>
16
17
#include <
vrvCore/DtVrvCommand.h
>
18
19
20
namespace
makVrv
21
{
24
class
DT_DLL_VRVCORE
DtDepthOfFieldSettingsCommand
:
public
DtVrvCommand
25
{
26
public
:
27
DtDepthOfFieldSettingsCommand
();
28
virtual
~
DtDepthOfFieldSettingsCommand
();
29
30
//
31
virtual
bool
focusDistanceSet()
const
;
32
virtual
float
focusDistance()
const
;
33
virtual
void
setFocusDistance(
float
dist );
34
35
//
36
virtual
bool
depthOfFieldSet()
const
;
37
virtual
float
depthOfField()
const
;
38
virtual
void
setDepthOfField(
float
dof );
39
40
//
41
virtual
bool
useAutoFocusSet()
const
;
42
virtual
bool
useAutoFocus()
const
;
43
virtual
void
setUseAutoFocus(
bool
enabled );
44
45
46
virtual
void
execute(
DtDe
& de);
47
48
protected
:
49
float
myFocusDistance
;
50
float
myDepthOfField
;
51
bool
myUseAutoFocus
;
52
53
bool
myFocusDistanceSet
;
54
bool
myDepthOfFieldSet
;
55
bool
myUseAutoFocusSet
;
56
};
57
60
class
DT_DLL_VRVCORE
DtDepthOfFieldSettingsCommandCreator
:
public
DtVrvCommandCreator
61
{
62
public
:
63
DtDepthOfFieldSettingsCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
64
virtual
~DtDepthOfFieldSettingsCommandCreator
() {}
65
66
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
67
};
68
}
//makVrv::
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)