16 #include "uiodmainmod.h" 39 namespace Geometry {
class RandomLine; }
43 enum PosType {InLine=0, CrossLine=1, Line2D=2,
ZSlice=3, RdmLine=4 };
49 virtual ~Viewer2DPosDataSel() {}
50 Viewer2DPosDataSel(
const Viewer2DPosDataSel& sd)
52 postype_ = sd.postype_;
53 selspec_ = sd.selspec_;
55 rdmlineid_ = sd.rdmlineid_;
56 rdmlinedbkey_ = sd.rdmlinedbkey_;
58 selectdata_ = sd.selectdata_;
64 ? Viewer2DPosDataSel::InLine
65 : Viewer2DPosDataSel::Line2D;
67 tkzs_.init( !
DBM().isBad() );
70 rdmlineid_ =
mUdf(
int);
75 Probe* createNewProbe();
76 void fillFromProbe(
const Probe&);
85 static const char* sKeyRdmLineDBKey(){
return "Random Line DBKey"; }
86 static const char* sKeyRdmLineID() {
return "Random Line ID"; }
87 static const char* sKeySelectData() {
return "Select Data"; }
101 bool withpostype=
false);
108 {
return posdatasel_->postype_; }
109 void showDataSelField(
bool yn);
114 const Viewer2DPosDataSel&
posDataSel()
const {
return *posdatasel_; }
115 virtual bool commitSel(
bool emiterror );
140 void updateDataSelFld();
141 void updatePosFlds();
142 void updateTrcKeySampFld();
Viewer2DPosDataSel & posDataSel()
Definition: uiodviewer2dposgrp.h:113
#define mExpClass(module)
Definition: commondefs.h:157
bool onlyvertical_
Definition: uiodviewer2dposgrp.h:121
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
Definition: uislicesel.h:27
static Geometry::ID cUndefGeomID()
Definition: survgeom.h:146
Application level manager - ties part servers together.
Definition: uiodapplmgr.h:53
OpendTect application top level object.
Definition: uiodmain.h:38
#define mStruct(module)
Definition: commondefs.h:162
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Viewer2DPosDataSel::PosType selPosType() const
Definition: uiodviewer2dposgrp.h:107
Definition: uiseissubsel.h:88
bool is2D(GeomType gt)
Definition: seistype.h:32
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
uiAttrSel * inp2dfld_
Definition: uiodviewer2dposgrp.h:127
uiGroup * botgrp_
Definition: uiodviewer2dposgrp.h:135
Definition: uiparent.h:24
Definition: oduicommon.h:34
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:188
const Viewer2DPosDataSel & posDataSel() const
Definition: uiodviewer2dposgrp.h:114
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:270
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:32
uiPushButton * genrdmlinebut_
Definition: uiodviewer2dposgrp.h:132
Definition: uicombobox.h:137
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:36
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
static DBKey getInvalid()
Definition: dbkey.h:57
Index_Type GeomID
Definition: commontypes.h:48
Type
Definition: uislicesel.h:31
Viewer2DPosDataSel * posdatasel_
Definition: uiodviewer2dposgrp.h:122
uiIOObjSel * rdmlinefld_
Definition: uiodviewer2dposgrp.h:129
User interface element for storing attribute desc selection.
Definition: uiattrsel.h:181
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:43
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
uiLabeledComboBox * postypefld_
Definition: uiodviewer2dposgrp.h:126
float PosType
Definition: coltab.h:24
ObjectSet< uiSliceSel > sliceselflds_
Definition: uiodviewer2dposgrp.h:133
Definition: uiodviewer2dposgrp.h:94
uiODApplMgr * applmgr_
Definition: uiodviewer2dposgrp.h:124
uiPushButton * gen2dlinebut_
Definition: uiodviewer2dposgrp.h:131
Definition: arraytesselator.h:19
uiAttrSel * inp3dfld_
Definition: uiodviewer2dposgrp.h:128
uiGroup * topgrp_
Definition: uiodviewer2dposgrp.h:134
uiSeis2DSubSel * subsel2dfld_
Definition: uiodviewer2dposgrp.h:130
Notifier< uiODViewer2DPosGrp > inpSelected
Definition: uiodviewer2dposgrp.h:117