OpendTect  6.3
pickretriever.h
Go to the documentation of this file.
1 #pragma once
2 /*+
3 ________________________________________________________________________
4 
5  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
6  Author: K. Tingdahl
7  Date: August 2006
8 ________________________________________________________________________
9 
10 -*/
11 
12 #include "callback.h"
13 #include "generalmod.h"
14 #include "keyenum.h"
15 #include "refcount.h"
16 #include "zaxistransform.h"
17 
22 mExpClass(General) PickRetriever : public RefCount::Referenced
23  , public CallBacker
24 {
25 public:
26  PickRetriever();
27 
28  virtual bool enable(const TypeSet<int>* allowedsc) = 0;
33  virtual NotifierAccess* finished() = 0;
37  virtual void reset() = 0;
38  virtual bool success() const = 0;
39  virtual bool waiting() const = 0;
40  virtual const Coord3& getPos() const = 0;
41  virtual Pos::GeomID getGeomID() const = 0;
42  virtual int getTrcNr() const = 0;
43  virtual int getSceneID() const = 0;
44  virtual const TypeSet<int>& getPickedObjIDs() const = 0;
45 
46  static PickRetriever* getInstance();
49  static void setInstance(PickRetriever*);
53  virtual int unTransformedSceneID() const = 0;
54  virtual const ZAxisTransform* getZAxisTransform() const = 0;
55 
56 protected:
57  ~PickRetriever();
59 };
#define mExpClass(module)
Definition: commondefs.h:157
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
Interface class for Notifier. See comments there.
Definition: notify.h:20
Definition: pickretriever.h:22
3D point or vector
Definition: commontypes.h:57
ButtonState
Definition: keyenum.h:18
static RefMan< PickRetriever > instance_
Definition: pickretriever.h:58
Index_Type GeomID
Definition: commontypes.h:48
Base class for z-axis transforms.
Definition: zaxistransform.h:35
OD::ButtonState buttonstate_
Definition: pickretriever.h:52

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