15 #include "uiearthmodelmod.h" 41 namespace EM {
class Surface;
class SurfaceIODataSelection; }
51 const IOObj* selIOObj()
const;
54 void setInput(
const MultiID&)
const;
60 bool haveAttrSel()
const;
68 bool fillFields(
const MultiID&,
bool showerrmsg=
true);
74 void mkAttribFld(
bool);
75 void mkSectionFld(
bool);
76 void mkRangeFld(
bool multiss=
false);
104 , typname_( type_name )
106 , withcolorfld_(
false)
107 , withstratfld_(
false)
108 , withdisplayfld_(
false)
109 , displaytext_(tr(
"Replace in tree"))
126 virtual bool processInput();
127 int getStratLevelID()
const;
128 void setColor(
const Color&);
129 Color getColor()
const;
130 bool replaceInTree()
const;
151 Setup(
const char* surftyp )
153 , withattribfld_(
true)
154 , withsectionfld_(
true)
156 , multisubsel_(
false)
157 , multiattribsel_(
true)
170 virtual bool processInput();
186 bool withclear=
false);
211 bool use_act_option=
false);
216 int defaultoptidx=0);
228 void hideClearButton(
bool yn=
true);
229 void updateOnSelChg(
bool isfltset=
false);
235 friend class uiFaultOptSel;
258 void setDataName(
const char*);
259 const char* getDataName()
const;
277 void setDataName(
const char*);
279 const char* getDataName()
const;
uiCheckBox * getDisplayFld()
Definition: uiiosurface.h:132
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
BufferString objtype_
Definition: uiiosurface.h:288
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
FixedString Setup()
Definition: keystrs.h:116
Single-line element allowing multi-parameter to be set via a dialog.
Definition: uicompoundparsel.h:31
bool forread_
Definition: uiiosurface.h:89
BufferStringSet optnms_
Definition: uiiosurface.h:245
virtual void ioDataSelChg(CallBacker *)
Definition: uiiosurface.h:81
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Group to capture a user's position subselection wishes.
Definition: uipossubsel.h:33
TypeSet< Pos::GeomID > geomids_
Definition: uiiosurface.h:242
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Selector for stratigraphic levels.
Definition: uistratlvlsel.h:24
TypeSet< int > optids_
Definition: uiiosurface.h:246
Definition: uiiosurface.h:95
virtual bool processInput()
Definition: uiiosurface.h:57
Definition: uiiosurface.h:269
const TypeSet< MultiID > & selFaultIDs() const
Definition: uiiosurface.h:222
Definition: uistring.h:89
const TypeSet< int > & getSelectedOptIndies() const
Definition: uiiosurface.h:217
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
TypeSet< MultiID > selids_
Definition: uiiosurface.h:203
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
bool is2d_
Definition: uiiosurface.h:239
uiIOObjSel * objfld_
Definition: uiiosurface.h:282
uiIOObjSel * objfld_
Definition: uiiosurface.h:86
List Box.
Definition: uilistbox.h:75
TypeSet< MultiID > selfaultids_
Definition: uiiosurface.h:241
CtxtIOObj * ctio_
Definition: uiiosurface.h:88
Definition: uiiosurface.h:182
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
uiPosSubSel * getPosSubSel()
Definition: uiiosurface.h:62
Notifier< uiFaultParSel > selChange
Definition: uiiosurface.h:231
Horizontal sampling (inline and crossline range and steps).
Definition: trckeysampling.h:27
Base group for Surface input and output.
Definition: uiiosurface.h:46
void trigger(T &t)
Definition: callback.h:258
uiIOSelect * auxdatafld_
Definition: uiiosurface.h:283
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
uiListBox * attribfld_
Definition: uiiosurface.h:84
int defaultoptidx_
Definition: uiiosurface.h:247
Definition: uiiosurface.h:145
uiStratLevelSel * stratlvlfld_
Definition: uiiosurface.h:140
Definition: uiiosurface.h:207
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
bool is2d_
Definition: uiiosurface.h:202
list of dir entries.
Definition: iodirentry.h:38
uiListBox * sectionfld_
Definition: uiiosurface.h:83
uiGenInput * inpfld_
Definition: uiiosurface.h:265
TrcKeySampling surfrange_
Definition: uiiosurface.h:141
Notifier< uiIOSurface > attrSelChange
Definition: uiiosurface.h:59
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
FixedString Surface()
Definition: keystrs.h:126
uiListBox * listfld_
Definition: uiiosurface.h:264
bool useoptions_
Definition: uiiosurface.h:244
void inpChanged()
Definition: uiiosurface.h:177
Base class for surfaces like horizons and faults. A surface is made up of one or more segments or pat...
Definition: emsurface.h:33
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
Notifier< uiIOSurface > inpChange
Definition: uiiosurface.h:173
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
uiColorInput * colbut_
Definition: uiiosurface.h:139
BufferStringSet selfaultnms_
Definition: uiiosurface.h:240
Surface I/O data selection.
Definition: emsurfaceiodata.h:62
virtual void inpChanged()
Definition: uiiosurface.h:91
uiCheckBox * displayfld_
Definition: uiiosurface.h:138
Definition: uibutton.h:134
BufferString seldatanm_
Definition: uiiosurface.h:290
Definition: uiiosurface.h:251
uiIOObjSel * getObjSel()
Definition: uiiosurface.h:61
uiPushButton * clearbut_
Definition: uiiosurface.h:248
UI element for selection of data objects.
Definition: uiiosel.h:30
MultiID key_
Definition: uiiosurface.h:289
Compound key consisting of ints.
Definition: multiid.h:25
uiPosSubSel * rgfld_
Definition: uiiosurface.h:85