OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EM::SurfaceGeometry Class Referenceabstract

Surface geometry. More...

Inheritance diagram for EM::SurfaceGeometry:
[legend]

Public Member Functions

 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 EMObjectIteratorcreateIterator (const EM::SectionID &, const TrcKeyZSampling *=0) const
 
virtual bool enableChecks (bool yn)
 
virtual void fillPar (IOPar &) const
 
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 int getConnectedPos (const PosID &posid, TypeSet< PosID > *res) const
 
virtual void getLinkedPos (const PosID &posid, TypeSet< PosID > &) const
 
bool hasSection (const SectionID &) const
 
virtual bool isAtEdge (const PosID &) 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)
 
virtual Geometry::ElementsectionGeometry (const SectionID &)
 
virtual const Geometry::ElementsectionGeometry (const SectionID &) const
 
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)
 
virtual bool usePar (const IOPar &)
 
- 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
 

Protected Member Functions

SectionID addSectionInternal (Geometry::Element *, const char *nm, const SectionID &, bool addtohistory)
 
virtual Geometry::ElementcreateSectionGeometry () const =0
 
void geomChangeCB (CallBacker *)
 

Protected Attributes

bool changed_
 
BufferStringSet sectionnames_
 
ObjectSet< Geometry::Elementsections_
 
TypeSet< SectionIDsids_
 
Surfacesurface_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

Surface geometry.

<>

Constructor & Destructor Documentation

◆ SurfaceGeometry()

EM::SurfaceGeometry::SurfaceGeometry ( Surface )

◆ ~SurfaceGeometry()

virtual EM::SurfaceGeometry::~SurfaceGeometry ( )
virtual

Member Function Documentation

◆ addSection() [1/2]

SectionID EM::SurfaceGeometry::addSection ( const char *  nm,
bool  addtohistory 
)

◆ addSection() [2/2]

SectionID EM::SurfaceGeometry::addSection ( const char *  nm,
const SectionID ,
bool  addtohistory 
)

Return false if the sectionid allready exists

◆ addSectionInternal()

SectionID EM::SurfaceGeometry::addSectionInternal ( Geometry::Element ,
const char *  nm,
const SectionID ,
bool  addtohistory 
)
protected

◆ cloneSection()

virtual SectionID EM::SurfaceGeometry::cloneSection ( const SectionID )
virtual

Reimplemented in EM::Horizon3DGeometry.

◆ createIterator()

virtual EMObjectIterator* EM::SurfaceGeometry::createIterator ( const EM::SectionID ,
const TrcKeyZSampling = 0 
) const
virtual

◆ createSectionGeometry()

virtual Geometry::Element* EM::SurfaceGeometry::createSectionGeometry ( ) const
protectedpure virtual

◆ enableChecks()

virtual bool EM::SurfaceGeometry::enableChecks ( bool  yn)
virtual

Reimplemented in EM::Horizon3DGeometry.

◆ fillPar()

virtual void EM::SurfaceGeometry::fillPar ( IOPar ) const
virtual

◆ findPos() [1/3]

virtual int EM::SurfaceGeometry::findPos ( const Interval< float > &  x,
const Interval< float > &  y,
const Interval< float > &  z,
TypeSet< PosID > *   
) const
virtual

◆ findPos() [2/3]

virtual int EM::SurfaceGeometry::findPos ( const SectionID ,
const Interval< float > &  x,
const Interval< float > &  y,
const Interval< float > &  z,
TypeSet< PosID > *  res 
) const
virtual

◆ findPos() [3/3]

virtual int EM::SurfaceGeometry::findPos ( const TrcKeyZSampling ,
TypeSet< PosID > *   
) const
virtual

◆ geomChangeCB()

void EM::SurfaceGeometry::geomChangeCB ( CallBacker )
protected

◆ getConnectedPos()

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

Reimplemented in EM::Horizon2DGeometry, and EM::Horizon3DGeometry.

◆ getLinkedPos()

virtual void EM::SurfaceGeometry::getLinkedPos ( const PosID posid,
TypeSet< PosID > &   
) const
virtual

◆ hasSection()

bool EM::SurfaceGeometry::hasSection ( const SectionID ) const

◆ isAtEdge()

virtual bool EM::SurfaceGeometry::isAtEdge ( const PosID ) const
virtual

◆ isChanged()

bool EM::SurfaceGeometry::isChanged ( int  ) const
inline

◆ isChecksEnabled()

virtual bool EM::SurfaceGeometry::isChecksEnabled ( ) const
virtual

Reimplemented in EM::Horizon3DGeometry.

◆ isFullResolution()

virtual bool EM::SurfaceGeometry::isFullResolution ( ) const
virtual

Reimplemented in EM::Horizon3DGeometry.

◆ isLoaded()

virtual bool EM::SurfaceGeometry::isLoaded ( ) const
virtual

◆ isNodeOK()

virtual bool EM::SurfaceGeometry::isNodeOK ( const PosID ) const
virtual

Reimplemented in EM::Horizon3DGeometry.

◆ loader()

virtual Executor* EM::SurfaceGeometry::loader ( const SurfaceIODataSelection s = 0)
virtual

Reimplemented in EM::PolygonBodyGeometry.

◆ nrSections()

int EM::SurfaceGeometry::nrSections ( ) const

◆ removeAll()

virtual void EM::SurfaceGeometry::removeAll ( )
virtual

◆ removeSection()

virtual bool EM::SurfaceGeometry::removeSection ( const SectionID ,
bool  addtohistory 
)
virtual

Reimplemented in EM::Horizon3DGeometry.

◆ resetChangedFlag()

void EM::SurfaceGeometry::resetChangedFlag ( )
inline

◆ saver()

virtual Executor* EM::SurfaceGeometry::saver ( const SurfaceIODataSelection s = 0,
const MultiID key = 0 
)
virtual

Reimplemented in EM::PolygonBodyGeometry.

◆ sectionGeometry() [1/2]

virtual Geometry::Element* EM::SurfaceGeometry::sectionGeometry ( const SectionID )
virtual

◆ sectionGeometry() [2/2]

virtual const Geometry::Element* EM::SurfaceGeometry::sectionGeometry ( const SectionID ) const
virtual

◆ sectionID() [1/2]

SectionID EM::SurfaceGeometry::sectionID ( const char *  ) const

◆ sectionID() [2/2]

SectionID EM::SurfaceGeometry::sectionID ( int  idx) const

◆ sectionIndex()

int EM::SurfaceGeometry::sectionIndex ( const SectionID ) const

◆ sectionName()

const char* EM::SurfaceGeometry::sectionName ( const SectionID ) const

◆ setSectionName()

bool EM::SurfaceGeometry::setSectionName ( const SectionID ,
const char *  ,
bool  addtohistory 
)

◆ usePar()

virtual bool EM::SurfaceGeometry::usePar ( const IOPar )
virtual

Member Data Documentation

◆ changed_

bool EM::SurfaceGeometry::changed_
protected

◆ sectionnames_

BufferStringSet EM::SurfaceGeometry::sectionnames_
protected

◆ sections_

ObjectSet<Geometry::Element> EM::SurfaceGeometry::sections_
protected

◆ sids_

TypeSet<SectionID> EM::SurfaceGeometry::sids_
protected

◆ surface_

Surface& EM::SurfaceGeometry::surface_
protected

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