15 #include "uiattributesmod.h" 22 namespace Attrib {
class Desc;
class DescSet;
class SelInfo;
class SelSpec; }
23 namespace ZDomain {
class Info; }
43 uiAttrSelData(
bool is2d,
bool fillwithdef=
true);
45 bool fillwithdef=
true);
56 {
if ( ds ) attrset_ = ds; }
86 , ignoreid_(
Attrib::DescID::undef())
87 , isinp4otherattrib_(false)
88 , showsteeringdata_(false)
109 int outputNr()
const {
return attrdata_.outputnr_; }
111 int compNr()
const {
return attrdata_.compnr_; }
113 const char* zDomainKey()
const;
115 bool is2D()
const {
return attrdata_.is2D(); }
153 void createSelectionButtons();
154 void createSelectionFields();
156 bool getAttrData(
bool);
157 void replaceStoredByInMem();
180 bool isinp4otherattrib =
true);
182 bool isinp4otherattrib =
true);
186 int outputNr()
const {
return attrdata_.outputnr_; }
187 inline bool is2D()
const {
return attrdata_.is2D(); }
205 virtual void getHistory(
const IOPar&);
206 virtual void processInput();
213 bool checkOutput(
const IOObj&)
const;
214 const char* getAttrName()
const;
216 void setObjectName(
const char*);
236 virtual const char* userNameFromKey(
const char*)
const;
252 : uiAttrSel(p,txt,asd) {}
#define mExpClass(module)
Definition: commondefs.h:160
uiImagAttrSel(uiParent *p, const char *txt, const uiAttrSelData &asd)
Definition: uiattrsel.h:250
bool usedasinput_
Definition: uiattrsel.h:124
TypeSet< DataPack::FullID > dpfids_
Definition: uiattrsel.h:130
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
int seltype_
Definition: uiattrsel.h:227
Attrib::DescID attribID() const
-1 if not selected
Definition: uiattrsel.h:107
uiGenInput * filtfld_
Definition: uiattrsel.h:145
uiAttrSelData attrdata_
Definition: uiattrsel.h:122
const char * str() const
Definition: odstring.h:48
int outputNr() const
Definition: uiattrsel.h:186
Supplies lists of available attribute input.
Definition: attribsel.h:150
uiAttrSelData attrdata_
Definition: uiattrsel.h:221
const char * errMsg()
Definition: uiattrsel.h:208
int compNr() const
-1 if not selected
Definition: uiattrsel.h:111
Definition: uiattrsel.h:81
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
const Attrib::DescSet * attrset_
Definition: uiattrsel.h:61
Minimum Interface for NLA models.
Definition: nlamodel.h:20
bool is2d_
Definition: uiattrsel.h:222
User interface element for getting attribute with both real and imaginary part.
Definition: uiattrsel.h:247
Set of attribute descriptions.
Definition: attribdescset.h:35
uiRadioButton * nlafld_
Definition: uiattrsel.h:137
AttribDesc ID: each Desc has a unique ID in a set; the boolean isstored allows us to know whether thi...
Definition: attribdescid.h:27
const NLAModel * nlamodel_
Definition: uiattrsel.h:48
MultiID insertedobjmid_
Definition: uiattrsel.h:131
uiRadioButton * steerfld_
Definition: uiattrsel.h:135
Attrib::SelInfo * attrinf_
Definition: uiattrsel.h:123
Definition: uistring.h:89
BufferString usrnm_
Definition: uiattrsel.h:226
Definition: uiparent.h:26
Attrib::DescID attribid_
Definition: uiattrsel.h:47
uiListBox * attroutfld_
Definition: uiattrsel.h:142
uiListBox * storoutfld_
Definition: uiattrsel.h:140
uiLabeledComboBox * compfld_
Definition: uiattrsel.h:147
TypeSet< DataPack::FullID > dpfids_
Definition: uiattrsel.h:231
Definition: uidialog.h:42
Setup(const uiString &txt)
Definition: uiattrsel.h:84
ObjectSet< uiIOObjInserter > inserters_
Definition: uiattrsel.h:149
bool in_action_
Definition: uiattrsel.h:125
uiRadioButton * attrfld_
Definition: uiattrsel.h:136
List Box.
Definition: uilistbox.h:75
uiListBox * zdomoutfld_
Definition: uiattrsel.h:144
BufferString zdomainkey_
Definition: uiattrsel.h:127
FixedString Desc()
Definition: keystrs.h:62
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
const Attrib::DescSet & getAttrSet() const
Definition: uiattrsel.h:116
Description of an attribute in an Attrib::DescSet. Each attribute has a name (e.g. "Similarity"), a user reference (e.g. "My similarity"), and at least one output. In addition, it may have parameters and inputs. If it has multiple outputs, only one of the outputs are selected.
Definition: attribdesc.h:89
bool showsteerdata_
Definition: uiattrsel.h:126
BufferString errmsg_
Definition: uiattrsel.h:225
Hor+Vert sampling in 3D surveys.
Definition: trckeyzsampling.h:35
inserts a new object into the OD data store.
Definition: uiioobjinserter.h:31
bool is2D() const
Definition: uiattrsel.h:187
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
Definition: uicombobox.h:133
uiRadioButton * storfld_
Definition: uiattrsel.h:134
bool is3D() const
Definition: uiattrsel.h:188
int compnr_
Definition: uiattrsel.h:50
uiGenInput * attr2dfld_
Definition: uiattrsel.h:146
bool showsteeringdata_
Definition: uiattrsel.h:228
static DescID undef()
Definition: attribdescid.h:58
User Interface (UI) element for selection of Attributes from an attribute set.
Definition: uiattrsel.h:77
Index_Type GeomID
Definition: commontypes.h:52
uiListBox * nlaoutfld_
Definition: uiattrsel.h:143
Attrib::DescID realID() const
Definition: uiattrsel.h:254
void setIgnoreID(Attrib::DescID id)
Definition: uiattrsel.h:199
const ZDomain::Info * zdomaininfo_
Definition: uiattrsel.h:51
Attrib::DescID attribID() const
Definition: uiattrsel.h:185
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
BufferString errmsg_
Definition: horizontracker.h:119
uiListBox * steeroutfld_
Definition: uiattrsel.h:141
User interface for attribute selection data.
Definition: uiattrsel.h:39
bool is2D(const PicksType &picks)
Definition: pickset.h:142
bool usedasinput_
Definition: uiattrsel.h:224
uiRadioButton * zdomainfld_
Definition: uiattrsel.h:138
User interface element for storing attribute desc selection.
Definition: uiattrsel.h:174
ObjectSet< uiButton > extselbuts_
Definition: uiattrsel.h:150
void setGeomID(Pos::GeomID id)
Definition: uiattrsel.h:202
void showSteeringData(bool yn)
Definition: uiattrsel.h:201
Specifies an attribute selection (ID or output number of NN).
Definition: attribsel.h:45
Pos::GeomID getGeomID() const
Definition: uiattrsel.h:203
bool is2D() const
Definition: uiattrsel.h:115
#define mUdfGeomID
Definition: survgeom.h:211
void setAttrSet(const Attrib::DescSet *ds)
Definition: uiattrsel.h:55
const Attrib::DescSet & getAttrSet() const
Definition: uiattrsel.h:217
int outputnr_
Definition: uiattrsel.h:49
Pos::GeomID geomid_
Definition: uiattrsel.h:229
~uiAttrSel()
Definition: uiattrsel.h:183
uiButtonGroup * selgrp_
Definition: uiattrsel.h:133
UI element for selection of data objects.
Definition: uiiosel.h:30
Information of z-domain.
Definition: zdomain.h:91
Compound key consisting of ints.
Definition: multiid.h:25
Semblance Attribute.
Definition: attribdataholder.h:25
int outputNr() const
-1 if not selected
Definition: uiattrsel.h:109
const Attrib::DescSet & attrSet() const
Definition: uiattrsel.h:54
Pos::GeomID geomid_
Definition: uiattrsel.h:128
Attrib::DescID ignoreid_
Definition: uiattrsel.h:223