OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EM::Horizon2DGeometry Class Reference

2D HorizonGeometry More...

Inheritance diagram for EM::Horizon2DGeometry:
[legend]

Public Member Functions

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

Static Public Member Functions

static const char * sKeyLineIDs ()
 
static const char * sKeyLineNames ()
 
static const char * sKeyLineSets ()
 
static const char * sKeyID ()
 
static const char * sKeyTraceRange ()
 
static const char * sKeyTrcRg ()
 
static const char * sKeyNrLines ()
 

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 *)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

TypeSet< Pos::GeomIDgeomids_
 
- Protected Attributes inherited from EM::SurfaceGeometry
Surfacesurface_
 
ObjectSet< Geometry::Elementsections_
 
TypeSet< SectionIDsids_
 
BufferStringSet sectionnames_
 
bool changed_
 

Detailed Description

2D HorizonGeometry

Constructor & Destructor Documentation

EM::Horizon2DGeometry::Horizon2DGeometry ( Surface )

Member Function Documentation

bool EM::Horizon2DGeometry::addLine ( Pos::GeomID  geomid,
int  step = 1 
)
bool EM::Horizon2DGeometry::addLine ( Pos::GeomID  geomid,
const StepInterval< int > &  trcrg 
)
StepInterval<int> EM::Horizon2DGeometry::colRange ( const SectionID ,
Pos::GeomID  geomid 
) const
StepInterval<int> EM::Horizon2DGeometry::colRange ( Pos::GeomID  geomid) const
Geometry::Horizon2DLine* EM::Horizon2DGeometry::createSectionGeometry ( ) const
protectedvirtual

Implements EM::SurfaceGeometry.

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

Reimplemented from EM::SurfaceGeometry.

Pos::GeomID EM::Horizon2DGeometry::geomID ( int  idx) const
int EM::Horizon2DGeometry::getConnectedPos ( const PosID posid,
TypeSet< PosID > *  res 
) const
virtual
Returns
the number of connected pos.

Reimplemented from EM::SurfaceGeometry.

PosID EM::Horizon2DGeometry::getNeighbor ( const PosID ,
bool  nextcol,
bool  retundef = false 
) const
Parameters
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.
PosID EM::Horizon2DGeometry::getPosID ( const TrcKey ) const
virtual

Implements EM::HorizonGeometry.

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

Implements EM::HorizonGeometry.

bool EM::Horizon2DGeometry::includeLine ( Pos::GeomID  geomid,
int  step = 1 
)
bool EM::Horizon2DGeometry::isAtEdge ( const PosID ) const
virtual

Reimplemented from EM::SurfaceGeometry.

int EM::Horizon2DGeometry::lineIndex ( Pos::GeomID  geomid) const
int EM::Horizon2DGeometry::lineIndex ( const char *  linenm) const
const char* EM::Horizon2DGeometry::lineName ( int  id) const
const char* EM::Horizon2DGeometry::lineSet ( int  id) const
int EM::Horizon2DGeometry::nrLines ( ) const
void EM::Horizon2DGeometry::removeLine ( Pos::GeomID  geomid)
Geometry::Horizon2DLine* EM::Horizon2DGeometry::sectionGeometry ( const SectionID )
virtual

Reimplemented from EM::SurfaceGeometry.

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

Reimplemented from EM::SurfaceGeometry.

static const char* EM::Horizon2DGeometry::sKeyID ( )
inlinestatic
static const char* EM::Horizon2DGeometry::sKeyLineIDs ( )
inlinestatic
static const char* EM::Horizon2DGeometry::sKeyLineNames ( )
inlinestatic
static const char* EM::Horizon2DGeometry::sKeyLineSets ( )
inlinestatic
static const char* EM::Horizon2DGeometry::sKeyNrLines ( )
inlinestatic
static const char* EM::Horizon2DGeometry::sKeyTraceRange ( )
inlinestatic
static const char* EM::Horizon2DGeometry::sKeyTrcRg ( )
inlinestatic
bool EM::Horizon2DGeometry::usePar ( const IOPar )
protectedvirtual

Reimplemented from EM::SurfaceGeometry.

Member Data Documentation

TypeSet<Pos::GeomID> EM::Horizon2DGeometry::geomids_
protected

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