OpendTect  7.0
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

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 EMObjectIteratorcreateIterator (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 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 Geometry::ElementgeometryElement ()
 
virtual const Geometry::ElementgeometryElement () const
 
virtual int getConnectedPos (const PosID &posid, TypeSet< PosID > *res) const
 
virtual void getLinkedPos (const PosID &posid, TypeSet< PosID > &) const
 
mDeprecatedObs 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 *=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)
 
virtual Geometry::ElementsectionGeometry (const SectionID &)
 
virtual const Geometry::ElementsectionGeometry (const SectionID &) const
 
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)
 
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
 
virtual CallBackertrueCaller ()
 

Protected Member Functions

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

Protected Attributes

bool changed_
 
ObjectSet< Geometry::Elementsections_
 
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()

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

◆ SurfaceGeometry()

EM::SurfaceGeometry::SurfaceGeometry ( Surface )
protected

Member Function Documentation

◆ addSection() [1/2]

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

◆ addSection() [2/2]

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

Return false if the sectionid allready exists

◆ addSectionInternal()

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

◆ cloneSection()

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

Reimplemented in EM::Horizon3DGeometry.

◆ createGeometryElement()

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

◆ createIterator() [1/2]

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

◆ createIterator() [2/2]

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

◆ 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 mDeprecatedDef 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

◆ geometryElement() [1/2]

virtual Geometry::Element* EM::SurfaceGeometry::geometryElement ( )
virtual

◆ geometryElement() [2/2]

virtual const Geometry::Element* EM::SurfaceGeometry::geometryElement ( ) const
virtual

◆ 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()

mDeprecatedObs 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 = nullptr,
const ZAxisTransform = nullptr 
)
virtual

Reimplemented in EM::PolygonBodyGeometry.

◆ nrSections()

int EM::SurfaceGeometry::nrSections ( ) const

◆ removeAll()

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

◆ removeSection()

virtual mDeprecatedObs 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 = nullptr,
const MultiID = nullptr 
)
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]

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

◆ sectionID() [2/2]

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

◆ sectionIndex()

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

◆ sectionName()

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

◆ setSectionName()

mDeprecatedObs 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

◆ sections_

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

◆ surface_

Surface& EM::SurfaceGeometry::surface_
protected

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