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

3D Horizon. A Horizon is made up of one or more grids (so they can overlap at faults). The grids are defined by knot-points in a matrix and fillstyle in between the knots. More...

Inheritance diagram for EM::Horizon3D:
[legend]

Public Member Functions

 Horizon3D (EM::EMManager &)
 
void apply (const Pos::Filter &) override
 
ExecutorauxDataImporter (const ObjectSet< BinIDValueSet > &, const BufferStringSet &attribnms, int, const TrcKeySampling &hs)
 
Array2D< float > * createArray2D (const ZAxisTransform *zt=0) const
 
Array2D< float > * createArray2D (SectionID, const ZAxisTransform *zt=0) const
 
void deleteChildren ()
 
const Horizon3DGeometrygeometry () const override
 
Horizon3DGeometrygeometry () override
 
Array2D< char > * getChildren () const
 
Array2D< char > * getChildren (const TrcKey &) const
 
Coord3 getCoord (const TrcKey &) const override
 
const Array2D< char > * getLockedNodes () const override
 
TrcKey getParent (const TrcKey &) const
 
const OD::ColorgetParentColor () const
 
void getParents (const TrcKey &, TypeSet< TrcKey > &) const
 
Pos::GeomID getSurveyGeomID () const
 
OD::GeomSystem getSurveyID () const override
 
TrcKeySampling getTrackingSampling () const
 
const char * getTypeStr () const override
 
uiString getUserTypeStr () const override
 
float getZ (const BinID &) const
 Fast: reads from the first section. More...
 
float getZ (const TrcKey &) const override
 Fast: reads from the first section. More...
 
Interval< float > getZRange () const
 
float getZValue (const Coord &, bool allow_udf=true, int nr=0) const override
 Slow: if you need the choices. More...
 
bool hasNodeSourceType (const PosID &) const override
 
bool hasZ (const TrcKey &) const override
 Fast: checks only the first section. More...
 
Executorimporter (const ObjectSet< BinIDValueSet > &, const TrcKeySampling &hs)
 
void initAllAuxData (float val=mUdf(float))
 
void initTrackingArrays ()
 
void initTrackingAuxData (float val=mUdf(float))
 
bool isAttrib (const TrcKey &, int attr) const override
 
bool isNodeLocked (const PosID &) const override
 
bool isNodeLocked (const TrcKey &) const override
 
bool isNodeSourceType (const PosID &, NodeSourceType) const override
 
bool isNodeSourceType (const TrcKey &, NodeSourceType) const override
 
void lockAll () override
 
TrcKeySampling range () const
 
bool readNodeArrays ()
 
bool readParentArray ()
 
void removeAll () override
 
void resetChildren ()
 
bool saveNodeArrays ()
 
bool saveParentArray ()
 
bool selectChildren (const TrcKey &)
 
virtual void setArray (const BinID &start, const BinID &step, Array2D< float > *arr, bool takeover)
 
virtual void setArray (const SectionID &, const BinID &start, const BinID &step, Array2D< float > *arr, bool takeover)
 
bool setArray2D (Array2D< float > *, const BinID &origin, const BinID &step, bool takeoverarr=true)
 
bool setArray2D (const Array2D< float > &, bool onlyfillundefs, const char *histdesc, bool trimundef)
 
bool setArray2D (const Array2D< float > &arr, SectionID, bool onlyfillundefs, const char *histdesc, bool trimundef)
 
void setAttrib (const TrcKey &, int attr, int yn, bool addtohist) override
 
void setNewName () override
 
void setNodeLocked (const TrcKey &, bool locked) override
 
void setNodeSourceType (const PosID &, NodeSourceType)
 
void setNodeSourceType (const TrcKey &, NodeSourceType) override
 
void setParent (const TrcKey &, const TrcKey &parent)
 
void setParentColor (const OD::Color &)
 
bool setPos (const EM::PosID &, const Coord3 &, bool addtohistory) override
 
bool setPos (const EM::SubID &, const Coord3 &, bool addtohistory) override
 
void setSurveyGeomID (Pos::GeomID)
 
bool setZ (const BinID &, float z, bool addtohist)
 Fast: writes to the first section. More...
 
bool setZ (const TrcKey &, float z, bool addtohist) override
 Fast: writes to the first section. More...
 
bool setZAndNodeSourceType (const TrcKey &, float z, bool addtohist, NodeSourceType type=Auto) override
 Shortcut for setZ and setNodeSourceType. More...
 
void unlockAll () override
 
void updateTrackingSampling ()
 
- Public Member Functions inherited from EM::Horizon
 ~Horizon ()
 
void setNoLevelID ()
 
void setStratLevelID (Strat::LevelID lvlid)
 
Strat::LevelID stratLevelID () const
 
- Public Member Functions inherited from EM::Surface
EMObjectIteratorcreateIterator (const TrcKeyZSampling *=nullptr) const override
 
const char * dbInfo () const
 
bool enableGeometryChecks (bool) override
 
void fillPar (IOPar &) const override
 
bool isAtEdge (const EM::PosID &) const override
 
bool isGeometryChecksEnabled () const override
 
bool isLoaded () const override
 
Executorloader () override
 
Executorsaver () override
 
virtual Executorsaver (IOObj *)
 
void setDBInfo (const char *s)
 
bool usePar (const IOPar &) override
 
- 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
 
void emptyRemovedPolySelectedPosBox ()
 
uiString errMsg () const
 
Geometry::ElementgeometryElement ()
 
const Geometry::ElementgeometryElement () const
 
virtual void getLinkedPos (const EM::PosID &posid, TypeSet< EM::PosID > &) const
 
virtual const OD::ColorgetLockColor () 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 hasPosAttrib (int attr) const
 
const ObjectIDid () 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
 
virtual bool isEmpty () const
 
bool isFullyLoaded () const
 
bool isInsideSelRemoval () const
 
virtual bool isLocked () 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 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 &)
 
bool setPos (const EM::SectionID &, const EM::SubID &subid, const Coord3 &crd, 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 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)
 
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 Horizon3Dcreate (const char *nm)
 
static EMObjectcreate (EM::EMManager &)
 
static Horizon3DcreateWithConstZ (float z, const TrcKeySampling &)
 
static void initClass ()
 
static OD::Color sDefaultLockColor ()
 
static OD::Color sDefaultSelectionColor ()
 
static StringView typeStr ()
 
static uiString userTypeStr ()
 
- Static Public Member Functions inherited from EM::Horizon
static IOObjContext ioContext (bool is2d, bool forread)
 
static IOObjContext ioContext (bool is2d, const ZDomain::Info *zinfo, bool forread)
 
- Static Public Member Functions inherited from EM::Surface
static BufferString getParentChildFileName (const IOObj &)
 
static BufferString getParFileName (const IOObj &)
 
static BufferString getSetupFileName (const IOObj &)
 
- 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 *)
 

Public Attributes

SurfaceAuxDataauxdata
 
- Public Attributes inherited from EM::EMObject
CNotifier< EMObject, const EMObjectCallbackData & > change
 

Protected Types

enum  ArrayType { Parents , Children , LockNode , NodeSource }
 

Protected Member Functions

 ~ Horizon3D ()
 
void createNodeSourceArray (const StepInterval< int > &, const StepInterval< int > &, ArrayType)
 
void fillDisplayPar (IOPar &) const override
 
void fillPar (IOPar &) const override
 
const IOObjContextgetIOObjContext () const override
 
Array2D< char > * getNodeSourceArray (ArrayType) const
 
TrcKeySampling getSectionTrckeySampling () const
 
void initNodeArraysSize (const StepInterval< int > &, const StepInterval< int > &)
 
void setNodeArraySize (const StepInterval< int > &, const StepInterval< int > &, ArrayType)
 
void setNodeSourceArray (Array2D< char > *, ArrayType)
 
void updateNodeSourceArray (const TrcKeySampling, ArrayType)
 
bool useDisplayPar (const IOPar &) override
 
bool usePar (const IOPar &) override
 
- Protected Member Functions inherited from EM::Horizon
 Horizon (EMManager &)
 
- Protected Member Functions inherited from EM::Surface
 Surface (EMManager &)
 
 ~Surface ()
 
Geometry::ElementgeometryElementInternal () override
 
Geometry::ElementsectionGeometryInternal (const SectionID &) override
 
- Protected Member Functions inherited from EM::EMObject
 EMObject (EMManager &)
 must be called after creation More...
 
 ~EMObject ()
 
void posIDChangeCB (CallBacker *)
 
const MarkerStyle3DpreferredMarkerStyle3D () const
 
virtual void prepareForDelete () const
 
void prepareForDelete () override
 
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

bool arrayinited_
 
Array2D< char > * children_
 
Horizon3DGeometry geometry_
 
Array2D< char > * lockednodes_
 
Array2D< char > * nodesource_
 
OD::Color parentcolor_
 
Array2D< od_int64 > * parents_
 
Pos::GeomID survgeomid_
 
TrcKeySampling trackingsamp_
 
- Protected Attributes inherited from EM::Horizon
Strat::LevelID stratlevelid_
 
- Protected Attributes inherited from EM::Surface
BufferString dbinfo
 
- 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_
 

Friends

class EMManager
 
class EMObject
 

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

3D Horizon. A Horizon is made up of one or more grids (so they can overlap at faults). The grids are defined by knot-points in a matrix and fillstyle in between the knots.

<>

Member Enumeration Documentation

◆ ArrayType

enum EM::Horizon3D::ArrayType
protected
Enumerator
Parents 
Children 
LockNode 
NodeSource 

Constructor & Destructor Documentation

◆ Horizon3D()

EM::Horizon3D::Horizon3D ( EM::EMManager )

◆ ~ Horizon3D()

EM::Horizon3D::~ Horizon3D ( )
protected

Member Function Documentation

◆ apply()

void EM::Horizon3D::apply ( const Pos::Filter )
overridevirtual

Reimplemented from EM::Surface.

◆ auxDataImporter()

Executor* EM::Horizon3D::auxDataImporter ( const ObjectSet< BinIDValueSet > &  ,
const BufferStringSet attribnms,
int  ,
const TrcKeySampling hs 
)

◆ create() [1/2]

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

◆ create() [2/2]

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

◆ createArray2D() [1/2]

Array2D<float>* EM::Horizon3D::createArray2D ( const ZAxisTransform zt = 0) const

◆ createArray2D() [2/2]

Array2D<float>* EM::Horizon3D::createArray2D ( SectionID  ,
const ZAxisTransform zt = 0 
) const
inline

◆ createNodeSourceArray()

void EM::Horizon3D::createNodeSourceArray ( const StepInterval< int > &  ,
const StepInterval< int > &  ,
ArrayType   
)
protected

◆ createWithConstZ()

static Horizon3D* EM::Horizon3D::createWithConstZ ( float  z,
const TrcKeySampling  
)
static

◆ deleteChildren()

void EM::Horizon3D::deleteChildren ( )

◆ fillDisplayPar()

void EM::Horizon3D::fillDisplayPar ( IOPar ) const
overrideprotectedvirtual

Reimplemented from EM::EMObject.

◆ fillPar()

void EM::Horizon3D::fillPar ( IOPar ) const
overrideprotectedvirtual

Reimplemented from EM::Horizon.

◆ geometry() [1/2]

const Horizon3DGeometry& EM::Horizon3D::geometry ( ) const
overridevirtual

Reimplemented from EM::Horizon.

◆ geometry() [2/2]

Horizon3DGeometry& EM::Horizon3D::geometry ( )
overridevirtual

Implements EM::Horizon.

◆ getChildren() [1/2]

Array2D<char>* EM::Horizon3D::getChildren ( ) const

◆ getChildren() [2/2]

Array2D<char>* EM::Horizon3D::getChildren ( const TrcKey ) const
inline

◆ getCoord()

Coord3 EM::Horizon3D::getCoord ( const TrcKey ) const
overridevirtual

Implements EM::Horizon.

◆ getIOObjContext()

const IOObjContext& EM::Horizon3D::getIOObjContext ( ) const
overrideprotectedvirtual

Implements EM::Horizon.

◆ getLockedNodes()

const Array2D<char>* EM::Horizon3D::getLockedNodes ( ) const
overridevirtual

Reimplemented from EM::EMObject.

◆ getNodeSourceArray()

Array2D<char>* EM::Horizon3D::getNodeSourceArray ( ArrayType  ) const
protected

◆ getParent()

TrcKey EM::Horizon3D::getParent ( const TrcKey ) const

◆ getParentColor()

const OD::Color& EM::Horizon3D::getParentColor ( ) const

◆ getParents()

void EM::Horizon3D::getParents ( const TrcKey ,
TypeSet< TrcKey > &   
) const

◆ getSectionTrckeySampling()

TrcKeySampling EM::Horizon3D::getSectionTrckeySampling ( ) const
protected

◆ getSurveyGeomID()

Pos::GeomID EM::Horizon3D::getSurveyGeomID ( ) const
inline

◆ getSurveyID()

OD::GeomSystem EM::Horizon3D::getSurveyID ( ) const
inlineoverridevirtual

Implements EM::Horizon.

◆ getTrackingSampling()

TrcKeySampling EM::Horizon3D::getTrackingSampling ( ) const

◆ getTypeStr()

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

Implements EM::EMObject.

◆ getUserTypeStr()

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

Implements EM::EMObject.

◆ getZ() [1/2]

float EM::Horizon3D::getZ ( const BinID ) const

Fast: reads from the first section.

◆ getZ() [2/2]

float EM::Horizon3D::getZ ( const TrcKey ) const
overridevirtual

Fast: reads from the first section.

Implements EM::Horizon.

◆ getZRange()

Interval<float> EM::Horizon3D::getZRange ( ) const

◆ getZValue()

float EM::Horizon3D::getZValue ( const Coord ,
bool  allow_udf = true,
int  nr = 0 
) const
overridevirtual

Slow: if you need the choices.

Implements EM::Horizon.

◆ hasNodeSourceType()

bool EM::Horizon3D::hasNodeSourceType ( const PosID ) const
overridevirtual

Reimplemented from EM::EMObject.

◆ hasZ()

bool EM::Horizon3D::hasZ ( const TrcKey ) const
overridevirtual

Fast: checks only the first section.

Implements EM::Horizon.

◆ importer()

Executor* EM::Horizon3D::importer ( const ObjectSet< BinIDValueSet > &  ,
const TrcKeySampling hs 
)

Removes all data and creates a section for every BinIDValueSet

◆ initAllAuxData()

void EM::Horizon3D::initAllAuxData ( float  val = mUdf(float))

◆ initClass()

static void EM::Horizon3D::initClass ( )
static

◆ initNodeArraysSize()

void EM::Horizon3D::initNodeArraysSize ( const StepInterval< int > &  ,
const StepInterval< int > &   
)
protected

◆ initTrackingArrays()

void EM::Horizon3D::initTrackingArrays ( )

◆ initTrackingAuxData()

void EM::Horizon3D::initTrackingAuxData ( float  val = mUdf(float))

◆ isAttrib()

bool EM::Horizon3D::isAttrib ( const TrcKey ,
int  attr 
) const
overridevirtual

Implements EM::Horizon.

◆ isNodeLocked() [1/2]

bool EM::Horizon3D::isNodeLocked ( const PosID ) const
overridevirtual

Reimplemented from EM::EMObject.

◆ isNodeLocked() [2/2]

bool EM::Horizon3D::isNodeLocked ( const TrcKey ) const
overridevirtual

Reimplemented from EM::EMObject.

◆ isNodeSourceType() [1/2]

bool EM::Horizon3D::isNodeSourceType ( const PosID ,
NodeSourceType   
) const
overridevirtual

Reimplemented from EM::EMObject.

◆ isNodeSourceType() [2/2]

bool EM::Horizon3D::isNodeSourceType ( const TrcKey ,
NodeSourceType   
) const
overridevirtual

Reimplemented from EM::EMObject.

◆ lockAll()

void EM::Horizon3D::lockAll ( )
overridevirtual

Reimplemented from EM::EMObject.

◆ range()

TrcKeySampling EM::Horizon3D::range ( ) const

◆ readNodeArrays()

bool EM::Horizon3D::readNodeArrays ( )

◆ readParentArray()

bool EM::Horizon3D::readParentArray ( )

◆ removeAll()

void EM::Horizon3D::removeAll ( )
overridevirtual

Reimplemented from EM::Surface.

◆ resetChildren()

void EM::Horizon3D::resetChildren ( )

◆ saveNodeArrays()

bool EM::Horizon3D::saveNodeArrays ( )

◆ saveParentArray()

bool EM::Horizon3D::saveParentArray ( )

◆ sDefaultLockColor()

static OD::Color EM::Horizon3D::sDefaultLockColor ( )
static

◆ sDefaultSelectionColor()

static OD::Color EM::Horizon3D::sDefaultSelectionColor ( )
static

◆ selectChildren()

bool EM::Horizon3D::selectChildren ( const TrcKey )

◆ setArray() [1/2]

virtual void EM::Horizon3D::setArray ( const BinID start,
const BinID step,
Array2D< float > *  arr,
bool  takeover 
)
virtual

◆ setArray() [2/2]

virtual void EM::Horizon3D::setArray ( const SectionID ,
const BinID start,
const BinID step,
Array2D< float > *  arr,
bool  takeover 
)
inlinevirtual

◆ setArray2D() [1/3]

bool EM::Horizon3D::setArray2D ( Array2D< float > *  ,
const BinID origin,
const BinID step,
bool  takeoverarr = true 
)

Returns true on succes. Takes over array when takeoverarr=true. Removes any existing data.

◆ setArray2D() [2/3]

bool EM::Horizon3D::setArray2D ( const Array2D< float > &  ,
bool  onlyfillundefs,
const char *  histdesc,
bool  trimundef 
)

Returns true on succes. If histdesc is set, the event will be saved to history with the desc.

◆ setArray2D() [3/3]

bool EM::Horizon3D::setArray2D ( const Array2D< float > &  arr,
SectionID  ,
bool  onlyfillundefs,
const char *  histdesc,
bool  trimundef 
)
inline

◆ setAttrib()

void EM::Horizon3D::setAttrib ( const TrcKey ,
int  attr,
int  yn,
bool  addtohist 
)
overridevirtual

Implements EM::Horizon.

◆ setNewName()

void EM::Horizon3D::setNewName ( )
overridevirtual

Reimplemented from EM::EMObject.

◆ setNodeArraySize()

void EM::Horizon3D::setNodeArraySize ( const StepInterval< int > &  ,
const StepInterval< int > &  ,
ArrayType   
)
protected

◆ setNodeLocked()

void EM::Horizon3D::setNodeLocked ( const TrcKey ,
bool  locked 
)
overridevirtual

Reimplemented from EM::EMObject.

◆ setNodeSourceArray()

void EM::Horizon3D::setNodeSourceArray ( Array2D< char > *  ,
ArrayType   
)
protected

◆ setNodeSourceType() [1/2]

void EM::Horizon3D::setNodeSourceType ( const PosID ,
NodeSourceType   
)

◆ setNodeSourceType() [2/2]

void EM::Horizon3D::setNodeSourceType ( const TrcKey ,
NodeSourceType   
)
overridevirtual

Reimplemented from EM::EMObject.

◆ setParent()

void EM::Horizon3D::setParent ( const TrcKey ,
const TrcKey parent 
)

◆ setParentColor()

void EM::Horizon3D::setParentColor ( const OD::Color )

◆ setPos() [1/2]

bool EM::Horizon3D::setPos ( const EM::PosID ,
const Coord3 ,
bool  addtohistory 
)
overridevirtual

Reimplemented from EM::EMObject.

◆ setPos() [2/2]

bool EM::Horizon3D::setPos ( const EM::SubID ,
const Coord3 ,
bool  addtohistory 
)
overridevirtual

Reimplemented from EM::EMObject.

◆ setSurveyGeomID()

void EM::Horizon3D::setSurveyGeomID ( Pos::GeomID  )

A 3D Horizon is locked to one survey Geometry

◆ setZ() [1/2]

bool EM::Horizon3D::setZ ( const BinID ,
float  z,
bool  addtohist 
)

Fast: writes to the first section.

◆ setZ() [2/2]

bool EM::Horizon3D::setZ ( const TrcKey ,
float  z,
bool  addtohist 
)
overridevirtual

Fast: writes to the first section.

Implements EM::Horizon.

◆ setZAndNodeSourceType()

bool EM::Horizon3D::setZAndNodeSourceType ( const TrcKey ,
float  z,
bool  addtohist,
NodeSourceType  type = Auto 
)
overridevirtual

Shortcut for setZ and setNodeSourceType.

Implements EM::Horizon.

◆ typeStr()

static StringView EM::Horizon3D::typeStr ( )
static

◆ unlockAll()

void EM::Horizon3D::unlockAll ( )
overridevirtual

Reimplemented from EM::EMObject.

◆ updateNodeSourceArray()

void EM::Horizon3D::updateNodeSourceArray ( const  TrcKeySampling,
ArrayType   
)
protected

◆ updateTrackingSampling()

void EM::Horizon3D::updateTrackingSampling ( )

◆ useDisplayPar()

bool EM::Horizon3D::useDisplayPar ( const IOPar )
overrideprotectedvirtual

Reimplemented from EM::EMObject.

◆ usePar()

bool EM::Horizon3D::usePar ( const IOPar )
overrideprotectedvirtual

Reimplemented from EM::Horizon.

◆ userTypeStr()

static uiString EM::Horizon3D::userTypeStr ( )
inlinestatic

Friends And Related Function Documentation

◆ EMManager

friend class EMManager
friend

◆ EMObject

friend class EMObject
friend

Member Data Documentation

◆ arrayinited_

bool EM::Horizon3D::arrayinited_
protected

◆ auxdata

SurfaceAuxData& EM::Horizon3D::auxdata

◆ children_

Array2D<char>* EM::Horizon3D::children_
protected

◆ geometry_

Horizon3DGeometry EM::Horizon3D::geometry_
protected

◆ lockednodes_

Array2D<char>* EM::Horizon3D::lockednodes_
protected

◆ nodesource_

Array2D<char>* EM::Horizon3D::nodesource_
protected

'0'- non interpreted, '1'- manual interpreted,'2' - auto interpreted. '3'-Gridding. see enum NodeSourceType

◆ parentcolor_

OD::Color EM::Horizon3D::parentcolor_
protected

◆ parents_

Array2D<od_int64>* EM::Horizon3D::parents_
protected

◆ survgeomid_

Pos::GeomID EM::Horizon3D::survgeomid_
protected

◆ trackingsamp_

TrcKeySampling EM::Horizon3D::trackingsamp_
protected

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