OpendTect  6.6
emfaultset3d.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: Raman Singh
8  Date: Sep 2018
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "emfault3d.h"
15 
16 namespace EM
17 {
18 
19 typedef int FaultID;
20 
21 
26 mExpClass(EarthModel) FaultSet3D : public EMObject
28 public:
29 
31 
32  int nrFaults() const;
33  FaultID getFaultID(int idx) const;
34 
38 
39 
42 
43  int nrSections() const { return 1; }
44  SectionID sectionID(int) const { return 0; }
45 
47  virtual Executor* saver();
48 
49 protected:
50 
51  const IOObjContext& getIOObjContext() const;
52  int indexOf(FaultID) const;
53 
54  friend class ObjectManager;
55 
58  int curidnr_;
59 };
60 
61 } // namespace EM
ConstRefMan
Definition: ptrman.h:233
EM::FaultSet3D::removeFault
bool removeFault(FaultID)
EM::FaultSet3D::indexOf
int indexOf(FaultID) const
EM::FaultSet3D::getFault3D
RefMan< Fault3D > getFault3D(FaultID)
EM::FaultSet3D::sectionID
SectionID sectionID(int) const
Definition: emfaultset3d.h:44
EM::FaultSet3D::getIOObjContext
const IOObjContext & getIOObjContext() const
ObjectSet
Set of pointers to objects.
Definition: commontypes.h:31
EM::FaultSet3D::saver
virtual Executor * saver()
EM::FaultSet3D::getUserTypeStr
uiString getUserTypeStr() const
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
EM
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: bulk2dhorizonscanner.h:26
EM::FaultSet3D::addFault
bool addFault(RefMan< Fault3D >, FaultID)
EM::FaultSet3D::nrSections
int nrSections() const
Definition: emfaultset3d.h:43
EM::FaultSet3D::getFault3D
ConstRefMan< Fault3D > getFault3D(FaultID) const
EM::FaultSet3D::faults_
ObjectSet< Fault3D > faults_
Definition: emfaultset3d.h:56
EM::FaultSet3D::nrFaults
int nrFaults() const
Executor
Specification to enable chunkwise execution of a process.
Definition: executor.h:39
IOObjContext
Holds the context for selecting and/or creating IOObjs.
Definition: ctxtioobj.h:62
mDefineEMObjFuncs
#define mDefineEMObjFuncs(clss)
Definition: emobject.h:374
EM::FaultID
int FaultID
Definition: emfaultset3d.h:19
EM::FaultSet3D::curidnr_
int curidnr_
Definition: emfaultset3d.h:58
EM::FaultSet3D::ids_
TypeSet< FaultID > ids_
Definition: emfaultset3d.h:57
EM::SectionID
od_int16 SectionID
Definition: emposid.h:24
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
EM::FaultSet3D::loader
Executor * loader()
EM::EMObject
Base class for all EarthModel objects.
Definition: emobject.h:159
EM::FaultSet3D::getFaultID
FaultID getFaultID(int idx) const
EM::FaultSet3D
3D FaultSet
Definition: emfaultset3d.h:27
emfault3d.h
EM::FaultSet3D::addFault
FaultID addFault(RefMan< Fault3D >)
TypeSet< FaultID >
RefMan
Definition: ptrman.h:206

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