OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
EM::Horizon2DGeometry Class Reference

2D HorizonGeometry More...

Inheritance diagram for EM::Horizon2DGeometry:
[legend]

Public Member Functions

 Horizon2DGeometry (Surface &)
 
 ~Horizon2DGeometry ()
 
bool addLine (Pos::GeomID geomid, const StepInterval< int > &trcrg)
 
bool addLine (Pos::GeomID geomid, int step=1)
 
StepInterval< int > colRange (const SectionID &, Pos::GeomID geomid) const
 
StepInterval< int > colRange (Pos::GeomID geomid) const
 
const Geometry::Horizon2DLinegeometryElement () const override
 
Geometry::Horizon2DLinegeometryElement () override
 
Pos::GeomID geomID (int idx) const
 
int getConnectedPos (const PosID &posid, TypeSet< PosID > *res) const override
 
void getGeomIDs (TypeSet< Pos::GeomID > &) const
 
PosID getNeighbor (const PosID &posid, bool nextcol, bool retundef=false) const
 
PosID getPosID (const TrcKey &) const override
 
TrcKey getTrcKey (const PosID &) const override
 
bool hasLine (Pos::GeomID) const
 
bool includeLine (Pos::GeomID geomid, int step=1)
 
bool isAtEdge (const PosID &) const override
 
int lineIndex (const char *linenm) const
 
int lineIndex (Pos::GeomID geomid) const
 
const char * lineName (int id) const
 
const char * lineSet (int id) const
 
int nrLines () const
 
void removeLine (Pos::GeomID geomid)
 
const Geometry::Horizon2DLinesectionGeometry (const SectionID &) const override
 
Geometry::Horizon2DLinesectionGeometry (const SectionID &) override
 
- Public Member Functions inherited from EM::HorizonGeometry
 ~HorizonGeometry ()
 
- Public Member Functions inherited from EM::RowColSurfaceGeometry
 RowColSurfaceGeometry (Surface &)
 
virtual ~RowColSurfaceGeometry ()
 
StepInterval< int > colRange () const
 
StepInterval< int > colRange (const SectionID &, int row) const
 
StepInterval< int > colRange (int row) const
 
EMObjectIteratorcreateIterator (const TrcKeyZSampling *=nullptr) const override
 
const Geometry::RowColSurfacegeometryElement () const override
 
Geometry::RowColSurfacegeometryElement () override
 
StepInterval< int > rowRange () const
 
StepInterval< int > rowRange (const SectionID &) const
 
const Geometry::RowColSurfacesectionGeometry (const SectionID &) const override
 
Geometry::RowColSurfacesectionGeometry (const SectionID &) override
 
- Public Member Functions inherited from EM::SurfaceGeometry
virtual ~SurfaceGeometry ()
 
mDeprecatedObs SectionID addSection (const char *nm, bool addtohistory)
 
mDeprecatedObs SectionID addSection (const char *nm, const SectionID &, bool addtohistory)
 
virtual mDeprecatedObs SectionID cloneSection (const SectionID &)
 
EMObjectIteratorcreateIterator (const EM::SectionID &, const TrcKeyZSampling *t=0) const
 
virtual bool enableChecks (bool yn)
 
virtual int findPos (const Interval< float > &x, const Interval< float > &y, const Interval< float > &z, TypeSet< PosID > *) const
 
virtual mDeprecatedDef int findPos (const SectionID &, const Interval< float > &x, const Interval< float > &y, const Interval< float > &z, TypeSet< PosID > *res) const
 
virtual int findPos (const TrcKeyZSampling &, TypeSet< PosID > *) const
 
virtual void getLinkedPos (const PosID &posid, TypeSet< PosID > &) const
 
mDeprecatedObs bool hasSection (const SectionID &) const
 
bool isChanged (int) const
 
virtual bool isChecksEnabled () const
 
virtual bool isFullResolution () const
 
virtual bool isLoaded () const
 
virtual bool isNodeOK (const PosID &) const
 
virtual Executorloader (const SurfaceIODataSelection *=nullptr, const ZAxisTransform *=nullptr)
 
int nrSections () const
 
virtual void removeAll ()
 
virtual mDeprecatedObs bool removeSection (const SectionID &, bool addtohistory)
 
void resetChangedFlag ()
 
virtual Executorsaver (const SurfaceIODataSelection *=nullptr, const MultiID *=nullptr)
 
mDeprecatedObs SectionID sectionID (const char *) const
 
mDeprecatedObs SectionID sectionID (int idx) const
 
mDeprecatedObs int sectionIndex (const SectionID &) const
 
mDeprecatedObs const char * sectionName (const SectionID &) const
 
mDeprecatedObs bool setSectionName (const SectionID &, const char *, bool addtohistory)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

Static Public Member Functions

static const char * sKeyID ()
 
static const char * sKeyLineIDs ()
 
static const char * sKeyLineNames ()
 
static const char * sKeyLineSets ()
 
static const char * sKeyNrLines ()
 
static const char * sKeyTraceRange ()
 
static const char * sKeyTrcRg ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

Geometry::Horizon2DLinecreateGeometryElement () const override
 
bool doAddLine (Pos::GeomID geomid, const StepInterval< int > &trcrg, bool mergewithdouble)
 
void fillPar (IOPar &) const override
 
bool usePar (const IOPar &) override
 
- Protected Member Functions inherited from EM::HorizonGeometry
 HorizonGeometry (Surface &)
 
- Protected Member Functions inherited from EM::SurfaceGeometry
 SurfaceGeometry (Surface &)
 
mDeprecatedObs SectionID addSectionInternal (Geometry::Element *, const char *nm, const SectionID &, bool addtohistory)
 
void geomChangeCB (CallBacker *)
 

Additional Inherited Members

- Protected Attributes inherited from EM::SurfaceGeometry
bool changed_
 
ObjectSet< Geometry::Elementsections_
 
Surfacesurface_
 

Detailed Description

2D HorizonGeometry

<>

Constructor & Destructor Documentation

◆ Horizon2DGeometry()

EM::Horizon2DGeometry::Horizon2DGeometry ( Surface )

◆ ~Horizon2DGeometry()

EM::Horizon2DGeometry::~Horizon2DGeometry ( )

Member Function Documentation

◆ addLine() [1/2]

bool EM::Horizon2DGeometry::addLine ( Pos::GeomID  geomid,
const StepInterval< int > &  trcrg 
)

◆ addLine() [2/2]

bool EM::Horizon2DGeometry::addLine ( Pos::GeomID  geomid,
int  step = 1 
)

◆ colRange() [1/2]

StepInterval<int> EM::Horizon2DGeometry::colRange ( const SectionID ,
Pos::GeomID  geomid 
) const
inline

◆ colRange() [2/2]

StepInterval<int> EM::Horizon2DGeometry::colRange ( Pos::GeomID  geomid) const

◆ createGeometryElement()

Geometry::Horizon2DLine* EM::Horizon2DGeometry::createGeometryElement ( ) const
overrideprotectedvirtual

Implements EM::SurfaceGeometry.

◆ doAddLine()

bool EM::Horizon2DGeometry::doAddLine ( Pos::GeomID  geomid,
const StepInterval< int > &  trcrg,
bool  mergewithdouble 
)
protected

◆ fillPar()

void EM::Horizon2DGeometry::fillPar ( IOPar ) const
overrideprotectedvirtual

Reimplemented from EM::SurfaceGeometry.

◆ geometryElement() [1/2]

const Geometry::Horizon2DLine* EM::Horizon2DGeometry::geometryElement ( ) const
overridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ geometryElement() [2/2]

Geometry::Horizon2DLine* EM::Horizon2DGeometry::geometryElement ( )
overridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ geomID()

Pos::GeomID EM::Horizon2DGeometry::geomID ( int  idx) const

◆ getConnectedPos()

int EM::Horizon2DGeometry::getConnectedPos ( const PosID posid,
TypeSet< PosID > *  res 
) const
overridevirtual
Returns
the number of connected pos.

Reimplemented from EM::SurfaceGeometry.

◆ getGeomIDs()

void EM::Horizon2DGeometry::getGeomIDs ( TypeSet< Pos::GeomID > &  ) const

◆ getNeighbor()

PosID EM::Horizon2DGeometry::getNeighbor ( const PosID posid,
bool  nextcol,
bool  retundef = false 
) const
Parameters
posid
nextcol
retundefspecifies what to do if no neighbor is found. If it true, it returnes unf, if not it return the id of the undef neighbor.

◆ getPosID()

PosID EM::Horizon2DGeometry::getPosID ( const TrcKey ) const
overridevirtual

Implements EM::HorizonGeometry.

◆ getTrcKey()

TrcKey EM::Horizon2DGeometry::getTrcKey ( const PosID ) const
overridevirtual

Implements EM::HorizonGeometry.

◆ hasLine()

bool EM::Horizon2DGeometry::hasLine ( Pos::GeomID  ) const

◆ includeLine()

bool EM::Horizon2DGeometry::includeLine ( Pos::GeomID  geomid,
int  step = 1 
)

◆ isAtEdge()

bool EM::Horizon2DGeometry::isAtEdge ( const PosID ) const
overridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ lineIndex() [1/2]

int EM::Horizon2DGeometry::lineIndex ( const char *  linenm) const

◆ lineIndex() [2/2]

int EM::Horizon2DGeometry::lineIndex ( Pos::GeomID  geomid) const

◆ lineName()

const char* EM::Horizon2DGeometry::lineName ( int  id) const

◆ lineSet()

const char* EM::Horizon2DGeometry::lineSet ( int  id) const

◆ nrLines()

int EM::Horizon2DGeometry::nrLines ( ) const

◆ removeLine()

void EM::Horizon2DGeometry::removeLine ( Pos::GeomID  geomid)

◆ sectionGeometry() [1/2]

const Geometry::Horizon2DLine* EM::Horizon2DGeometry::sectionGeometry ( const SectionID ) const
inlineoverridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ sectionGeometry() [2/2]

Geometry::Horizon2DLine* EM::Horizon2DGeometry::sectionGeometry ( const SectionID )
inlineoverridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ sKeyID()

static const char* EM::Horizon2DGeometry::sKeyID ( )
inlinestatic

◆ sKeyLineIDs()

static const char* EM::Horizon2DGeometry::sKeyLineIDs ( )
inlinestatic

◆ sKeyLineNames()

static const char* EM::Horizon2DGeometry::sKeyLineNames ( )
inlinestatic

◆ sKeyLineSets()

static const char* EM::Horizon2DGeometry::sKeyLineSets ( )
inlinestatic

◆ sKeyNrLines()

static const char* EM::Horizon2DGeometry::sKeyNrLines ( )
inlinestatic

◆ sKeyTraceRange()

static const char* EM::Horizon2DGeometry::sKeyTraceRange ( )
inlinestatic

◆ sKeyTrcRg()

static const char* EM::Horizon2DGeometry::sKeyTrcRg ( )
inlinestatic

◆ usePar()

bool EM::Horizon2DGeometry::usePar ( const IOPar )
overrideprotectedvirtual

Reimplemented from EM::SurfaceGeometry.


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