OpendTect-6_4  6.4
uisetpickdirs.h
Go to the documentation of this file.
1 #ifndef uisetpickdirs_h
2 #define uisetpickdirs_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert Bril
9  Date: Dec 2003
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "uiattributesmod.h"
17 #include "uidialog.h"
18 #include "attribdescid.h"
19 
20 namespace Attrib { class DescSet; };
21 
22 class NLAModel;
23 class CtxtIOObj;
24 class uiAttrSel;
25 class uiGenInput;
26 class DataPointSet;
27 class uiSteerAttrSel;
28 namespace Pick { class Set; }
29 
32 mExpClass(uiAttributes) uiSetPickDirs : public uiDialog
34 public:
36  const Attrib::DescSet* a=0,
37  const NLAModel* n=0,
38  float vel=0);
39  ~uiSetPickDirs();
40 
41 protected:
42 
46  const NLAModel* nlamdl_;
48 
53  float velocity_;
54 
55  void dirinpSel(CallBacker*);
56 
57  bool acceptOK(CallBacker*);
58  bool getAndCheckAttribSelection(DataPointSet&);
59  bool extractDipOrAngl(DataPointSet&);
60  void createSteeringDesc(int,const Attrib::DescID&);
61  bool getNLAIds(TypeSet<Attrib::DescID>&);
62  Attrib::DescID getAttribID(uiAttrSel*,
64 
65  float calcPhi(float,float);
66  float calcTheta(float,float);
67  void wrapPhi(float&);
68  void wrapTheta(float&);
69 };
70 
71 
72 #endif
#define mExpClass(module)
Definition: commondefs.h:160
const NLAModel * nlamdl_
Definition: uisetpickdirs.h:46
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
uiAttrSel * thetafld_
Definition: uisetpickdirs.h:50
Set of data points with group selection.
Definition: datapointset.h:48
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Minimum Interface for NLA models.
Definition: nlamodel.h:20
Set of attribute descriptions.
Definition: attribdescset.h:35
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 Attrib::DescSet * ads_
Definition: uisetpickdirs.h:44
uiAttrSel * phifld_
Definition: uisetpickdirs.h:49
Definition: uiparent.h:26
uiSteerAttrSel * steerfld_
Definition: uisetpickdirs.h:52
bool usesteering_
Definition: uisetpickdirs.h:47
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Definition: ctxtioobj.h:142
Pick::Set & ps_
Definition: uisetpickdirs.h:43
Definition: uidialog.h:42
Set of picks with something in common.
Definition: pickset.h:31
Definition: uisetpickdirs.h:32
General Input Element.
Definition: uigeninput.h:58
Definition: uisteeringsel.h:24
Definition: picklocation.h:21
User interface element for storing attribute desc selection.
Definition: uiattrsel.h:174
Attrib::DescSet * createdset_
Definition: uisetpickdirs.h:45
float velocity_
Definition: uisetpickdirs.h:53
uiGenInput * dirinpfld_
Definition: uisetpickdirs.h:51
Semblance Attribute.
Definition: attribdataholder.h:25

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