OpendTect  6.3
probeimpl.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ___________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Satyaki Maitra
8  Date: September 2016
9 ___________________________________________________________________
10 
11 -*/
12 
13 #include "generalmod.h"
14 #include "probe.h"
15 #include "survgeom.h"
16 
17 namespace ZDomain { class Info; }
18 
19 mExpClass(General) InlineProbe : public Probe
20 {
21 public:
23  InlineProbe();
24  ~InlineProbe();
27 
28  static const char* sFactoryKey();
29  virtual const char* type() const { return sFactoryKey();}
30  static Probe* createFrom(const IOPar&);
31  bool is3DSlice() const { return true; }
32 
33  static void initClass();
34  virtual bool usePar(const IOPar&);
35 
36  BufferString getDisplayName() const;
37 
38 };
39 
40 
41 mExpClass(General) CrosslineProbe : public Probe
42 {
43 public:
46  ~CrosslineProbe();
49 
50  static const char* sFactoryKey();
51  virtual const char* type() const { return sFactoryKey();}
52  static Probe* createFrom(const IOPar&);
53 
54  static void initClass();
55  virtual bool usePar(const IOPar&);
56  bool is3DSlice() const { return true; }
57 
58  BufferString getDisplayName() const;
59 
60 };
61 
62 
63 mExpClass(General) ZSliceProbe : public Probe
64 {
65 public:
66 
68  ZSliceProbe();
69  ~ZSliceProbe();
72 
73  static const char* sFactoryKey();
74  virtual const char* type() const { return sFactoryKey();}
75  static Probe* createFrom(const IOPar&);
76 
77  static void initClass();
78  virtual bool usePar(const IOPar&);
79  virtual bool isVertical() const { return false; }
80  bool is3DSlice() const { return true; }
81 
82  BufferString getDisplayName() const;
83 
84 };
85 
86 
87 mExpClass(General) Line2DProbe : public Probe
88 {
89 public:
91  Line2DProbe();
92  ~Line2DProbe();
95 
96  static const char* sFactoryKey();
97  virtual const char* type() const { return sFactoryKey();}
98  virtual bool is2D() const { return true; }
99  static Probe* createFrom(const IOPar&);
100 
101  static void initClass();
102  mImplSimpleMonitoredGet(geomID,Pos::GeomID,geomid_);
103  void setGeomID(Pos::GeomID);
104  virtual void fillPar(IOPar&) const;
105  virtual bool usePar(const IOPar&);
106  BufferString getDisplayName() const;
107 
108 protected:
109 
111 
112 };
113 
114 
115 mExpClass(General) VolumeProbe : public Probe
116 {
117 public:
119  VolumeProbe();
120  ~VolumeProbe();
123 
124  static const char* sFactoryKey();
125  virtual const char* type() const { return sFactoryKey();}
126  static Probe* createFrom(const IOPar&);
127 
128  static void initClass();
129  virtual bool usePar(const IOPar&);
130  void setZDomain(const ZDomain::Info&);
131  BufferString getDisplayName() const;
132 
133 protected:
134 
136 
137 };
#define mExpClass(module)
Definition: commondefs.h:157
Definition: probeimpl.h:87
ZDomain::Info * zdominfo_
Definition: probeimpl.h:135
virtual const char * type() const
Definition: probeimpl.h:29
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
virtual const char * type() const
Definition: probeimpl.h:74
Definition: probeimpl.h:19
virtual const char * type() const
Definition: probeimpl.h:125
virtual bool isVertical() const
Definition: probeimpl.h:79
#define mImplSimpleMonitoredGet(fnnm, typ, memb)
Defines simple MT-safe copyable member get.
Definition: monitor.h:21
Definition: probeimpl.h:115
#define mDeclMonitorableAssignment(clss)
like mDeclAbstractMonitorableAssignment but for non-abstract subclasses. Implements the clone() metho...
Definition: monitor.h:111
#define mDeclInstanceCreatedNotifierAccess(clss)
Definition: notify.h:235
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
bool is3DSlice() const
Definition: probeimpl.h:56
virtual const char * type() const
Definition: probeimpl.h:51
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:32
Definition: probeimpl.h:63
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
Index_Type GeomID
Definition: commontypes.h:48
bool is3DSlice() const
Definition: probeimpl.h:31
Pos::GeomID geomid_
Definition: probeimpl.h:110
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
virtual bool is2D() const
Definition: probeimpl.h:98
bool is3DSlice() const
Definition: probeimpl.h:80
Definition: probeimpl.h:41
Definition: probe.h:82
virtual const char * type() const
Definition: probeimpl.h:97
Information of z-domain.
Definition: zdomain.h:96
static void initClass()
Definition: zdomain.h:18

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