VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 {
25  {
26  public:
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:
52 
56  };
57 
61  {
62  public:
65 
66  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
67  };
68 } //makVrv::
float myDepthOfField
Definition: DtDepthOfFieldSettingsCommand.h:50
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
bool myUseAutoFocusSet
Definition: DtDepthOfFieldSettingsCommand.h:55
bool myFocusDistanceSet
Definition: DtDepthOfFieldSettingsCommand.h:53
bool myUseAutoFocus
Definition: DtDepthOfFieldSettingsCommand.h:51
boost::function< DtUniqueID(const std::string &)> GlobalIdConvertFunc
typedef for the function that takes a protocol specific id (as a string) and looks up the DtUniqueID ...
Definition: DtVrvCommand.h:40
virtual ~DtDepthOfFieldSettingsCommandCreator()
Definition: DtDepthOfFieldSettingsCommand.h:64
DtDepthOfFieldSettingsCommandCreator(GlobalIdConvertFunc func)
Definition: DtDepthOfFieldSettingsCommand.h:63
DtDepthOfFieldSettingsCommandCreator creates DtDepthOfFieldSettingsCommands.
Definition: DtDepthOfFieldSettingsCommand.h:60
bool myDepthOfFieldSet
Definition: DtDepthOfFieldSettingsCommand.h:54
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
float myFocusDistance
Definition: DtDepthOfFieldSettingsCommand.h:49
DtDepthOfFieldSettingsCommand.
Definition: DtDepthOfFieldSettingsCommand.h:24
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:245
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.
Contains DLL export macros.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)