OpendTect  6.3
uiposprovgroup.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: Bert
8  Date: Feb 2008
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "uiiocommon.h"
14 #include "uiposfiltgroup.h"
15 #include "trckeyzsampling.h"
16 #include "factory.h"
17 
18 
23 public:
24 
25  struct Setup : public uiPosFiltGroup::Setup
26  {
27  Setup( bool is_2d, bool with_step, bool with_z )
28  : uiPosFiltGroup::Setup(is_2d)
29  , withstep_(with_step)
30  , withz_(with_z)
31  , tkzs_(!is_2d)
32  { if ( is_2d ) tkzs_.set2DDef(); }
33 
34  virtual ~Setup() {}
35  Setup& cs(TrcKeyZSampling d) { tkzs_ = d; return *this; }
37  mDefSetupMemb(bool,withstep)
38  mDefSetupMemb(bool,withz)
43  };
44 
45  uiPosProvGroup(uiParent*,const Setup&);
46 
47  virtual void setExtractionDefaults() {}
48 
50 
51 };
#define mExpClass(module)
Definition: commondefs.h:157
Definition: uiposfiltgroup.h:24
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
virtual ~Setup()
Definition: uiposprovgroup.h:34
Definition: uiparent.h:24
Definition: uiposprovgroup.h:25
Setup & cs(TrcKeyZSampling d)
For legacy compliance.
Definition: uiposprovgroup.h:35
Set of (small) copyable elements.
Definition: commontypes.h:26
group for providing positions, usually for 2D or 3D seismics
Definition: uiposfiltgroup.h:20
group for providing positions, usually for 2D or 3D seismics
Definition: uiposprovgroup.h:21
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:32
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:129
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
Setup(bool is_2d, bool with_step, bool with_z)
Definition: uiposprovgroup.h:27
#define mDefineFactory2ParamInClass(T, P0, P1, funcname)
Definition: factory.h:469
virtual void setExtractionDefaults()
Definition: uiposprovgroup.h:47

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