OpendTect  6.6
emfsstofault3d.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: J.C. Glas
8  Date: March 2009
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 
13 -*/
14 
15 #include "earthmodelmod.h"
16 #include "emposid.h"
17 #include "coord.h"
18 #include "sets.h"
19 
20 
21 namespace Geometry { class FaultStickSet; }
22 
23 namespace EM
24 {
25 
26 class FaultStickSet;
27 class Fault3D;
28 
34 {
35 public:
36 
37  mExpClass(EarthModel) Setup
38  {
39  public:
40  Setup();
41 
42  enum DirSpec { Auto, Horizontal, Vertical };
43 
44  mDefSetupMemb(DirSpec,pickplanedir) // Default Auto
45  mDefSetupMemb(bool,sortsticks) // Default true
46  mDefSetupMemb(double,zscale) // Default SI().zScale()
47 
48  mDefSetupMemb(bool,useinlcrlslopesep) // Default false
49  mDefSetupMemb(double,stickslopethres) // Default mUdf(double)
50  mDefSetupMemb(DirSpec,stickseldir) // Default Auto
51 
52  mDefSetupMemb(bool,addtohistory) // Default false
53  };
54 
56  const FaultStickSet&,
57  Fault3D&);
58  bool convert(bool forimport);
59 
60 protected:
61 
62  mExpClass(EarthModel) FaultStick
63  {
64  public:
65  FaultStick(int sticknr);
66 
67  int sticknr_;
71 
73  double slope(double zscale) const;
74  bool pickedOnInl() const;
75  bool pickedOnCrl() const;
76  bool pickedOnTimeSlice() const;
77  bool pickedOnHorizon() const;
78  };
79 
84 
86 
87  bool readSection(const SectionID&);
89  bool preferHorPicked() const;
90  void selectSticks( bool selhorpicked );
91  void geometricSort(double zscale,bool forimport);
92  void untwistSticks(double zscale);
94  bool writeSection(const SectionID&) const;
95 };
96 
97 } // namespace EM
98 
EM::FSStoFault3DConverter::FaultStick::sticknr_
int sticknr_
Definition: emfsstofault3d.h:67
EM::FSStoFault3DConverter::FaultStick::findPlaneNormal
Coord3 findPlaneNormal() const
Coord3
A cartesian coordinate in 3D space.
Definition: coord.h:72
emposid.h
EM::FSStoFault3DConverter::FaultStick::normal_
Coord3 normal_
Definition: emfsstofault3d.h:69
ObjectSet
Set of pointers to objects.
Definition: commontypes.h:31
EM::FSStoFault3DConverter::FaultStick::crds_
TypeSet< Coord3 > crds_
Definition: emfsstofault3d.h:68
EM::FSStoFault3DConverter::geometricSort
void geometricSort(double zscale, bool forimport)
Geometry
Definition: arraytesselator.h:21
EM::FSStoFault3DConverter::curfssg_
const Geometry::FaultStickSet * curfssg_
Definition: emfsstofault3d.h:85
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
EM::FSStoFault3DConverter::FaultStick
Definition: emfsstofault3d.h:63
mDefSetupMemb
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:154
EM
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: bulk2dhorizonscanner.h:26
EM::FSStoFault3DConverter::selectSticks
void selectSticks(bool selhorpicked)
EM::FSStoFault3DConverter::untwistSticks
void untwistSticks(double zscale)
EM::FSStoFault3DConverter::fault3d_
Fault3D & fault3d_
Definition: emfsstofault3d.h:81
EM::FSStoFault3DConverter::Setup
Definition: emfsstofault3d.h:38
EM::FSStoFault3DConverter::setup_
Setup setup_
Definition: emfsstofault3d.h:82
EM::FSStoFault3DConverter::FaultStick::pickedOnInl
bool pickedOnInl() const
EM::FSStoFault3DConverter::Setup::mDefSetupMemb
mDefSetupMemb(DirSpec, pickplanedir) mDefSetupMemb(bool
EM::FSStoFault3DConverter::resolveUdfNormals
void resolveUdfNormals()
EM::FSStoFault3DConverter::FaultStick::pickedOnCrl
bool pickedOnCrl() const
EM::FSStoFault3DConverter::readSection
bool readSection(const SectionID &)
EM::FSStoFault3DConverter::Setup::Setup
Setup()
EM::FSStoFault3DConverter::FaultStick::FaultStick
FaultStick(int sticknr)
OD::Vertical
@ Vertical
Definition: oduicommon.h:25
EM::FSStoFault3DConverter::FaultStick::pickedonplane_
bool pickedonplane_
Definition: emfsstofault3d.h:70
EM::SectionID
od_int16 SectionID
Definition: emposid.h:24
EM::FSStoFault3DConverter
FaultStickSet to Fault3D converter.
Definition: emfsstofault3d.h:34
EM::FSStoFault3DConverter::preferHorPicked
bool preferHorPicked() const
OD::Horizontal
@ Horizontal
Definition: oduicommon.h:24
EM::FSStoFault3DConverter::writeSection
bool writeSection(const SectionID &) const
EM::FSStoFault3DConverter::FaultStick::pickedOnHorizon
bool pickedOnHorizon() const
EM::FaultStickSet
Fault stick set.
Definition: emfaultstickset.h:100
EM::FSStoFault3DConverter::fss_
const FaultStickSet & fss_
Definition: emfsstofault3d.h:80
Geometry::FaultStickSet
Definition: faultstickset.h:27
EM::FSStoFault3DConverter::Setup::DirSpec
DirSpec
Definition: emfsstofault3d.h:42
EM::FSStoFault3DConverter::FaultStick::slope
double slope(double zscale) const
EM::FSStoFault3DConverter::readSectionForImport
bool readSectionForImport(const SectionID &)
EM::Fault3D
3D Fault
Definition: emfault3d.h:78
sets.h
Angle::convert
T convert(Type inptyp, T val, Type outtyp)
Definition: angles.h:75
EM::FSStoFault3DConverter::sticks_
ObjectSet< FaultStick > sticks_
Definition: emfsstofault3d.h:83
TypeSet< Coord3 >
coord.h
EM::FSStoFault3DConverter::FaultStick::pickedOnTimeSlice
bool pickedOnTimeSlice() const

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