VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtProjectionCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
10 
11 #pragma once
12 
13 #include <vrvCore/DtVrvCommand.h>
14 
15 namespace makVrv
16 {
21  {
22  public:
24  virtual ~DtProjectionCommand();
25 
26  virtual std::string observerModeName() const;
27  virtual void setObserverModeName(const std::string& modeName);
28 
29  virtual vrvControlToolkit::DtProjectionType projectionType() const;
30  virtual void setProjectionType( vrvControlToolkit::DtProjectionType type );
31 
32  virtual void execute(DtDe& de);
33 
34  protected:
35  std::string myObserverModeName;
37  };
38 
42  {
43  public:
46 
47  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
48  };
49 
50 
51 } //makVrv::
vrvControlToolkit::DtProjectionType myProjectionType
Definition: DtProjectionCommand.h:36
DtProjectionCommand changes the projection type (2D or 3D) for the observer mode specified.
Definition: DtProjectionCommand.h:20
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtProjectionCommandCreator creates DtProjectionCommands.
Definition: DtProjectionCommand.h:41
std::string myObserverModeName
Definition: DtProjectionCommand.h:35
DtProjectionType
Projection control type enumeration.
Definition: vrvControlToolkitDataTypes.h:213
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
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:245
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
virtual ~DtProjectionCommandCreator()
Definition: DtProjectionCommand.h:45
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
DtProjectionCommandCreator(GlobalIdConvertFunc func)
Definition: DtProjectionCommand.h:44
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)