OpendTect
6.6
|
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 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 *=0) |
int | nrLoadedObjects () const |
bool | objectExists (const EMObject *) const |
EM::ObjectID | objectID (int idx) const |
Executor * | objectLoader (const MultiID &, const SurfaceIODataSelection *=0) |
Executor * | objectLoader (const TypeSet< MultiID > &, const SurfaceIODataSelection *=0, TypeSet< MultiID > *idstobeloaded=0) |
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 |
Undo & | undo () |
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 |
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 &id) |
Static Protected Member Functions | |
static const char * | displayparameterstr () |
Protected Attributes | |
ObjectSet< EMObject > | objects_ |
Undo & | undo_ |
ObjectSet< EMObjUndo > | undolist_ |
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 * | = 0 |
||
) |
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 * | = 0 |
||
) |
Executor* EM::EMManager::objectLoader | ( | const TypeSet< MultiID > & | , |
const SurfaceIODataSelection * | = 0 , |
||
TypeSet< MultiID > * | idstobeloaded = 0 |
||
) |
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 |
Undo& EM::EMManager::undo | ( | ) |
const Undo& EM::EMManager::undo | ( | ) | const |
Undo& EM::EMManager::undo | ( | const EM::ObjectID & | ) |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022