1 #ifndef uiodviewer2dposgrp_h 2 #define uiodviewer2dposgrp_h 17 #include "uiodmainmod.h" 38 namespace Geometry {
class RandomLine; }
42 enum PosType {InLine=0, CrossLine=1, Line2D=2,
ZSlice=3, RdmLine=4 };
45 Viewer2DPosDataSel() { clean(); }
46 virtual ~Viewer2DPosDataSel() {}
47 Viewer2DPosDataSel(
const Viewer2DPosDataSel& sd)
49 postype_ = sd.postype_;
50 selspec_ = sd.selspec_;
52 rdmlineid_ = sd.rdmlineid_;
53 rdmlinemultiid_ = sd.rdmlinemultiid_;
55 selectdata_ = sd.selectdata_;
60 postype_ =
SI().
has3D() ? Viewer2DPosDataSel::InLine
61 : Viewer2DPosDataSel::Line2D;
66 rdmlineid_ =
mUdf(
int);
79 static const char* sKeyRdmLineMultiID(){
return "Random Line MultiID"; }
80 static const char* sKeyRdmLineID() {
return "Random Line ID"; }
81 static const char* sKeySelectData() {
return "Select Data"; }
95 bool withpostype=
false);
102 {
return posdatasel_->postype_; }
103 void showDataSelField(
bool yn);
108 const Viewer2DPosDataSel&
posDataSel()
const {
return *posdatasel_; }
109 virtual bool commitSel(
bool emiterror );
134 void updateDataSelFld();
135 void updatePosFlds();
136 void updateTrcKeySampFld();
Viewer2DPosDataSel & posDataSel()
Definition: uiodviewer2dposgrp.h:107
#define mExpClass(module)
Definition: commondefs.h:160
bool onlyvertical_
Definition: uiodviewer2dposgrp.h:115
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: uislicesel.h:29
static Geometry::ID cUndefGeomID()
Definition: survgeom.h:136
Application level manager - ties part servers together.
Definition: uiodapplmgr.h:55
OpendTect application top level object.
Definition: uiodmain.h:41
#define mStruct(module)
Definition: commondefs.h:165
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Viewer2DPosDataSel::PosType selPosType() const
Definition: uiodviewer2dposgrp.h:101
Definition: uiseissubsel.h:90
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
uiAttrSel * inp2dfld_
Definition: uiodviewer2dposgrp.h:121
uiGroup * botgrp_
Definition: uiodviewer2dposgrp.h:129
Definition: uiparent.h:26
Definition: oduicommon.h:36
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:258
const Viewer2DPosDataSel & posDataSel() const
Definition: uiodviewer2dposgrp.h:108
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
uiPushButton * genrdmlinebut_
Definition: uiodviewer2dposgrp.h:126
static const MultiID & udf()
Definition: uicombobox.h:133
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Index_Type GeomID
Definition: commontypes.h:52
Type
Definition: uislicesel.h:33
Viewer2DPosDataSel * posdatasel_
Definition: uiodviewer2dposgrp.h:116
uiIOObjSel * rdmlinefld_
Definition: uiodviewer2dposgrp.h:123
bool is2D(const PicksType &picks)
Definition: pickset.h:142
User interface element for storing attribute desc selection.
Definition: uiattrsel.h:174
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:45
uiLabeledComboBox * postypefld_
Definition: uiodviewer2dposgrp.h:120
ObjectSet< uiSliceSel > sliceselflds_
Definition: uiodviewer2dposgrp.h:127
Definition: uiodviewer2dposgrp.h:88
uiODApplMgr * applmgr_
Definition: uiodviewer2dposgrp.h:118
uiPushButton * gen2dlinebut_
Definition: uiodviewer2dposgrp.h:125
Definition: arraytesselator.h:21
uiAttrSel * inp3dfld_
Definition: uiodviewer2dposgrp.h:122
Compound key consisting of ints.
Definition: multiid.h:25
uiGroup * topgrp_
Definition: uiodviewer2dposgrp.h:128
uiSeis2DSubSel * subsel2dfld_
Definition: uiodviewer2dposgrp.h:124
Notifier< uiODViewer2DPosGrp > inpSelected
Definition: uiodviewer2dposgrp.h:111