OpendTect-6_4  6.4
uiposprovgroup.h
Go to the documentation of this file.
1 #ifndef uiposprovgroup_h
2 #define uiposprovgroup_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Feb 2008
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiiomod.h"
16 #include "uiposfiltgroup.h"
17 #include "trckeyzsampling.h"
18 #include "factory.h"
19 
20 
25 public:
26 
27  struct Setup : public uiPosFiltGroup::Setup
28  {
29  Setup( bool is_2d, bool with_step, bool with_z )
30  : uiPosFiltGroup::Setup(is_2d)
31  , withstep_(with_step)
32  , withz_(with_z)
33  , tkzs_(!is_2d)
34  { if ( is_2d ) tkzs_.set2DDef(); }
35 
36  virtual ~Setup() {}
37  Setup& cs(TrcKeyZSampling d) { tkzs_ = d; return *this; }
39  mDefSetupMemb(bool,withstep)
40  mDefSetupMemb(bool,withz)
45  };
46 
47  uiPosProvGroup(uiParent*,const Setup&);
48 
49  virtual void setExtractionDefaults() {}
50 
52 
53 };
54 
55 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition: uiposfiltgroup.h:26
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
virtual ~Setup()
Definition: uiposprovgroup.h:36
Definition: uiparent.h:26
Definition: uiposprovgroup.h:27
Setup & cs(TrcKeyZSampling d)
For legacy compliance.
Definition: uiposprovgroup.h:37
Set of (small) copyable elements.
Definition: commontypes.h:30
group for providing positions, usually for 2D or 3D seismics
Definition: uiposfiltgroup.h:22
group for providing positions, usually for 2D or 3D seismics
Definition: uiposprovgroup.h:23
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Setup(bool is_2d, bool with_step, bool with_z)
Definition: uiposprovgroup.h:29
#define mDefineFactory2ParamInClass(T, P0, P1, funcname)
Definition: factory.h:471
virtual void setExtractionDefaults()
Definition: uiposprovgroup.h:49

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