OpendTect-6_4  6.4
pickretriever.h
Go to the documentation of this file.
1 #ifndef pickretriever_h
2 #define pickretriever_h
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: K. Tingdahl
8  Date: August 2006
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "callback.h"
15 #include "generalmod.h"
16 #include "keyenum.h"
17 #include "refcount.h"
18 #include "zaxistransform.h"
19 
26 public:
27  PickRetriever();
28 
29  virtual bool enable(const TypeSet<int>* allowedsc) = 0;
34  virtual NotifierAccess* finished() = 0;
38  virtual void reset() = 0;
39  virtual bool success() const = 0;
40  virtual bool waiting() const = 0;
41  virtual const Coord3& getPos() const = 0;
42  virtual Pos::GeomID getGeomID() const = 0;
43  virtual int getTrcNr() const = 0;
44  virtual int getSceneID() const = 0;
45  virtual const TypeSet<int>& getPickedObjIDs() const = 0;
46 
47  static PickRetriever* getInstance();
50  static void setInstance(PickRetriever*);
54  virtual int unTransformedSceneID() const = 0;
55  virtual const ZAxisTransform* getZAxisTransform() const = 0;
56 
57 protected:
59 };
60 
61 
62 #endif
#define mRefCountImpl(ClassName)
Macro to setup a class with destructor for reference counting.
Definition: refcount.h:163
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Interface class for Notifier. See comments there.
Definition: callback.h:161
Definition: pickretriever.h:24
ButtonState
Definition: keyenum.h:20
static RefMan< PickRetriever > instance_
Definition: pickretriever.h:58
A cartesian coordinate in 3D space.
Definition: coord.h:72
Index_Type GeomID
Definition: commontypes.h:52
Base class for z-axis transforms.
Definition: zaxistransform.h:37
OD::ButtonState buttonstate_
Definition: pickretriever.h:53

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