OpendTect
7.0
|
Manages the loaded/half loaded EM objects in OpendTect. More...
Classes | |
struct | EMObjUndo |
Public Member Functions | |
EMManager () | |
~EMManager () | |
void | addObject (EMObject *) |
void | burstAlertToAll (bool yn) |
EM::ObjectID | createObject (const char *type, const char *name) |
EMObject * | createTempObject (const char *type) |
void | eraseUndoList () |
MultiID | getMultiID (const ObjectID &) const |
EMObject * | getObject (const MultiID &) |
const EMObject * | getObject (const MultiID &) const |
EMObject * | getObject (const ObjectID &) |
const EMObject * | getObject (const ObjectID &) const |
ObjectID | getObjectID (const MultiID &) const |
bool | getSurfaceData (const MultiID &, SurfaceIOData &, uiString &errmsg) const |
EMObject * | loadIfNotFullyLoaded (const MultiID &, TaskRunner *=nullptr, const ZAxisTransform *=nullptr) |
int | nrLoadedObjects () const |
bool | objectExists (const EMObject *) const |
EM::ObjectID | objectID (int idx) const |
Executor * | objectLoader (const MultiID &, const SurfaceIODataSelection *=nullptr, const ZAxisTransform *=nullptr) |
Executor * | objectLoader (const TypeSet< MultiID > &, const SurfaceIODataSelection *=nullptr, TypeSet< MultiID > *idstobeloaded=nullptr, const ZAxisTransform *=nullptr) |
BufferString | objectName (const MultiID &) const |
const char * | objectType (const MultiID &) const |
bool | readDisplayPars (const MultiID &, IOPar &) const |
void | removeObject (const EMObject *) |
void | removeSelected (const ObjectID &, const Selector< Coord3 > &, TaskRunner *) |
void | setEmpty () |
int | size () const |
mDeprecatedDef Undo & | undo () |
mDeprecatedDef const Undo & | undo () const |
Undo & | undo (const EM::ObjectID &) |
bool | writeDisplayPars (const MultiID &, const IOPar &) 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 CallBacker * | trueCaller () |
Public Attributes | |
Notifier< EMManager > | addRemove |
Protected Member Functions | |
void | levelToBeRemoved (CallBacker *) |
bool | readParsFromDisplayInfoFile (const MultiID &, IOPar &) const |
bool | readParsFromGeometryInfoFile (const MultiID &, IOPar &) const |
int | undoIndexOf (const EM::ObjectID &) |
Static Protected Member Functions | |
static const char * | displayparameterstr () |
Protected Attributes | |
ObjectSet< EMObject > | objects_ |
ObjectSet< EMObjUndo > | undolist_ |
Private Attributes | |
Undo & | undo_ |
Additional Inherited Members | |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Manages the loaded/half loaded EM objects in OpendTect.
<>
EM::EMManager::EMManager | ( | ) |
EM::EMManager::~EMManager | ( | ) |
void EM::EMManager::addObject | ( | EMObject * | ) |
void EM::EMManager::burstAlertToAll | ( | bool | yn | ) |
EM::ObjectID EM::EMManager::createObject | ( | const char * | type, |
const char * | name | ||
) |
Creates a new object, saves it and loads it. Removes any loaded object with the same name!
EMObject* EM::EMManager::createTempObject | ( | const char * | type | ) |
|
staticprotected |
void EM::EMManager::eraseUndoList | ( | ) |
bool EM::EMManager::getSurfaceData | ( | const MultiID & | , |
SurfaceIOData & | , | ||
uiString & | errmsg | ||
) | const |
|
protected |
EMObject* EM::EMManager::loadIfNotFullyLoaded | ( | const MultiID & | , |
TaskRunner * | = nullptr , |
||
const ZAxisTransform * | = nullptr |
||
) |
If fully loaded, the loaded instance will be returned. Otherwise, it will be loaded. Returned object must be reffed by caller (and eventually unreffed).
|
inline |
bool EM::EMManager::objectExists | ( | const EMObject * | ) | const |
EM::ObjectID EM::EMManager::objectID | ( | int | idx | ) | const |
Executor* EM::EMManager::objectLoader | ( | const MultiID & | , |
const SurfaceIODataSelection * | = nullptr , |
||
const ZAxisTransform * | = nullptr |
||
) |
Executor* EM::EMManager::objectLoader | ( | const TypeSet< MultiID > & | , |
const SurfaceIODataSelection * | = nullptr , |
||
TypeSet< MultiID > * | idstobeloaded = nullptr , |
||
const ZAxisTransform * | = nullptr |
||
) |
idstobeloaded are the ids for which the objects will be actually loaded
BufferString EM::EMManager::objectName | ( | const MultiID & | ) | const |
const char* EM::EMManager::objectType | ( | const MultiID & | ) | const |
void EM::EMManager::removeObject | ( | const EMObject * | ) |
void EM::EMManager::removeSelected | ( | const ObjectID & | , |
const Selector< Coord3 > & | , | ||
TaskRunner * | |||
) |
void EM::EMManager::setEmpty | ( | ) |
|
inline |
mDeprecatedDef Undo& EM::EMManager::undo | ( | ) |
mDeprecatedDef const Undo& EM::EMManager::undo | ( | ) | const |
Undo& EM::EMManager::undo | ( | const EM::ObjectID & | ) |
|
protected |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024