OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EM::Horizon Class Referenceabstract

Horizon Surface. More...

Inheritance diagram for EM::Horizon:
[legend]

Public Member Functions

virtual HorizonGeometrygeometry ()=0
 
virtual const HorizonGeometrygeometry () const
 
virtual float getZ (const TrcKey &) const =0
 
virtual bool setZ (const TrcKey &, float z, bool addtohist)=0
 
virtual bool setZAndNodeSourceType (const TrcKey &, float z, bool addtohist, NodeSourceType type=Auto)=0
 
virtual bool hasZ (const TrcKey &) const =0
 
virtual Coord3 getCoord (const TrcKey &) const =0
 
virtual float getZValue (const Coord &, bool allow_udf=true, int nr=0) const =0
 
virtual void setAttrib (const TrcKey &, int attr, int yn, bool undo)=0
 
virtual bool isAttrib (const TrcKey &, int attr) const =0
 
void setStratLevelID (int lvlid)
 
int stratLevelID () const
 
virtual void fillPar (IOPar &par) const
 
virtual bool usePar (const IOPar &par)
 
virtual TrcKey::SurvID getSurveyID () const =0
 
- Public Member Functions inherited from EM::Surface
int nrSections () const
 
EM::SectionID sectionID (int) const
 
BufferString sectionName (const SectionID &) const
 
bool canSetSectionName () const
 
bool setSectionName (const SectionID &, const char *, bool addtohistory)
 
bool removeSection (SectionID, bool hist)
 
virtual void removeAll ()
 
bool isAtEdge (const EM::PosID &) const
 
bool isLoaded () const
 
virtual Executorsaver ()
 
virtual Executorsaver (IOObj *)
 
virtual Executorloader ()
 
const char * dbInfo () const
 
void setDBInfo (const char *s)
 
virtual EMObjectIteratorcreateIterator (const SectionID &, const TrcKeyZSampling *=0) const
 
bool enableGeometryChecks (bool)
 
bool isGeometryChecksEnabled () const
 
virtual void apply (const Pos::Filter &)
 
- Public Member Functions inherited from EM::EMObject
const ObjectIDid () const
 
virtual const char * getTypeStr () const =0
 
virtual uiString getUserTypeStr () const =0
 
const MultiIDmultiID () const
 
void setMultiID (const MultiID &)
 
virtual bool isOK () const
 
void setName (const char *nm)
 
BufferString name () const
 
uiString uiName () const
 
virtual void setNewName ()
 
virtual int sectionIndex (const SectionID &) const
 
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
 
void changePosID (const EM::PosID &from, const EM::PosID &to, bool addtohistory)
 
virtual void getLinkedPos (const EM::PosID &posid, TypeSet< EM::PosID > &) 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 isChanged () const
 
virtual bool isEmpty () 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)
 
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...
 

Protected Member Functions

 Horizon (EMManager &emm)
 
virtual const IOObjContextgetIOObjContext () const =0
 
- Protected Member Functions inherited from EM::Surface
 Surface (EMManager &)
 
 ~Surface ()
 
virtual Geometry::ElementsectionGeometryInternal (const SectionID &)
 
- Protected Member Functions inherited from EM::EMObject
 EMObject (EMManager &)
 must be called after creation More...
 
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

int stratlevelid_
 
- Protected Attributes inherited from EM::Surface
BufferString dbinfo
 
- 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_
 

Additional Inherited Members

- Public Types inherited from EM::EMObject
enum  NodeSourceType { None = (int)'0', Manual =(int)'1', Auto =(int)'2', Gridding =(int)'3' }
 
- Static Public Member Functions inherited from EM::Surface
static BufferString getParFileName (const IOObj &)
 
static BufferString getSetupFileName (const IOObj &)
 
static BufferString getParentChildFileName (const IOObj &)
 
- 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 ()
 
- 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

Horizon Surface.

Constructor & Destructor Documentation

EM::Horizon::Horizon ( EMManager emm)
inlineprotected

Member Function Documentation

virtual void EM::Horizon::fillPar ( IOPar par) const
inlinevirtual

Reimplemented from EM::Surface.

Reimplemented in EM::Horizon3D.

virtual HorizonGeometry& EM::Horizon::geometry ( )
pure virtual

Implements EM::Surface.

Implemented in EM::Horizon2D, and EM::Horizon3D.

virtual const HorizonGeometry& EM::Horizon::geometry ( ) const
inlinevirtual

Reimplemented from EM::Surface.

Reimplemented in EM::Horizon2D, and EM::Horizon3D.

virtual Coord3 EM::Horizon::getCoord ( const TrcKey ) const
pure virtual

Implemented in EM::Horizon3D, and EM::Horizon2D.

virtual const IOObjContext& EM::Horizon::getIOObjContext ( ) const
protectedpure virtual

Implements EM::EMObject.

Implemented in EM::Horizon3D, and EM::Horizon2D.

virtual TrcKey::SurvID EM::Horizon::getSurveyID ( ) const
pure virtual

Implemented in EM::Horizon3D, and EM::Horizon2D.

virtual float EM::Horizon::getZ ( const TrcKey ) const
pure virtual

Implemented in EM::Horizon2D, and EM::Horizon3D.

virtual float EM::Horizon::getZValue ( const Coord ,
bool  allow_udf = true,
int  nr = 0 
) const
pure virtual

Implemented in EM::Horizon3D, and EM::Horizon2D.

virtual bool EM::Horizon::hasZ ( const TrcKey ) const
pure virtual

Implemented in EM::Horizon3D, and EM::Horizon2D.

virtual bool EM::Horizon::isAttrib ( const TrcKey ,
int  attr 
) const
pure virtual

Implemented in EM::Horizon3D, and EM::Horizon2D.

virtual void EM::Horizon::setAttrib ( const TrcKey ,
int  attr,
int  yn,
bool  undo 
)
pure virtual

Implemented in EM::Horizon3D, and EM::Horizon2D.

void EM::Horizon::setStratLevelID ( int  lvlid)
inline
virtual bool EM::Horizon::setZ ( const TrcKey ,
float  z,
bool  addtohist 
)
pure virtual

Implemented in EM::Horizon2D, and EM::Horizon3D.

virtual bool EM::Horizon::setZAndNodeSourceType ( const TrcKey ,
float  z,
bool  addtohist,
NodeSourceType  type = Auto 
)
pure virtual

Implemented in EM::Horizon2D, and EM::Horizon3D.

int EM::Horizon::stratLevelID ( ) const
inline
virtual bool EM::Horizon::usePar ( const IOPar par)
inlinevirtual

Reimplemented from EM::Surface.

Reimplemented in EM::Horizon3D.

Member Data Documentation

int EM::Horizon::stratlevelid_
protected

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