OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EM::MarchingCubesSurface Class Reference

Marching cubes surface. More...

Inheritance diagram for EM::MarchingCubesSurface:
[legend]

Public Member Functions

 MarchingCubesSurface (EM::EMManager &)
 
void createBodyOperator ()
 
ImplicitBodycreateImplicitBody (TaskRunner *, bool) const override
 
const SamplingData< int > & crlSampling () const
 
void fillBodyPar (IOPar &) const override
 Should be mapped to EMObject::fillPar;. More...
 
EM::BodyOperatorgetBodyOperator () const
 
bool getBodyRange (TrcKeyZSampling &cs) override
 
const IOObjContextgetIOObjContext () const override
 
const char * getTypeStr () const override
 
uiString getUserTypeStr () const override
 
const SamplingData< int > & inlSampling () const
 
bool isEmpty () const override
 
Executorloader () override
 
void refBody () override
 Should be mapped to EMObject::ref() More...
 
bool regenerateMCBody (TaskRunner *tr=0)
 
Executorsaver () override
 
virtual Executorsaver (const IOObj *)
 
void setBodyOperator (EM::BodyOperator *)
 
void setCrlSampling (const SamplingData< int > &)
 
void setInlSampling (const SamplingData< int > &)
 
void setNewName () override
 
void setSampling (const TrcKeyZSampling &)
 
bool setSurface (::MarchingCubesSurface *)
 
void setZSampling (const SamplingData< float > &)
 
MultiID storageID () const override
 
BufferString storageName () const override
 
::MarchingCubesSurfacesurface ()
 
const ::MarchingCubesSurfacesurface () const
 
const char * type () const override
 
void unRefBody () override
 Should be mapped to EMObject::unRef() More...
 
bool useBodyPar (const IOPar &) override
 Should be mapped to EMObject::usePar;. More...
 
const SamplingData< float > & zSampling () const
 
- Public Member Functions inherited from EM::Body
virtual ~Body ()
 
const IOObjContextgetBodyContext () const
 
- Public Member Functions inherited from EM::EMObject
virtual void addPosAttrib (int attr)
 
virtual int addPosAttribName (const char *)
 
bool canSetSectionName () const
 
void changePosID (const EM::PosID &from, const EM::PosID &to, bool addtohistory)
 
EMObjectIteratorcreateIterator (const EM::SectionID &, const TrcKeyZSampling *t=0) const
 
virtual EMObjectIteratorcreateIterator (const TrcKeyZSampling *) const
 
void emptyRemovedPolySelectedPosBox ()
 
virtual bool enableGeometryChecks (bool)
 
uiString errMsg () const
 
virtual void fillDisplayPar (IOPar &) const
 
virtual void fillPar (IOPar &) const
 
Geometry::ElementgeometryElement ()
 
const Geometry::ElementgeometryElement () const
 
virtual void getLinkedPos (const EM::PosID &posid, TypeSet< EM::PosID > &) const
 
virtual const OD::ColorgetLockColor () const
 
virtual const Array2D< char > * getLockedNodes () const
 
virtual Coord3 getPos (const EM::PosID &) const
 
Coord3 getPos (const EM::SectionID &, const EM::SubID &subid) const
 
virtual Coord3 getPos (const EM::SubID &) const
 
const TypeSet< PosID > * getPosAttribList (int attr) const
 
const MarkerStyle3DgetPosAttrMarkerStyle (int attr) const
 
const TrcKeyZSampling getRemovedPolySelectedPosBox ()
 
const OD::ColorgetSelectionColor () const
 
Interval< float > getZRange (bool compute_if_needed=false) const
 
bool hasBurstAlert () const
 
virtual bool hasLockedNodes () const
 
virtual bool hasNodeSourceType (const PosID &) const
 
virtual bool hasPosAttrib (int attr) const
 
const ObjectIDid () const
 
virtual bool isAtEdge (const EM::PosID &) const
 
virtual bool isChanged () const
 
virtual bool isDefined (const EM::PosID &) const
 
bool isDefined (const EM::SectionID &, const EM::SubID &subid) const
 
virtual bool isDefined (const EM::SubID &) const
 
bool isFullyLoaded () const
 
virtual bool isGeometryChecksEnabled () const
 
bool isInsideSelRemoval () const
 
virtual bool isLoaded () const
 
virtual bool isLocked () const
 
virtual bool isNodeLocked (const PosID &) const
 
virtual bool isNodeLocked (const TrcKey &) const
 
virtual bool isNodeSourceType (const PosID &, NodeSourceType) const
 
virtual bool isNodeSourceType (const TrcKey &, NodeSourceType) const
 
virtual bool isOK () const
 
virtual bool isPosAttrib (const EM::PosID &, int attr) const
 
virtual bool isPosAttribLocked (int attr) const
 
bool isSelRemoving () const
 
bool isZInDepth () const
 
virtual void lock (bool yn)
 
virtual void lockAll ()
 
virtual void lockPosAttrib (int attr, bool yn)
 
const MultiIDmultiID () const
 
virtual int nrPosAttribs () const
 
int nrSections () const
 
virtual int posAttrib (int idx) const
 
virtual const char * posAttribName (int) const
 
const OD::ColorpreferredColor () const
 
const OD::LineStylepreferredLineStyle () const
 
void removeAllUnSeedPos ()
 
void removeListOfSubIDs (const TypeSet< EM::SubID > &)
 
void removeListOfSubIDs (const TypeSet< EM::SubID > &, const EM::SectionID &)
 
virtual void removePosAttribList (int attr, bool addtohistory=true)
 
bool removeSection (SectionID, bool hist)
 
virtual void removeSelected (const Selector< Coord3 > &, TaskRunner *)
 
void removeSelected (const TypeSet< EM::SubID > &)
 
virtual void resetChangedFlag ()
 
void saveDisplayPars () const
 
Geometry::ElementsectionGeometry (const SectionID &)
 
const Geometry::ElementsectionGeometry (const SectionID &) const
 
SectionID sectionID (int) const
 
int sectionIndex (const SectionID &) const
 
BufferString sectionName (const SectionID &) const
 
void setBurstAlert (bool yn)
 
virtual void setChangedFlag ()
 
void setErrMsg (const uiString &m)
 
void setFullyLoaded (bool yn)
 
virtual void setLockColor (const OD::Color &)
 
void setMultiID (const MultiID &)
 
virtual void setNodeLocked (const TrcKey &, bool locked)
 
virtual void setNodeSourceType (const TrcKey &, NodeSourceType)
 
virtual bool setPos (const EM::PosID &, const Coord3 &, bool addtohistory)
 
bool setPos (const EM::SectionID &, const EM::SubID &subid, const Coord3 &crd, bool addtohistory)
 
virtual bool setPos (const EM::SubID &, const Coord3 &, bool addtohistory)
 
virtual void setPosAttrib (const EM::PosID &, int attr, bool yn, bool addtohistory=true)
 Sets/unsets the posattrib depending on yn. More...
 
void setPosAttrMarkerStyle (int attr, const MarkerStyle3D &)
 
void setPreferredColor (const OD::Color &, bool addtohistory=false)
 
void setPreferredLineStyle (const OD::LineStyle &)
 
bool setSectionName (const SectionID &, const char *, bool addtohistory)
 
void setSelectionColor (const OD::Color &)
 
EMObjectsetZDomain (const ZDomain::Info &)
 
void setZInDepth ()
 
void setZInTime ()
 
mDeprecatedDef uiString uiName () const
 
virtual void unlockAll ()
 
virtual bool unSetPos (const EM::PosID &, bool addtohistory)
 
bool unSetPos (const EM::SectionID &, const EM::SubID &subid, bool addtohistory)
 
virtual bool unSetPos (const EM::SubID &, bool addtohistory)
 
virtual bool useDisplayPar (const IOPar &)
 
virtual bool usePar (const IOPar &)
 
const ZDomain::InfozDomain () const
 
const UnitOfMeasurezUnit () const
 
- Public Member Functions inherited from SharedObject
 SharedObject (const char *nm=nullptr)
 
 SharedObject (const SharedObject &)
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
- 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 ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
const name_typename () const override
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 
- Public Member Functions inherited from RefCount::Referenced
void addObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
int nrRefs () const
 Only for expert use. More...
 
void ref () const
 
bool refIfReffed () const
 Don't use in production, for debugging. More...
 
void removeObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
bool tryRef () const
 Not for normal use. May become private. More...
 
void unRef () const
 
void unRefNoDelete () const
 

Static Public Member Functions

static MarchingCubesSurfacecreate (const char *nm)
 
static EMObjectcreate (EM::EMManager &)
 
static void initClass ()
 
static StringView typeStr ()
 
- Static Public Member Functions inherited from EM::EMObject
static int sEdgeControlNode ()
 
static int sIntersectionNode ()
 
static int sPermanentControlNode ()
 
static int sSeedNode ()
 
static int sTemporaryControlNode ()
 
static int sTerminationNode ()
 
- Static Public Member Functions inherited from SharedObject
static Notifier< SharedObject > & instanceCreated ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Static Public Member Functions inherited from RefCount::Referenced
static bool isSane (const Referenced *)
 

Protected Member Functions

 ~ MarchingCubesSurface ()
 
- Protected Member Functions inherited from EM::Body
 Body ()
 
- Protected Member Functions inherited from EM::EMObject
 EMObject (EMManager &)
 must be called after creation More...
 
 ~EMObject ()
 
virtual Geometry::ElementgeometryElementInternal ()
 
void posIDChangeCB (CallBacker *)
 
const MarkerStyle3DpreferredMarkerStyle3D () const
 
virtual void prepareForDelete () const
 
void prepareForDelete () override
 
virtual Geometry::ElementsectionGeometryInternal (const SectionID &)
 
void setPreferredMarkerStyle3D (const MarkerStyle3D &)
 
void useDisplayPars (const IOPar &)
 
- Protected Member Functions inherited from SharedObject
virtual ~SharedObject ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from RefCount::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
virtual ~Referenced ()
 
Referencedoperator= (const Referenced &)
 

Protected Attributes

SamplingData< int > crlsampling_
 
SamplingData< int > inlsampling_
 
::MarchingCubesSurfacemcsurface_
 
EM::BodyOperatoroperator_
 
SamplingData< float > zsampling_
 
- Protected Attributes inherited from EM::EMObject
TypeSet< int > attribs_
 
int burstalertcount_ = 0
 
bool changed_ = false
 
uiString errmsg_
 
bool fullyloaded_ = false
 
bool haslockednodes_ = false
 
ObjectID id_
 
bool insideselremoval_ = false
 
OD::Color lockcolor_
 
bool locked_ = false
 
class EMManagermanager_
 
BufferString objname_
 
MarkerStyle3Dposattribmarkerstyle_
 
ObjectSet< PosAttribposattribs_
 
OD::Colorpreferredcolor_
 
OD::LineStylepreferredlinestyle_
 
MarkerStyle3Dpreferredmarkerstyle_
 
TrcKeyZSampling removebypolyposbox_
 
OD::Color selectioncolor_
 
bool selremoving_ = false
 
Threads::Lock setposlock_
 
MultiID storageid_
 
const ZDomain::Defzdomain_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from EM::EMObject
enum  NodeSourceType { None = (int)'0' , Manual =(int)'1' , Auto =(int)'2' , Gridding =(int)'3' }
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Public Attributes inherited from EM::EMObject
CNotifier< EMObject, const EMObjectCallbackData & > change
 
- Static Protected Member Functions inherited from EM::EMObject
static const char * nrposattrstr ()
 
static const char * posattrposidstr ()
 
static const char * posattrprefixstr ()
 
static const char * posattrsectionstr ()
 

Detailed Description

Marching cubes surface.

<>

Constructor & Destructor Documentation

◆ MarchingCubesSurface()

EM::MarchingCubesSurface::MarchingCubesSurface ( EM::EMManager )

◆ ~ MarchingCubesSurface()

EM::MarchingCubesSurface::~ MarchingCubesSurface ( )
protected

Member Function Documentation

◆ create() [1/2]

static MarchingCubesSurface* EM::MarchingCubesSurface::create ( const char *  nm)
static

◆ create() [2/2]

static EMObject* EM::MarchingCubesSurface::create ( EM::EMManager )
static

◆ createBodyOperator()

void EM::MarchingCubesSurface::createBodyOperator ( )

◆ createImplicitBody()

ImplicitBody* EM::MarchingCubesSurface::createImplicitBody ( TaskRunner ,
bool   
) const
overridevirtual

Reimplemented from EM::Body.

◆ crlSampling()

const SamplingData<int>& EM::MarchingCubesSurface::crlSampling ( ) const
inline

◆ fillBodyPar()

void EM::MarchingCubesSurface::fillBodyPar ( IOPar ) const
overridevirtual

Should be mapped to EMObject::fillPar;.

Implements EM::Body.

◆ getBodyOperator()

EM::BodyOperator* EM::MarchingCubesSurface::getBodyOperator ( ) const
inline

◆ getBodyRange()

bool EM::MarchingCubesSurface::getBodyRange ( TrcKeyZSampling cs)
overridevirtual

Implements EM::Body.

◆ getIOObjContext()

const IOObjContext& EM::MarchingCubesSurface::getIOObjContext ( ) const
overridevirtual

Implements EM::EMObject.

◆ getTypeStr()

const char* EM::MarchingCubesSurface::getTypeStr ( ) const
overridevirtual

Implements EM::EMObject.

◆ getUserTypeStr()

uiString EM::MarchingCubesSurface::getUserTypeStr ( ) const
inlineoverridevirtual

Implements EM::EMObject.

◆ initClass()

static void EM::MarchingCubesSurface::initClass ( )
static

◆ inlSampling()

const SamplingData<int>& EM::MarchingCubesSurface::inlSampling ( ) const
inline

◆ isEmpty()

bool EM::MarchingCubesSurface::isEmpty ( ) const
overridevirtual

Reimplemented from EM::EMObject.

◆ loader()

Executor* EM::MarchingCubesSurface::loader ( )
overridevirtual

Reimplemented from EM::EMObject.

◆ refBody()

void EM::MarchingCubesSurface::refBody ( )
overridevirtual

Should be mapped to EMObject::ref()

Implements EM::Body.

◆ regenerateMCBody()

bool EM::MarchingCubesSurface::regenerateMCBody ( TaskRunner tr = 0)

◆ saver() [1/2]

Executor* EM::MarchingCubesSurface::saver ( )
overridevirtual

Reimplemented from EM::EMObject.

◆ saver() [2/2]

virtual Executor* EM::MarchingCubesSurface::saver ( const IOObj )
virtual

◆ setBodyOperator()

void EM::MarchingCubesSurface::setBodyOperator ( EM::BodyOperator )

◆ setCrlSampling()

void EM::MarchingCubesSurface::setCrlSampling ( const SamplingData< int > &  )

◆ setInlSampling()

void EM::MarchingCubesSurface::setInlSampling ( const SamplingData< int > &  )

◆ setNewName()

void EM::MarchingCubesSurface::setNewName ( )
overridevirtual

Reimplemented from EM::EMObject.

◆ setSampling()

void EM::MarchingCubesSurface::setSampling ( const TrcKeyZSampling )

◆ setSurface()

bool EM::MarchingCubesSurface::setSurface ( ::MarchingCubesSurface )

◆ setZSampling()

void EM::MarchingCubesSurface::setZSampling ( const SamplingData< float > &  )

◆ storageID()

MultiID EM::MarchingCubesSurface::storageID ( ) const
overridevirtual

Implements EM::Body.

◆ storageName()

BufferString EM::MarchingCubesSurface::storageName ( ) const
overridevirtual

Implements EM::Body.

◆ surface() [1/2]

::MarchingCubesSurface& EM::MarchingCubesSurface::surface ( )
inline

◆ surface() [2/2]

const ::MarchingCubesSurface& EM::MarchingCubesSurface::surface ( ) const
inline

◆ type()

const char* EM::MarchingCubesSurface::type ( ) const
inlineoverridevirtual

Implements EM::Body.

◆ typeStr()

static StringView EM::MarchingCubesSurface::typeStr ( )
static

◆ unRefBody()

void EM::MarchingCubesSurface::unRefBody ( )
overridevirtual

Should be mapped to EMObject::unRef()

Implements EM::Body.

◆ useBodyPar()

bool EM::MarchingCubesSurface::useBodyPar ( const IOPar )
overridevirtual

Should be mapped to EMObject::usePar;.

Reimplemented from EM::Body.

◆ zSampling()

const SamplingData<float>& EM::MarchingCubesSurface::zSampling ( ) const
inline

Member Data Documentation

◆ crlsampling_

SamplingData<int> EM::MarchingCubesSurface::crlsampling_
protected

◆ inlsampling_

SamplingData<int> EM::MarchingCubesSurface::inlsampling_
protected

◆ mcsurface_

::MarchingCubesSurface* EM::MarchingCubesSurface::mcsurface_
protected

◆ operator_

EM::BodyOperator* EM::MarchingCubesSurface::operator_
protected

◆ zsampling_

SamplingData<float> EM::MarchingCubesSurface::zsampling_
protected

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