 |
OpendTect
6.6
|
Go to the documentation of this file.
16 #include "uiodmainmod.h"
41 enum PosType {InLine=0, CrossLine=1, Line2D=2,
ZSlice=3, RdmLine=4 };
44 Viewer2DPosDataSel() { clean(); }
45 virtual ~Viewer2DPosDataSel() {}
46 Viewer2DPosDataSel(
const Viewer2DPosDataSel& sd)
48 postype_ = sd.postype_;
49 selspec_ = sd.selspec_;
51 rdmlineid_ = sd.rdmlineid_;
52 rdmlinemultiid_ = sd.rdmlinemultiid_;
54 selectdata_ = sd.selectdata_;
59 postype_ =
SI().
has3D() ? Viewer2DPosDataSel::InLine
60 : Viewer2DPosDataSel::Line2D;
65 rdmlineid_ =
mUdf(
int);
78 static const char* sKeyRdmLineMultiID(){
return "Random Line MultiID"; }
79 static const char* sKeyRdmLineID() {
return "Random Line ID"; }
80 static const char* sKeySelectData() {
return "Select Data"; }
94 bool withpostype=
false);
101 {
return posdatasel_->postype_; }
107 const Viewer2DPosDataSel&
posDataSel()
const {
return *posdatasel_; }
uiAttrSel * inp2dfld_
Definition: uiodviewer2dposgrp.h:120
void createSliceSel(uiSliceSel::Type)
void setApplSceneMgr(uiODMain &)
uiAttrSel * inp3dfld_
Definition: uiodviewer2dposgrp.h:121
uiIOObjSel * rdmlinefld_
Definition: uiodviewer2dposgrp.h:122
FixedString RandomLine()
Definition: keystrs.h:127
Viewer2DPosDataSel * posdatasel_
Definition: uiodviewer2dposgrp.h:115
virtual void usePar(const IOPar &)
Definition: arraytesselator.h:21
#define mExpClass(module)
Definition: commondefs.h:177
void inpSel(CallBacker *)
#define mDeclareEnumUtils(enm)
Some utilities surrounding the often needed enum <-> string table.
Definition: enums.h:257
mODTextTranslationClass(uiODViewer2DPosGrp) public ~uiODViewer2DPosGrp()
@ ZSlice
Definition: oduicommon.h:35
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
Definition: uislicesel.h:29
uiPushButton * genrdmlinebut_
Definition: uiodviewer2dposgrp.h:125
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
ObjectSet< uiSliceSel > sliceselflds_
Definition: uiodviewer2dposgrp.h:126
Type
Definition: uislicesel.h:32
void updateTrcKeySampFld()
uiSeis2DSubSel * subsel2dfld_
Definition: uiodviewer2dposgrp.h:123
#define mODTextTranslationClass(clss)
Definition: uistring.h:40
uiGroup * topgrp_
Definition: uiodviewer2dposgrp.h:127
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
Viewer2DPosDataSel & posDataSel()
Definition: uiodviewer2dposgrp.h:106
const Viewer2DPosDataSel & posDataSel() const
Definition: uiodviewer2dposgrp.h:107
void attr2DSelected(CallBacker *)
void genRdmLine(CallBacker *)
static const MultiID & udf()
uiLabeledComboBox * postypefld_
Definition: uiodviewer2dposgrp.h:119
Definition: uicombobox.h:145
void rdmLineDlgClosed(CallBacker *)
uiPushButton * gen2dlinebut_
Definition: uiodviewer2dposgrp.h:124
#define mStruct(module)
Definition: commondefs.h:182
Definition: uiodviewer2dposgrp.h:88
Viewer2DPosDataSel::PosType selPosType() const
Definition: uiodviewer2dposgrp.h:100
Notifier< uiODViewer2DPosGrp > inpSelected
Definition: uiodviewer2dposgrp.h:110
User interface element for storing attribute desc selection.
Definition: uiattrsel.h:174
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:174
OpendTect application top level object.
Definition: uiodmain.h:42
Compound key consisting of ints.
Definition: multiid.h:24
Definition: uiseissubsel.h:91
uiGroup * botgrp_
Definition: uiodviewer2dposgrp.h:128
virtual bool commitSel(bool emiterror)
static Pos::GeomID cUndefGeomID()
Definition: survgeom.h:142
void gen2DLine(CallBacker *)
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:274
Application level manager - ties part servers together.
Definition: uiodapplmgr.h:55
User Interface (UI) element for selection of IOObjs.
Definition: uiioobjsel.h:38
void getSelAttrSamp(TrcKeyZSampling &)
Definition: uiparent.h:26
uiODApplMgr * applmgr_
Definition: uiodviewer2dposgrp.h:117
bool onlyvertical_
Definition: uiodviewer2dposgrp.h:114
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:45
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
void showDataSelField(bool yn)
Index_Type GeomID
Definition: commontypes.h:87
virtual void fillPar(IOPar &) const
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021