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

Marching cubes surface. More...

Inheritance diagram for EM::MarchingCubesSurface:
[legend]

Public Member Functions

 MarchingCubesSurface (EM::EMManager &)
 
const char * getTypeStr () const
 
void setNewName ()
 
const char * type () const
 
virtual int nrSections () const
 
virtual SectionID sectionID (int) const
 
virtual bool canSetSectionName () const
 
Geometry::ElementsectionGeometry (const SectionID &)
 
const Geometry::ElementsectionGeometry (const SectionID &) const
 
virtual Executorloader ()
 
virtual Executorsaver ()
 
virtual Executorsaver (IOObj *)
 
virtual bool isEmpty () const
 
const IOObjContextgetIOObjContext () const
 
::MarchingCubesSurfacesurface ()
 
const ::MarchingCubesSurfacesurface () const
 
bool setSurface (::MarchingCubesSurface *)
 
const SamplingData< int > & inlSampling () const
 
const SamplingData< int > & crlSampling () const
 
const SamplingData< float > & zSampling () const
 
void setInlSampling (const SamplingData< int > &)
 
void setCrlSampling (const SamplingData< int > &)
 
void setZSampling (const SamplingData< float > &)
 
ImplicitBodycreateImplicitBody (TaskRunner *, bool) const
 
bool getBodyRange (TrcKeyZSampling &cs)
 
void refBody ()
 Should be mapped to EMObject::ref() More...
 
void unRefBody ()
 Should be mapped to EMObject::unRef() More...
 
MultiID storageID () const
 
BufferString storageName () const
 
EM::BodyOperatorgetBodyOperator () const
 
void createBodyOperator ()
 
void setBodyOperator (EM::BodyOperator *)
 
bool regenerateMCBody (TaskRunner *tr=0)
 
bool useBodyPar (const IOPar &)
 Should be mapped to EMObject::usePar;. More...
 
void fillBodyPar (IOPar &) const
 Should be mapped to EMObject::fillPar;. More...
 
uiString getUserTypeStr () const
 
- Public Member Functions inherited from EM::Body
const IOObjContextgetBodyContext () const
 
- Public Member Functions inherited from EM::EMObject
const ObjectIDid () const
 
const MultiIDmultiID () const
 
void setMultiID (const MultiID &)
 
virtual bool isOK () const
 
void setName (const char *nm)
 
BufferString name () const
 
uiString uiName () const
 
virtual BufferString sectionName (const SectionID &) const
 
virtual bool setSectionName (const SectionID &, const char *, bool addtohistory)
 
virtual int sectionIndex (const SectionID &) const
 
virtual bool removeSection (SectionID, bool hist)
 
const Geometry::ElementsectionGeometry (const SectionID &) const
 
Geometry::ElementsectionGeometry (const SectionID &)
 
const ColorpreferredColor () const
 
void setPreferredColor (const Color &, bool addtohistory=false)
 
const OD::LineStylepreferredLineStyle () const
 
void setPreferredLineStyle (const OD::LineStyle &)
 
void setBurstAlert (bool yn)
 
bool hasBurstAlert () const
 
virtual Coord3 getPos (const EM::PosID &) const
 
virtual Coord3 getPos (const EM::SectionID &, const EM::SubID &) const
 
virtual bool isDefined (const EM::PosID &) const
 
virtual bool isDefined (const EM::SectionID &, const EM::SubID &) const
 
virtual bool setPos (const EM::PosID &, const Coord3 &, bool addtohistory)
 
virtual bool setPos (const EM::SectionID &, const EM::SubID &, const Coord3 &, bool addtohistory)
 
virtual bool unSetPos (const EM::PosID &, bool addtohistory)
 
virtual bool unSetPos (const EM::SectionID &, const EM::SubID &, bool addtohistory)
 
virtual void setNodeSourceType (const TrcKey &, NodeSourceType)
 
virtual bool isNodeSourceType (const PosID &, NodeSourceType) const
 
virtual bool isNodeSourceType (const TrcKey &, NodeSourceType) const
 
virtual void setNodeLocked (const TrcKey &, bool locked)
 
virtual bool isNodeLocked (const TrcKey &) const
 
virtual bool isNodeLocked (const PosID &) const
 
virtual void lockAll ()
 
virtual void unlockAll ()
 
virtual const Array2D< char > * getLockedNodes () const
 
virtual void setLockColor (const Color &)
 
virtual const ColorgetLockColor () const
 
virtual bool hasLockedNodes () const
 
virtual bool hasNodeSourceType (const PosID &) const
 
void setSelectionColor (const Color &)
 
const ColorgetSelectionColor () const
 
virtual bool enableGeometryChecks (bool)
 
virtual bool isGeometryChecksEnabled () const
 
virtual bool isAtEdge (const EM::PosID &) const
 
void changePosID (const EM::PosID &from, const EM::PosID &to, bool addtohistory)
 
virtual void getLinkedPos (const EM::PosID &posid, TypeSet< EM::PosID > &) const
 
virtual EMObjectIteratorcreateIterator (const EM::SectionID &, const TrcKeyZSampling *=0) const
 
virtual int nrPosAttribs () const
 
virtual int posAttrib (int idx) const
 
virtual void addPosAttrib (int attr)
 
virtual void removePosAttribList (int attr, bool addtohistory=true)
 
virtual void setPosAttrib (const EM::PosID &, int attr, bool yn, bool addtohistory=true)
 Sets/unsets the posattrib depending on yn. More...
 
virtual bool isPosAttrib (const EM::PosID &, int attr) const
 
virtual const char * posAttribName (int) const
 
virtual int addPosAttribName (const char *)
 
const TypeSet< PosID > * getPosAttribList (int attr) const
 
const MarkerStyle3DgetPosAttrMarkerStyle (int attr)
 
void setPosAttrMarkerStyle (int attr, const MarkerStyle3D &)
 
virtual void lockPosAttrib (int attr, bool yn)
 
virtual bool isPosAttribLocked (int attr) const
 
virtual void removeSelected (const Selector< Coord3 > &, TaskRunner *)
 
void removeSelected (const TypeSet< EM::SubID > &)
 
void removeListOfSubIDs (const TypeSet< EM::SubID > &, const EM::SectionID &)
 
void removeAllUnSeedPos ()
 
const TrcKeyZSampling getRemovedPolySelectedPosBox ()
 
void emptyRemovedPolySelectedPosBox ()
 
virtual bool isLoaded () const
 
virtual bool isChanged () const
 
virtual void setChangedFlag ()
 
virtual void resetChangedFlag ()
 
bool isFullyLoaded () const
 
void setFullyLoaded (bool yn)
 
virtual bool isLocked () const
 
virtual void lock (bool yn)
 
bool isInsideSelRemoval () const
 
bool isSelRemoving () const
 
uiString errMsg () const
 
void setErrMsg (const uiString &m)
 
virtual bool usePar (const IOPar &)
 
virtual void fillPar (IOPar &) const
 
void saveDisplayPars () const
 
virtual bool useDisplayPar (const IOPar &)
 
virtual void fillDisplayPar (IOPar &) 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 void initClass ()
 
static EMObjectcreate (EM::EMManager &)
 
static MarchingCubesSurfacecreate (const char *nm)
 
static FixedString typeStr ()
 
- Static Public Member Functions inherited from EM::EMObject
static int sPermanentControlNode ()
 
static int sTemporaryControlNode ()
 
static int sEdgeControlNode ()
 
static int sTerminationNode ()
 
static int sSeedNode ()
 
static int sIntersectionNode ()
 

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...
 
virtual Geometry::ElementsectionGeometryInternal (const SectionID &)
 
virtual void prepareForDelete () const
 
void posIDChangeCB (CallBacker *)
 
const MarkerStyle3DpreferredMarkerStyle3D () const
 
void setPreferredMarkerStyle3D (const MarkerStyle3D &)
 
void useDisplayPars (const IOPar &)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

SamplingData< int > inlsampling_
 
SamplingData< int > crlsampling_
 
SamplingData< float > zsampling_
 
::MarchingCubesSurfacemcsurface_
 
EM::BodyOperatoroperator_
 
- Protected Attributes inherited from EM::EMObject
BufferString objname_
 
ObjectID id_
 
MultiID storageid_
 
class EMManagermanager_
 
uiString errmsg_
 
Colorpreferredcolor_
 
OD::LineStylepreferredlinestyle_
 
MarkerStyle3Dpreferredmarkerstyle_
 
ObjectSet< PosAttribposattribs_
 
TypeSet< int > attribs_
 
TrcKeyZSampling removebypolyposbox_
 
bool changed_
 
bool fullyloaded_
 
bool locked_
 
int burstalertcount_
 
Threads::Lock setposlock_
 
bool haslockednodes_
 
Color lockcolor_
 
Color selectioncolor_
 
bool insideselremoval_
 
bool selremoving_
 

Private Member Functions

 mODTextTranslationClass (MarchingCubesSurface)
 

Additional Inherited Members

- Public Types inherited from EM::EMObject
enum  NodeSourceType { None = (int)'0', Manual =(int)'1', Auto =(int)'2', Gridding =(int)'3' }
 
- 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 * posattrprefixstr ()
 
static const char * posattrsectionstr ()
 
static const char * posattrposidstr ()
 

Detailed Description

Marching cubes surface.

Constructor & Destructor Documentation

EM::MarchingCubesSurface::MarchingCubesSurface ( EM::EMManager )
EM::MarchingCubesSurface::~MarchingCubesSurface ( )
protected

Member Function Documentation

virtual bool EM::MarchingCubesSurface::canSetSectionName ( ) const
inlinevirtual

Reimplemented from EM::EMObject.

static EMObject* EM::MarchingCubesSurface::create ( EM::EMManager )
static
static MarchingCubesSurface* EM::MarchingCubesSurface::create ( const char *  nm)
static
void EM::MarchingCubesSurface::createBodyOperator ( )
ImplicitBody* EM::MarchingCubesSurface::createImplicitBody ( TaskRunner ,
bool   
) const
virtual

Reimplemented from EM::Body.

const SamplingData<int>& EM::MarchingCubesSurface::crlSampling ( ) const
inline
void EM::MarchingCubesSurface::fillBodyPar ( IOPar ) const
virtual

Should be mapped to EMObject::fillPar;.

Implements EM::Body.

EM::BodyOperator* EM::MarchingCubesSurface::getBodyOperator ( ) const
inline
bool EM::MarchingCubesSurface::getBodyRange ( TrcKeyZSampling cs)
virtual

Implements EM::Body.

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

Implements EM::EMObject.

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

Implements EM::EMObject.

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

Implements EM::EMObject.

static void EM::MarchingCubesSurface::initClass ( )
static
const SamplingData<int>& EM::MarchingCubesSurface::inlSampling ( ) const
inline
virtual bool EM::MarchingCubesSurface::isEmpty ( ) const
virtual

Reimplemented from EM::EMObject.

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

Reimplemented from EM::EMObject.

EM::MarchingCubesSurface::mODTextTranslationClass ( MarchingCubesSurface  )
private
virtual int EM::MarchingCubesSurface::nrSections ( ) const
inlinevirtual

Implements EM::EMObject.

void EM::MarchingCubesSurface::refBody ( )
virtual

Should be mapped to EMObject::ref()

Implements EM::Body.

bool EM::MarchingCubesSurface::regenerateMCBody ( TaskRunner tr = 0)
virtual Executor* EM::MarchingCubesSurface::saver ( )
virtual

Reimplemented from EM::EMObject.

virtual Executor* EM::MarchingCubesSurface::saver ( IOObj )
virtual
Geometry::Element* EM::MarchingCubesSurface::sectionGeometry ( const SectionID )
inline
const Geometry::Element* EM::MarchingCubesSurface::sectionGeometry ( const SectionID ) const
inline
virtual SectionID EM::MarchingCubesSurface::sectionID ( int  ) const
inlinevirtual

Implements EM::EMObject.

void EM::MarchingCubesSurface::setBodyOperator ( EM::BodyOperator )
void EM::MarchingCubesSurface::setCrlSampling ( const SamplingData< int > &  )
void EM::MarchingCubesSurface::setInlSampling ( const SamplingData< int > &  )
void EM::MarchingCubesSurface::setNewName ( )
virtual

Reimplemented from EM::EMObject.

bool EM::MarchingCubesSurface::setSurface ( ::MarchingCubesSurface )
void EM::MarchingCubesSurface::setZSampling ( const SamplingData< float > &  )
MultiID EM::MarchingCubesSurface::storageID ( ) const
virtual

Implements EM::Body.

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

Implements EM::Body.

::MarchingCubesSurface& EM::MarchingCubesSurface::surface ( )
inline
const ::MarchingCubesSurface& EM::MarchingCubesSurface::surface ( ) const
inline
const char* EM::MarchingCubesSurface::type ( ) const
inlinevirtual

Implements EM::Body.

static FixedString EM::MarchingCubesSurface::typeStr ( )
static
void EM::MarchingCubesSurface::unRefBody ( )
virtual

Should be mapped to EMObject::unRef()

Implements EM::Body.

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

Should be mapped to EMObject::usePar;.

Reimplemented from EM::Body.

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

Member Data Documentation

SamplingData<int> EM::MarchingCubesSurface::crlsampling_
protected
SamplingData<int> EM::MarchingCubesSurface::inlsampling_
protected
::MarchingCubesSurface* EM::MarchingCubesSurface::mcsurface_
protected
EM::BodyOperator* EM::MarchingCubesSurface::operator_
protected
SamplingData<float> EM::MarchingCubesSurface::zsampling_
protected

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