VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtModelScaleFactorCommand.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 ~DtModelScaleFactorCommand();
25 
26  virtual std::string observerModeName() const;
27  virtual void setObserverModeName(const std::string& modeName);
28 
29  virtual double modelScaleFactor() const;
30  virtual void setModelScaleFactor( double factor );
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::
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
virtual ~DtModelScaleFactorCommandCreator()
Definition: DtModelScaleFactorCommand.h:45
DtModelScaleFactorCommand changes the model scale factor for the observer mode indicated.
Definition: DtModelScaleFactorCommand.h:20
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:277
DtVrvCommand is the base class for all commands.
Definition: DtVrvCommand.h:24
DtModelScaleFactorCommandCreator creates DtModelScaleFactorCommands.
Definition: DtModelScaleFactorCommand.h:41
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:76
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.
double myModelScaleFactor
Definition: DtModelScaleFactorCommand.h:36
std::string myObserverModeName
Definition: DtModelScaleFactorCommand.h:35
DtModelScaleFactorCommandCreator(GlobalIdConvertFunc func)
Definition: DtModelScaleFactorCommand.h:44

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)