VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCloudLayersCommand.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/DtVrvCommand.h>
13 
14 namespace makVrv
15 {
19  {
20  public:
22  virtual ~DtCloudLayersCommand();
23 
26  virtual bool isEnabled() const;
27  virtual void setEnabled(bool state);
29 
32  virtual int layer() const;
33  virtual void setLayer(const int& lay);
35 
39  virtual void execute(DtDe& de);
40 
41  protected:
42  bool myState;
43  int myLayer;
44  };
45 
49  {
50  public:
53 
54  virtual DtVrvCommand* create(vrvControlToolkit::DtVrvControl_v1* control);
55  };
56 } //makVrv::
int myLayer
Definition: DtCloudLayersCommand.h:43
DtVrvCommandCreator is the base class for all command creators.
Definition: DtVrvCommand.h:44
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 ~DtCloudLayersCommandCreator()
Definition: DtCloudLayersCommand.h:52
DtCloudLayersCommand enables or disables cloud layers by its id.
Definition: DtCloudLayersCommand.h:18
#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
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
bool myState
Definition: DtCloudLayersCommand.h:42
Contains makVrv::DtVrvCommand and makVrv::DtVrvCommandCreator Classes.
DtCloudLayersCommandCreator(GlobalIdConvertFunc func)
Definition: DtCloudLayersCommand.h:51
DtCloudLayersCommandCreator creates DtCloudLayersCommands.
Definition: DtCloudLayersCommand.h:48

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)