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

PolygonBody SurfaceGeometry. More...

Inheritance diagram for EM::PolygonBodyGeometry:
[legend]

Public Member Functions

 PolygonBodyGeometry (PolygonBody &)
 
 ~PolygonBodyGeometry ()
 
EMObjectIterator * createIterator (const TrcKeyZSampling *=0) const override
 
void fillPar (IOPar &) const override
 
const Geometry::PolygonSurface * geometryElement () const override
 
Geometry::PolygonSurface * geometryElement () override
 
const Coord3 & getPolygonNormal (const SectionID &, int polygon) const
 
const Coord3 & getPolygonNormal (int polygon) const
 
bool insertKnot (const SectionID &, const SubID &subid, const Coord3 &pos, bool addtohistory)
 
bool insertKnot (const SubID &, const Coord3 &pos, bool addtohistory)
 
bool insertPolygon (const SectionID &, int polygonnr, int firstknot, const Coord3 &pos, const Coord3 &editnormal, bool addtohistory)
 
bool insertPolygon (int polygonnr, int firstknot, const Coord3 &pos, const Coord3 &editnormal, bool addtohistory)
 
Executor * loader (const SurfaceIODataSelection *=nullptr, const ZAxisTransform *=nullptr) override
 
int nrKnots (const SectionID &, int polygonnr) const
 
int nrKnots (int polygonnr) const
 
int nrPolygons () const
 
int nrPolygons (const SectionID &) const
 
bool removeKnot (const SectionID &, const SubID &subid, bool addtohistory)
 
bool removeKnot (const SubID &, bool addtohistory)
 
bool removePolygon (const SectionID &, int polygonnr, bool addtohistory)
 
bool removePolygon (int polygonnr, bool addtohistory)
 
Executor * saver (const SurfaceIODataSelection *=nullptr, const MultiID *=nullptr) override
 
const Geometry::PolygonSurface * sectionGeometry (const SectionID &) const override
 
Geometry::PolygonSurface * sectionGeometry (const SectionID &) override
 
bool usePar (const IOPar &) 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 &)
 
EMObjectIterator * createIterator (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 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
 
int nrSections () const
 
virtual void removeAll ()
 
virtual mDeprecatedObs bool removeSection (const SectionID &, bool addtohistory)
 
void resetChangedFlag ()
 
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 CallBacker * trueCaller ()
 

Protected Member Functions

Geometry::PolygonSurface * createGeometryElement () const override
 
- 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

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Protected Attributes inherited from EM::SurfaceGeometry
bool changed_
 
ObjectSet< Geometry::Element > sections_
 
Surface & surface_
 

Detailed Description

PolygonBody SurfaceGeometry.

<>

Constructor & Destructor Documentation

◆ PolygonBodyGeometry()

EM::PolygonBodyGeometry::PolygonBodyGeometry ( PolygonBody &  )

◆ ~PolygonBodyGeometry()

EM::PolygonBodyGeometry::~PolygonBodyGeometry ( )

Member Function Documentation

◆ createGeometryElement()

Geometry::PolygonSurface* EM::PolygonBodyGeometry::createGeometryElement ( ) const
overrideprotectedvirtual

Implements EM::SurfaceGeometry.

◆ createIterator()

EMObjectIterator* EM::PolygonBodyGeometry::createIterator ( const TrcKeyZSampling *  = 0) const
overridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ fillPar()

void EM::PolygonBodyGeometry::fillPar ( IOPar &  ) const
overridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ geometryElement() [1/2]

const Geometry::PolygonSurface* EM::PolygonBodyGeometry::geometryElement ( ) const
overridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ geometryElement() [2/2]

Geometry::PolygonSurface* EM::PolygonBodyGeometry::geometryElement ( )
overridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ getPolygonNormal() [1/2]

const Coord3& EM::PolygonBodyGeometry::getPolygonNormal ( const SectionID &  ,
int  polygon 
) const
inline

◆ getPolygonNormal() [2/2]

const Coord3& EM::PolygonBodyGeometry::getPolygonNormal ( int  polygon) const

◆ insertKnot() [1/2]

bool EM::PolygonBodyGeometry::insertKnot ( const SectionID &  ,
const SubID &  subid,
const Coord3 &  pos,
bool  addtohistory 
)
inline

◆ insertKnot() [2/2]

bool EM::PolygonBodyGeometry::insertKnot ( const SubID &  ,
const Coord3 &  pos,
bool  addtohistory 
)

◆ insertPolygon() [1/2]

bool EM::PolygonBodyGeometry::insertPolygon ( const SectionID &  ,
int  polygonnr,
int  firstknot,
const Coord3 &  pos,
const Coord3 &  editnormal,
bool  addtohistory 
)
inline

◆ insertPolygon() [2/2]

bool EM::PolygonBodyGeometry::insertPolygon ( int  polygonnr,
int  firstknot,
const Coord3 &  pos,
const Coord3 &  editnormal,
bool  addtohistory 
)

◆ loader()

Executor* EM::PolygonBodyGeometry::loader ( const SurfaceIODataSelection *  = nullptr,
const ZAxisTransform *  = nullptr 
)
overridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ nrKnots() [1/2]

int EM::PolygonBodyGeometry::nrKnots ( const SectionID &  ,
int  polygonnr 
) const
inline

◆ nrKnots() [2/2]

int EM::PolygonBodyGeometry::nrKnots ( int  polygonnr) const

◆ nrPolygons() [1/2]

int EM::PolygonBodyGeometry::nrPolygons ( ) const

◆ nrPolygons() [2/2]

int EM::PolygonBodyGeometry::nrPolygons ( const SectionID &  ) const
inline

◆ removeKnot() [1/2]

bool EM::PolygonBodyGeometry::removeKnot ( const SectionID &  ,
const SubID &  subid,
bool  addtohistory 
)
inline

◆ removeKnot() [2/2]

bool EM::PolygonBodyGeometry::removeKnot ( const SubID &  ,
bool  addtohistory 
)

◆ removePolygon() [1/2]

bool EM::PolygonBodyGeometry::removePolygon ( const SectionID &  ,
int  polygonnr,
bool  addtohistory 
)
inline

◆ removePolygon() [2/2]

bool EM::PolygonBodyGeometry::removePolygon ( int  polygonnr,
bool  addtohistory 
)

◆ saver()

Executor* EM::PolygonBodyGeometry::saver ( const SurfaceIODataSelection *  = nullptr,
const MultiID *  = nullptr 
)
overridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ sectionGeometry() [1/2]

const Geometry::PolygonSurface* EM::PolygonBodyGeometry::sectionGeometry ( const SectionID &  ) const
inlineoverridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ sectionGeometry() [2/2]

Geometry::PolygonSurface* EM::PolygonBodyGeometry::sectionGeometry ( const SectionID &  )
inlineoverridevirtual

Reimplemented from EM::SurfaceGeometry.

◆ usePar()

bool EM::PolygonBodyGeometry::usePar ( const IOPar &  )
overridevirtual

Reimplemented from EM::SurfaceGeometry.


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