OpendTect-6_4
6.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
od6.4.5
include
EarthModel
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
27
{
mDefineEMObjFuncs
(
FaultSet3D
);
28
public
:
29
30
uiString
getUserTypeStr()
const
;
31
32
int
nrFaults()
const
;
33
FaultID getFaultID(
int
idx)
const
;
34
35
FaultID
addFault
(
RefMan<Fault3D>
);
36
bool
addFault
(
RefMan<Fault3D>
,FaultID);
37
bool
removeFault
(FaultID);
38
39
40
RefMan<Fault3D>
getFault3D(FaultID);
41
ConstRefMan<Fault3D>
getFault3D(FaultID)
const
;
42
43
int
nrSections
()
const
{
return
1; }
44
SectionID
sectionID
(
int
)
const
{
return
0; }
45
46
Executor
* loader();
47
virtual
Executor
* saver();
48
49
protected
:
50
51
const
IOObjContext
&
getIOObjContext
()
const
;
52
int
indexOf
(FaultID)
const
;
53
54
friend
class
ObjectManager;
55
56
ObjectSet<Fault3D>
faults_
;
57
TypeSet<FaultID>
ids_
;
58
int
curidnr_
;
59
};
60
61
}
// namespace EM
EM::SectionID
od_int16 SectionID
Definition:
emposid.h:25
mExpClass
#define mExpClass(module)
Definition:
commondefs.h:160
EM::FaultID
int FaultID
Definition:
emfaultset3d.h:19
EM::FaultSet3D::sectionID
SectionID sectionID(int) const
Definition:
emfaultset3d.h:44
emfault3d.h
uiString
Definition:
uistring.h:89
indexOf
ObjectSet< T >::size_type indexOf(const ObjectSet< T > &os, const S &val)
Locate object in set.
Definition:
objectset.h:169
ObjectSet
Set of pointers to objects.
Definition:
commontypes.h:32
mDefineEMObjFuncs
#define mDefineEMObjFuncs(clss)
Definition:
emobject.h:373
TypeSet< FaultID >
EM::FaultSet3D::curidnr_
int curidnr_
Definition:
emfaultset3d.h:58
EM::FaultSet3D::faults_
ObjectSet< Fault3D > faults_
Definition:
emfaultset3d.h:56
MPE::removeFault
void removeFault(EM::Fault &)
EM::FaultSet3D::ids_
TypeSet< FaultID > ids_
Definition:
emfaultset3d.h:57
EM::FaultSet3D
3D FaultSet
Definition:
emfaultset3d.h:26
EM::EMObject
Base class for all EarthModel objects.
Definition:
emobject.h:158
EM
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition:
embody.h:25
MPE::addFault
void addFault(EM::Fault &)
EM::FaultSet3D::nrSections
int nrSections() const
Definition:
emfaultset3d.h:43
ConstRefMan
Definition:
ptrman.h:190
Seis::getIOObjContext
IOObjContext * getIOObjContext(Seis::GeomType, bool forread)
RefMan
Definition:
ptrman.h:168
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
Generated at for the
OpendTect
seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019