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

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