OpendTect
6.6
|
Base class for all EarthModel objects. More...
Public Types | |
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 Member Functions | |
virtual void | addPosAttrib (int attr) |
virtual int | addPosAttribName (const char *) |
virtual bool | canSetSectionName () const |
void | changePosID (const EM::PosID &from, const EM::PosID &to, bool addtohistory) |
virtual EMObjectIterator * | createIterator (const EM::SectionID &, const TrcKeyZSampling *=0) const |
void | emptyRemovedPolySelectedPosBox () |
virtual bool | enableGeometryChecks (bool) |
uiString | errMsg () const |
virtual void | fillDisplayPar (IOPar &) const |
virtual void | fillPar (IOPar &) const |
virtual const IOObjContext & | getIOObjContext () const =0 |
virtual void | getLinkedPos (const EM::PosID &posid, TypeSet< EM::PosID > &) const |
virtual const Color & | getLockColor () const |
virtual const Array2D< char > * | getLockedNodes () const |
virtual Coord3 | getPos (const EM::PosID &) const |
virtual Coord3 | getPos (const EM::SectionID &, const EM::SubID &) const |
const TypeSet< PosID > * | getPosAttribList (int attr) const |
const MarkerStyle3D & | getPosAttrMarkerStyle (int attr) const |
const TrcKeyZSampling | getRemovedPolySelectedPosBox () |
const Color & | getSelectionColor () const |
virtual const char * | getTypeStr () const =0 |
virtual uiString | getUserTypeStr () const =0 |
bool | hasBurstAlert () const |
virtual bool | hasLockedNodes () const |
virtual bool | hasNodeSourceType (const PosID &) const |
virtual bool | hasPosAttrib (int attr) const |
const ObjectID & | id () const |
virtual bool | isAtEdge (const EM::PosID &) const |
virtual bool | isChanged () const |
virtual bool | isDefined (const EM::PosID &) const |
virtual bool | isDefined (const EM::SectionID &, const EM::SubID &) const |
virtual bool | isEmpty () 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 |
virtual Executor * | loader () |
virtual void | lock (bool yn) |
virtual void | lockAll () |
virtual void | lockPosAttrib (int attr, bool yn) |
mDeclInstanceCreatedNotifierAccess (EMObject) | |
const MultiID & | multiID () const |
virtual int | nrPosAttribs () const |
virtual int | nrSections () const =0 |
virtual int | posAttrib (int idx) const |
virtual const char * | posAttribName (int) const |
const Color & | preferredColor () const |
const OD::LineStyle & | preferredLineStyle () const |
void | removeAllUnSeedPos () |
void | removeListOfSubIDs (const TypeSet< EM::SubID > &, const EM::SectionID &) |
virtual void | removePosAttribList (int attr, bool addtohistory=true) |
virtual bool | removeSection (SectionID, bool hist) |
virtual void | removeSelected (const Selector< Coord3 > &, TaskRunner *) |
void | removeSelected (const TypeSet< EM::SubID > &) |
virtual void | resetChangedFlag () |
void | saveDisplayPars () const |
virtual Executor * | saver () |
Geometry::Element * | sectionGeometry (const SectionID &) |
const Geometry::Element * | sectionGeometry (const SectionID &) const |
virtual SectionID | sectionID (int) const =0 |
virtual int | sectionIndex (const SectionID &) const |
virtual 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 Color &) |
void | setMultiID (const MultiID &) |
virtual void | setNewName () |
virtual void | setNodeLocked (const TrcKey &, bool locked) |
virtual void | setNodeSourceType (const TrcKey &, NodeSourceType) |
virtual bool | setPos (const EM::PosID &, const Coord3 &, bool addtohistory) |
virtual bool | setPos (const EM::SectionID &, 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 Color &, bool addtohistory=false) |
void | setPreferredLineStyle (const OD::LineStyle &) |
virtual bool | setSectionName (const SectionID &, const char *, bool addtohistory) |
void | setSelectionColor (const Color &) |
mDeprecatedDef uiString | uiName () const |
virtual void | unlockAll () |
virtual bool | unSetPos (const EM::PosID &, bool addtohistory) |
virtual bool | unSetPos (const EM::SectionID &, const EM::SubID &, bool addtohistory) |
virtual bool | useDisplayPar (const IOPar &) |
virtual bool | usePar (const IOPar &) |
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 |
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 &) |
virtual const name_type & | name () const |
NamedObject & | operator= (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 int | sEdgeControlNode () |
static int | sIntersectionNode () |
static int | sPermanentControlNode () |
static int | sSeedNode () |
static int | sTemporaryControlNode () |
static int | sTerminationNode () |
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 | |
CNotifier< EMObject, const EMObjectCallbackData & > | change |
Protected Member Functions | |
EMObject (EMManager &) | |
must be called after creation More... | |
~EMObject () | |
void | posIDChangeCB (CallBacker *) |
const MarkerStyle3D & | preferredMarkerStyle3D () const |
virtual void | prepareForDelete () |
virtual void | prepareForDelete () const |
virtual Geometry::Element * | sectionGeometryInternal (const SectionID &) |
void | setPreferredMarkerStyle3D (const MarkerStyle3D &) |
void | useDisplayPars (const IOPar &) |
Protected Member Functions inherited from NamedCallBacker | |
void | sendDelNotif () const |
Protected Member Functions inherited from RefCount::Referenced | |
Referenced () | |
Referenced (const Referenced &) | |
virtual | ~Referenced () |
Referenced & | operator= (const Referenced &) |
Static Protected Member Functions | |
static const char * | nrposattrstr () |
static const char * | posattrposidstr () |
static const char * | posattrprefixstr () |
static const char * | posattrsectionstr () |
Protected Attributes | |
TypeSet< int > | attribs_ |
int | burstalertcount_ |
bool | changed_ |
uiString | errmsg_ |
bool | fullyloaded_ |
bool | haslockednodes_ |
ObjectID | id_ |
bool | insideselremoval_ |
Color | lockcolor_ |
bool | locked_ |
class EMManager & | manager_ |
BufferString | objname_ |
MarkerStyle3D & | posattribmarkerstyle_ |
ObjectSet< PosAttrib > | posattribs_ |
Color & | preferredcolor_ |
OD::LineStyle & | preferredlinestyle_ |
MarkerStyle3D & | preferredmarkerstyle_ |
TrcKeyZSampling | removebypolyposbox_ |
Color | selectioncolor_ |
bool | selremoving_ |
Threads::Lock | setposlock_ |
MultiID | storageid_ |
Protected Attributes inherited from NamedCallBacker | |
Threads::Atomic< bool > | delalreadytriggered_ |
Notifier< NamedCallBacker > | delnotif_ |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Base class for all EarthModel objects.
<>
|
protected |
|
protected |
must be called after creation
|
virtual |
|
virtual |
|
virtual |
Reimplemented in EM::Surface, EM::RandomPosBody, and EM::MarchingCubesSurface.
Tells the object that the node former known as from is now called to. Function will also exchange set the position of to to the posion of from.
|
inlinevirtual |
creates an iterator. If the sectionid is -1, all sections will be traversed.
Reimplemented in EM::Surface.
void EM::EMObject::emptyRemovedPolySelectedPosBox | ( | ) |
|
virtual |
Reimplemented in EM::Surface.
uiString EM::EMObject::errMsg | ( | ) | const |
|
virtual |
Reimplemented in EM::Horizon3D.
|
virtual |
Reimplemented in EM::Horizon, EM::Surface, and EM::Horizon3D.
|
pure virtual |
Implemented in EM::Horizon, EM::Fault, EM::StickSet, EM::RandomPosBody, EM::PolygonBody, EM::MarchingCubesSurface, EM::Horizon3D, EM::Horizon2D, EM::FaultStickSet, EM::FaultSet3D, and EM::Fault3D.
|
inlinevirtual |
Gives positions on the object that are linked to the posid given
|
virtual |
|
inlinevirtual |
Reimplemented in EM::Horizon3D.
Reimplemented in EM::StickSet, EM::RandomPosBody, and EM::Horizon2D.
|
virtual |
Reimplemented in EM::StickSet, EM::RandomPosBody, and EM::Horizon2D.
const MarkerStyle3D& EM::EMObject::getPosAttrMarkerStyle | ( | int | attr | ) | const |
const TrcKeyZSampling EM::EMObject::getRemovedPolySelectedPosBox | ( | ) |
const Color& EM::EMObject::getSelectionColor | ( | ) | const |
|
pure virtual |
Implemented in EM::StickSet, EM::RandomPosBody, EM::PolygonBody, EM::MarchingCubesSurface, EM::Horizon3D, EM::Horizon2D, EM::FaultStickSet, EM::FaultSet3D, and EM::Fault3D.
|
pure virtual |
Implemented in EM::RandomPosBody, EM::PolygonBody, EM::MarchingCubesSurface, EM::Horizon3D, EM::Horizon2D, EM::FaultStickSet, EM::FaultSet3D, and EM::Fault3D.
bool EM::EMObject::hasBurstAlert | ( | ) | const |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in EM::Horizon3D.
|
virtual |
|
inline |
|
virtual |
Reimplemented in EM::Surface.
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in EM::RandomPosBody, and EM::MarchingCubesSurface.
|
inline |
|
virtual |
Reimplemented in EM::Surface.
|
inline |
|
inlinevirtual |
Reimplemented in EM::Surface, and EM::StickSet.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in EM::Horizon3D.
|
inlinevirtual |
Reimplemented in EM::Horizon3D.
|
inlinevirtual |
Reimplemented in EM::Horizon3D, and EM::Horizon2D.
|
inlinevirtual |
Reimplemented in EM::Horizon3D, and EM::Horizon2D.
|
inlinevirtual |
|
virtual |
|
virtual |
|
inline |
|
inlinevirtual |
Reimplemented in EM::Surface, EM::StickSet, EM::RandomPosBody, EM::PolygonBody, EM::MarchingCubesSurface, and EM::FaultSet3D.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in EM::Horizon3D.
|
virtual |
EM::EMObject::mDeclInstanceCreatedNotifierAccess | ( | EMObject | ) |
|
inline |
|
virtual |
|
staticprotected |
|
pure virtual |
Implemented in EM::Surface, EM::StickSet, EM::RandomPosBody, EM::MarchingCubesSurface, and EM::FaultSet3D.
|
virtual |
|
virtual |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
const Color& EM::EMObject::preferredColor | ( | ) | const |
const OD::LineStyle& EM::EMObject::preferredLineStyle | ( | ) | const |
|
protected |
|
protectedvirtual |
Reimplemented from RefCount::Referenced.
|
protectedvirtual |
void EM::EMObject::removeAllUnSeedPos | ( | ) |
void EM::EMObject::removeListOfSubIDs | ( | const TypeSet< EM::SubID > & | , |
const EM::SectionID & | |||
) |
|
virtual |
|
inlinevirtual |
Reimplemented in EM::Surface.
|
virtual |
Reimplemented in EM::Horizon2D.
|
inlinevirtual |
void EM::EMObject::saveDisplayPars | ( | ) | const |
|
inlinevirtual |
Reimplemented in EM::Surface, EM::StickSet, EM::RandomPosBody, EM::PolygonBody, EM::MarchingCubesSurface, and EM::FaultSet3D.
Geometry::Element* EM::EMObject::sectionGeometry | ( | const SectionID & | ) |
const Geometry::Element* EM::EMObject::sectionGeometry | ( | const SectionID & | ) | const |
|
protectedvirtual |
Reimplemented in EM::Surface.
|
pure virtual |
Implemented in EM::Surface, EM::RandomPosBody, EM::MarchingCubesSurface, EM::FaultSet3D, and EM::StickSet.
|
virtual |
|
virtual |
Reimplemented in EM::Surface.
|
static |
void EM::EMObject::setBurstAlert | ( | bool | yn | ) |
|
inlinevirtual |
|
inline |
|
inline |
|
virtual |
void EM::EMObject::setMultiID | ( | const MultiID & | ) |
|
virtual |
Reimplemented in EM::RandomPosBody, EM::PolygonBody, EM::MarchingCubesSurface, EM::Horizon3D, EM::Horizon2D, EM::FaultStickSet, EM::FaultSet3D, and EM::Fault3D.
|
inlinevirtual |
Reimplemented in EM::Horizon3D.
|
inlinevirtual |
Reimplemented in EM::Horizon3D, and EM::Horizon2D.
|
virtual |
Reimplemented in EM::RandomPosBody, EM::Horizon3D, EM::StickSet, and EM::Horizon2D.
|
virtual |
Reimplemented in EM::StickSet, EM::RandomPosBody, EM::Horizon3D, and EM::Horizon2D.
|
virtual |
Sets/unsets the posattrib depending on yn.
void EM::EMObject::setPosAttrMarkerStyle | ( | int | attr, |
const MarkerStyle3D & | |||
) |
void EM::EMObject::setPreferredColor | ( | const Color & | , |
bool | addtohistory = false |
||
) |
void EM::EMObject::setPreferredLineStyle | ( | const OD::LineStyle & | ) |
|
protected |
|
virtual |
Reimplemented in EM::Surface.
void EM::EMObject::setSelectionColor | ( | const Color & | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |
|
inlinevirtual |
Reimplemented in EM::Horizon3D.
|
virtual |
Reimplemented in EM::Horizon2D.
|
virtual |
Reimplemented in EM::Horizon2D.
|
virtual |
Reimplemented in EM::Horizon3D.
|
protected |
|
virtual |
Reimplemented in EM::Horizon, EM::Surface, and EM::Horizon3D.
|
protected |
|
protected |
CNotifier<EMObject,const EMObjectCallbackData&> EM::EMObject::change |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022