VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
imageLayerLogic.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2020 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
14 
15 namespace makVrv
16 {
17  class DtDe;
18 }
19 
20 namespace osgEarth
21 {
22  class MapNode;
23  class ImageLayer;
24  class FeatureModelLayer;
25 }
26 
27 namespace makVrf
28 {
29  class DtImageLayerWidget;
30  class DtImageLayerCallback;
31 
34  {
35  public:
36 
39 
41  virtual ~DtImageLayerLogic();
42 
43  virtual void imageLayerAdded(osgEarth::ImageLayer*, int);
44  virtual void imageLayerRemoved(osgEarth::ImageLayer*, int);
45 
46  virtual void modelLayerAdded(osgEarth::FeatureModelLayer*, int);
47  virtual void modelLayerRemoved(osgEarth::FeatureModelLayer*);
48 
49  protected:
50  virtual void imageLayerEnabledChanged(int, bool, int);
51  virtual void modelLayerEnabledChanged(int, bool, int);
52  virtual void setup();
53  virtual void slot_terrainCleared();
54  virtual void slot_terrainPatchAdded();
55 
56  protected:
60 
61  osgEarth::MapNode* myMapNode;
62 
63  DtImageLayerCallback* myMapCallback;
64  int myRetries;
65  };
66 }
int myRetries
Definition: imageLayerLogic.h:64
osgEarth::MapNode * myMapNode
Definition: imageLayerLogic.h:61
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
DtImageLayerCallback * myMapCallback
Definition: imageLayerLogic.h:63
The logic for a image layer page.
Definition: imageLayerLogic.h:33
DtImageLayerWidget & myInterface
Definition: imageLayerLogic.h:58
makVrv::DtDe & myDe
Definition: imageLayerLogic.h:57
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
A widget for displaying current image layers shown and an ability to turn them on/off.
Definition: imageLayerWidget.h:37
Base class to provide boost signal/slot management.
makVrv::DtSignalConnectionManager mySignals
Definition: imageLayerLogic.h:59
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:72

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)