OpendTect  6.6
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 &)
 
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
 
Pos::GeomID geomID (int idx) const
 
int getConnectedPos (const PosID &posid, TypeSet< PosID > *res) const
 
void getGeomIDs (TypeSet< Pos::GeomID > &) const
 
PosID getNeighbor (const PosID &posid, bool nextcol, bool retundef=false) const
 
PosID getPosID (const TrcKey &) const
 
TrcKey getTrcKey (const PosID &) const
 
bool hasLine (Pos::GeomID) const
 
bool includeLine (Pos::GeomID geomid, int step=1)
 
bool isAtEdge (const PosID &) const
 
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)
 
Geometry::Horizon2DLinesectionGeometry (const SectionID &)
 
const Geometry::Horizon2DLinesectionGeometry (const SectionID &) const
 
- 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
 
virtual EMObjectIteratorcreateIterator (const EM::SectionID &, const TrcKeyZSampling *=0) const
 
StepInterval< int > rowRange () const
 
StepInterval< int > rowRange (const SectionID &) const
 
Geometry::RowColSurfacesectionGeometry (const SectionID &)
 
const Geometry::RowColSurfacesectionGeometry (const SectionID &) const
 
- Public Member Functions inherited from EM::SurfaceGeometry
 SurfaceGeometry (Surface &)
 
virtual ~SurfaceGeometry ()
 
SectionID addSection (const char *nm, bool addtohistory)
 
SectionID addSection (const char *nm, const SectionID &, bool addtohistory)
 
virtual SectionID cloneSection (const SectionID &)
 
virtual bool enableChecks (bool yn)
 
virtual int findPos (const Interval< float > &x, const Interval< float > &y, const Interval< float > &z, TypeSet< PosID > *) const
 
virtual 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
 
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 *s=0)
 
int nrSections () const
 
virtual void removeAll ()
 
virtual bool removeSection (const SectionID &, bool addtohistory)
 
void resetChangedFlag ()
 
virtual Executorsaver (const SurfaceIODataSelection *s=0, const MultiID *key=0)
 
SectionID sectionID (const char *) const
 
SectionID sectionID (int idx) const
 
int sectionIndex (const SectionID &) const
 
const char * sectionName (const SectionID &) const
 
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
 

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::Horizon2DLinecreateSectionGeometry () const
 
bool doAddLine (Pos::GeomID geomid, const StepInterval< int > &trcrg, bool mergewithdouble)
 
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 
- Protected Member Functions inherited from EM::HorizonGeometry
 HorizonGeometry (Surface &surf)
 
- Protected Member Functions inherited from EM::SurfaceGeometry
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_
 
BufferStringSet sectionnames_
 
ObjectSet< Geometry::Elementsections_
 
TypeSet< SectionIDsids_
 
Surfacesurface_
 

Detailed Description

2D HorizonGeometry

<>

Constructor & Destructor Documentation

◆ Horizon2DGeometry()

EM::Horizon2DGeometry::Horizon2DGeometry ( Surface )

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

◆ colRange() [2/2]

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

◆ createSectionGeometry()

Geometry::Horizon2DLine* EM::Horizon2DGeometry::createSectionGeometry ( ) const
protectedvirtual

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
protectedvirtual

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
virtual
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
virtual

Implements EM::HorizonGeometry.

◆ getTrcKey()

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

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
virtual

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]

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

Reimplemented from EM::SurfaceGeometry.

◆ sectionGeometry() [2/2]

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

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 )
protectedvirtual

Reimplemented from EM::SurfaceGeometry.


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