OpendTect-6_4  6.4
uivisdatapointsetdisplaymgr.h
Go to the documentation of this file.
1 #ifndef uivisdatapointsetdisplaymgr_h
2 #define uivisdatapointsetdisplaymgr_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: K. Tingdahl
9  Date: Apr 2009
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uivismod.h"
16 #include "dpsdispmgr.h"
17 #include "menuhandler.h"
18 #include "thread.h"
19 
20 class DataPointSet;
21 class uiVisPartServer;
22 namespace visSurvey { class PointSetDisplay; }
23 
24 
32 public:
35 
36  void lock();
37  void unLock();
38 
39  int getNrViewers() const;
41  const char* getViewerName(int) const;
42 
43  bool hasDisplays() const
44  { return displayinfos_.size()>0; }
45  DispID getDisplayID(const DataPointSet&) const;
46  DispID getDisplayID(int visid) const;
47 
48  DispID addDisplay(const TypeSet<int>& parents, const DataPointSet&);
49  bool addDisplays(const TypeSet<int>& parents,
51  void updateDisplay(DispID id, const TypeSet<int>& parents,
52  const DataPointSet&);
53  void turnOn(DispID id,bool);
54  void updateDisplay(DispID id,const DataPointSet&);
55  void updateColorsOnly(DispID id);
56  void removeDisplay(DispID);
57  void clearDisplays();
58 
59  void getIconInfo(BufferString& fnm,BufferString& tooltip) const;
60 
63  {
64  public:
66  TypeSet<int> visids_; //linked with scenes_
67  };
68 
69 protected:
70 
72 
79 
83 
84  void createMenuCB(CallBacker*);
85  void handleMenuCB(CallBacker*);
86 };
87 
88 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
void turnOn(int flag)
Overrides the envirnonment variable.
Definition: menuhandler.h:187
Set of data points with group selection.
Definition: datapointset.h:48
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
The Visualization Part Server.
Definition: uivispartserv.h:60
Definition: uivisdatapointsetdisplaymgr.h:62
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
DataPointSet display manager.
Definition: dpsdispmgr.h:104
MenuItem storepsmnuitem_
Definition: uivisdatapointsetdisplaymgr.h:74
TypeSet< int > sceneids_
Definition: uivisdatapointsetdisplaymgr.h:65
Implementation of DataPointSetDisplayMgr that enables display of datapointsets in 3d visualization sc...
Definition: uivisdatapointsetdisplaymgr.h:30
Definition: menuhandler.h:76
TypeSet< int > allsceneids_
Definition: uivisdatapointsetdisplaymgr.h:71
uiVisPartServer & visserv_
Definition: uivisdatapointsetdisplaymgr.h:80
MenuItem removemnuitem_
Definition: uivisdatapointsetdisplaymgr.h:75
TypeSet< int > ids_
Definition: uivisdatapointsetdisplaymgr.h:77
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Is a lock that allows a thread to have exlusive rights to something.
Definition: thread.h:43
TypeSet< int > visids_
Definition: uivisdatapointsetdisplaymgr.h:66
int DispID
Definition: dpsdispmgr.h:108
MenuItem createbodymnuitem_
Definition: uivisdatapointsetdisplaymgr.h:73
#define mClass(module)
Definition: commondefs.h:164
bool hasDisplays() const
Definition: uivisdatapointsetdisplaymgr.h:43
MenuItem propmenuitem_
Definition: uivisdatapointsetdisplaymgr.h:76
Threads::Mutex lock_
Definition: uivisdatapointsetdisplaymgr.h:82
ObjectSet< DisplayInfo > displayinfos_
Definition: uivisdatapointsetdisplaymgr.h:78
MenuHandler * vismenu_
Definition: uivisdatapointsetdisplaymgr.h:81
CNotifier< uiVisDataPointSetDisplayMgr, int > treeToBeAdded
Definition: uivisdatapointsetdisplaymgr.h:61

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019