VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtPaperMapCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
10 
11 #pragma once
12 
13 #include <vrvCore/DtVrvCommand.h>
14 
15 namespace makVrv
16 {
44  {
45  public:
48 
50  virtual ~DtPaperMapCommand();
51 
54 
56  DtPaperMapCommand& operator=(const DtPaperMapCommand&) = delete;
57 
60  virtual bool paperMap() const;
61 
63  virtual void setPaperMap( bool enabled );
64 
66  virtual void execute(DtDe& de);
67 
68  protected:
69  bool myPaperMap;
70  };
71 
75  {
76  public:
79  : DtVrvCommandCreator(func)
80  {
81  // intentional no-op
82  }
83 
86  {
87  // intentional no-op
88  }
89 
91  DtPaperMapCommandCreator() = delete;
92 
95 
97  DtPaperMapCommandCreator& operator=(const DtPaperMapCommandCreator&) = delete;
98 
100  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
101  };
102 
103 } //makVrv::
104 
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
DtPaperMapCommand holds the state of whether the use of layer masks in .earth files. That is, turn on and off the entire paper maps feature. There are 2 ways to configure paper mask features which can affect what is displayed on from the .earth file.
Definition: DtPaperMapCommand.h:43
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 ~DtPaperMapCommandCreator()
DTOR.
Definition: DtPaperMapCommand.h:85
DtPaperMapCommandCreator(GlobalIdConvertFunc func)
CTOR.
Definition: DtPaperMapCommand.h:78
bool myPaperMap
Definition: DtPaperMapCommand.h:69
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Base structure for all controls.
Definition: vrvControlToolkitDataTypes.h:277
DtPaperMapCommandCreator creates DtPaperMapCommand.
Definition: DtPaperMapCommand.h:74
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:76
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.

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)