VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 {
20  {
21  public:
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;
57  std::string mySavedViewFilename;
58  float mySmoothTime;
59  };
60 
64  {
65  public:
67  : DtVrvCommandCreator(func)
68  {
69  }
71 
72  virtual DtVrvCommand* create(
74  };
75 } //makVrv::
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtUseSavedViewCommandCreator creates DtUseSavedViewCommands.
Definition: DtUseSavedViewCommand.h:63
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
std::string mySavedViewFilename
Definition: DtUseSavedViewCommand.h:57
DtUseSavedViewCommandCreator(GlobalIdConvertFunc func)
Definition: DtUseSavedViewCommand.h:66
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
std::string myObserverName
Definition: DtUseSavedViewCommand.h:55
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:245
float mySmoothTime
Definition: DtUseSavedViewCommand.h:58
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.
virtual ~DtUseSavedViewCommandCreator()
Definition: DtUseSavedViewCommand.h:70
DtUseSavedViewCommand sets a integer parameter of a sensor mode.
Definition: DtUseSavedViewCommand.h:19
std::string mySavedViewDisplayName
Definition: DtUseSavedViewCommand.h:56

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)