OpendTect-6_4  6.4
uiattr2dsel.h
Go to the documentation of this file.
1 #ifndef uiattr2dsel_h
2 #define uiattr2dsel_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: R. K. Singh
9  Date: Nov 2007
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiattributesmod.h"
16 #include "uidialog.h"
17 #include "attribsel.h"
18 #include "bufstring.h"
19 
20 namespace Attrib { class Desc; class DescSet; class SelInfo; }
21 
22 class uiButtonGroup;
23 class uiListBox;
24 class uiRadioButton;
25 class NLAModel;
26 
31 mExpClass(uiAttributes) uiAttr2DSelDlg : public uiDialog
33 public:
34 
36  const TypeSet<Pos::GeomID>&,
37  const NLAModel*,const char* curnm=0);
39  const TypeSet<Pos::GeomID>&,
40  const NLAModel*, ZDomain::Info&,
41  const char* curnm=0);
42  ~uiAttr2DSelDlg();
43 
44  int getSelType() const { return seltype_; }
45  const char* getStoredAttrName() const { return storednm_; }
46  Attrib::DescID getSelDescID() const { return descid_; }
47  int getComponent() const { return compnr_; }
48  int getOutputNr() const { return outputnr_; }
49 
50 protected:
51 
55  const NLAModel* nla_;
56  int seltype_;
59  int compnr_;
60  int outputnr_;
61 
67 
72 
73  void doFinalise( CallBacker* );
74  void selDone(CallBacker*);
75  virtual bool acceptOK(CallBacker*);
76  int selType() const;
77 
78  void createSelectionButtons(ZDomain::Info&);
79  void createSelectionFields(ZDomain::Info&);
80 
81  // Do not use. Deprecated.
82  void createSelectionButtons();
83  void createSelectionFields();
84 
85 };
86 
87 
88 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
int seltype_
Definition: uiattr2dsel.h:56
uiListBox * steeroutfld_
Definition: uiattr2dsel.h:69
const NLAModel * nla_
Definition: uiattr2dsel.h:55
Attrib::DescID getSelDescID() const
Definition: uiattr2dsel.h:46
TypeSet< Pos::GeomID > geomids_
Definition: uiattr2dsel.h:53
Supplies lists of available attribute input.
Definition: attribsel.h:150
Attrib::SelInfo * attrinf_
Definition: uiattr2dsel.h:52
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Minimum Interface for NLA models.
Definition: nlamodel.h:20
uiRadioButton * attrfld_
Definition: uiattr2dsel.h:65
Set of attribute descriptions.
Definition: attribdescset.h:35
uiButtonGroup * selgrp_
Definition: uiattr2dsel.h:62
AttribDesc ID: each Desc has a unique ID in a set; the boolean isstored allows us to know whether thi...
Definition: attribdescid.h:27
Definition: uiparent.h:26
int getOutputNr() const
Definition: uiattr2dsel.h:48
Selection dialog for 2D attributes.
Definition: uiattr2dsel.h:31
Definition: uidialog.h:42
uiListBox * storoutfld_
Definition: uiattr2dsel.h:68
List Box.
Definition: uilistbox.h:75
uiListBox * attroutfld_
Definition: uiattr2dsel.h:70
int getSelType() const
Definition: uiattr2dsel.h:44
int compnr_
Definition: uiattr2dsel.h:59
FixedString Desc()
Definition: keystrs.h:62
BufferString storednm_
Definition: uiattr2dsel.h:57
Attrib::DescID descid_
Definition: uiattr2dsel.h:54
uiRadioButton * nlafld_
Definition: uiattr2dsel.h:66
uiListBox * nlaoutfld_
Definition: uiattr2dsel.h:71
Definition: uibuttongroup.h:30
Definition: uibutton.h:114
BufferString curnm_
Definition: uiattr2dsel.h:58
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
uiRadioButton * storfld_
Definition: uiattr2dsel.h:63
const char * getStoredAttrName() const
Definition: uiattr2dsel.h:45
int getComponent() const
Definition: uiattr2dsel.h:47
uiRadioButton * steerfld_
Definition: uiattr2dsel.h:64
Information of z-domain.
Definition: zdomain.h:91
Semblance Attribute.
Definition: attribdataholder.h:25
int outputnr_
Definition: uiattr2dsel.h:60

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019