OpendTect
7.0
|
Implementation of Tracking part server interface. More...
Public Member Functions | |
uiMPEPartServer (uiApplService &) | |
~uiMPEPartServer () | |
int | activeTrackerID () const |
bool | addTracker (const char *trackertype, SceneID sceneid) |
int | addTracker (const EM::ObjectID &, const Coord3 &pos) |
void | attribSelectedForTracking () |
bool | canAddSeed (int trackerid) const |
void | enableTracking (int trackerid, bool yn) |
void | fillPar (IOPar &) const |
void | fillTrackerSettings (int trackerid) |
const char * | get2DAttribName () const |
const char * | get2DLineName () const |
const Attrib::SelSpec * | getAttribSelSpec () const |
TrcKeyZSampling | getAttribVolume (const Attrib::SelSpec &) const |
const Attrib::DescSet * | getCurAttrDescSet (bool is2d) const |
SceneID | getCurSceneID () const |
EM::ObjectID | getEMObjectID (int trackerid) const |
Pos::GeomID | getGeomID () const |
MPE::uiSetupGroup * | getSetupGroup () |
int | getTrackerID (const char *name) const |
int | getTrackerID (const EM::ObjectID &) const |
void | getTrackerTypes (BufferStringSet &) const |
bool | is2D () const |
bool | isTrackingEnabled (int trackerid) const |
void | loadTrackSetupCB (CallBacker *) |
const char * | name () const override |
bool | prepareSaveSetupAs (const MultiID &) |
bool | readSetup (const MultiID &) |
bool | saveSetup (const MultiID &) |
bool | saveSetupAs (const MultiID &) |
bool | sendMPEEvent (int) |
void | set2DSelSpec (const Attrib::SelSpec &) |
void | setAttribData (const Attrib::SelSpec &, DataPackID) |
void | setCurrentAttribDescSet (const Attrib::DescSet *) |
bool | showSetupDlg (const EM::ObjectID &) |
bool | showSetupDlg (const EM::ObjectID &objid, const EM::SectionID &) |
bool | showSetupGroupOnTop (const EM::ObjectID &, const char *grpnm) |
bool | usePar (const IOPar &) |
void | useSavedSetupDlg (const EM::ObjectID &) |
void | useSavedSetupDlg (const EM::ObjectID &objid, const EM::SectionID &) |
Public Member Functions inherited from uiApplPartServer | |
~uiApplPartServer () | |
uiApplService & | appserv () |
const uiApplService & | appserv () const |
void | setParent (uiParent *) |
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 () |
Static Public Member Functions | |
static int | evAddTreeObject () |
static int | evCreate2DSelSpec () |
static int | evEndSeedPick () |
static int | evGetAttribData () |
static int | evHorizonTracking () |
static int | evInitFromSession () |
static int | evRemoveTreeObject () |
static int | evSelectAttribForTracking () |
static int | evSetupClosed () |
static int | evSetupLaunched () |
static int | evStartSeedPick () |
static int | evStoreEMObject () |
static int | evUpdateSeedConMode () |
static int | evUpdateTrees () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Protected Member Functions | |
void | aboutToAddRemoveSeed (CallBacker *) |
void | activeVolumeChange (CallBacker *) |
void | cleanSetupDependents () |
void | correlationChangedCB (CallBacker *) |
void | eventChangedCB (CallBacker *) |
bool | initSetupDlg (EM::EMObject *&emobj, MPE::EMTracker *&tracker, bool freshdlg=false) |
void | loadEMObjectCB (CallBacker *) |
void | mergeAttribSets (const Attrib::DescSet &newads, MPE::EMTracker &) |
void | modeChangedCB (CallBacker *) |
void | noTrackingRemoval () |
void | nrHorChangeCB (CallBacker *) |
void | propertyChangedCB (CallBacker *) |
void | seedAddedCB (CallBacker *) |
void | settingsChangedCB (CallBacker *) |
void | trackerWinClosedCB (CallBacker *) |
Protected Member Functions inherited from uiApplPartServer | |
uiApplPartServer (uiApplService &) | |
void * | getObject (int objid) const |
uiParent * | parent () const |
bool | sendEvent (int evid) const |
Protected Attributes | |
int | activetrackerid_ |
const Attrib::DescSet * | attrset2d_ |
const Attrib::DescSet * | attrset3d_ |
SceneID | cursceneid_ |
const Attrib::SelSpec * | eventattrselspec_ |
Pos::GeomID | geomid_ |
int | initialundoid_ |
Attrib::SelSpec | lineselspec_ |
bool | seedhasbeenpicked_ |
bool | seedswithoutattribsel_ |
bool | setupbeingupdated_ |
MPE::uiSetupGroup * | setupgrp_ |
int | temptrackerid_ |
EM::ObjectID | trackercurrentobject_ |
Static Private Member Functions | |
static uiString | sNoAskGoOnStr () |
static uiString | sYesAskGoOnStr () |
Implementation of Tracking part server interface.
<>
uiMPEPartServer::uiMPEPartServer | ( | uiApplService & | ) |
uiMPEPartServer::~uiMPEPartServer | ( | ) |
|
protected |
int uiMPEPartServer::activeTrackerID | ( | ) | const |
returns the trackerid of the last event
|
protected |
bool uiMPEPartServer::addTracker | ( | const char * | trackertype, |
SceneID | sceneid | ||
) |
int uiMPEPartServer::addTracker | ( | const EM::ObjectID & | , |
const Coord3 & | pos | ||
) |
Creates a new tracker for the object and returns the trackerid of it or -1 if it failed.
pos | should contain the clicked position. If the activevolume is not set before, it will be centered pos, otherwise, it will be expanded to include pos. |
void uiMPEPartServer::attribSelectedForTracking | ( | ) |
bool uiMPEPartServer::canAddSeed | ( | int | trackerid | ) | const |
|
protected |
|
protected |
void uiMPEPartServer::enableTracking | ( | int | trackerid, |
bool | yn | ||
) |
|
static |
Get trackerid via activeTrackerID
|
static |
|
static |
|
protected |
|
static |
|
static |
|
static |
|
static |
Get trackerid via activeTrackerID
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void uiMPEPartServer::fillPar | ( | IOPar & | ) | const |
void uiMPEPartServer::fillTrackerSettings | ( | int | trackerid | ) |
const char* uiMPEPartServer::get2DAttribName | ( | ) | const |
const char* uiMPEPartServer::get2DLineName | ( | ) | const |
const Attrib::SelSpec* uiMPEPartServer::getAttribSelSpec | ( | ) | const |
TrcKeyZSampling uiMPEPartServer::getAttribVolume | ( | const Attrib::SelSpec & | ) | const |
const Attrib::DescSet* uiMPEPartServer::getCurAttrDescSet | ( | bool | is2d | ) | const |
|
inline |
EM::ObjectID uiMPEPartServer::getEMObjectID | ( | int | trackerid | ) | const |
Pos::GeomID uiMPEPartServer::getGeomID | ( | ) | const |
|
inline |
int uiMPEPartServer::getTrackerID | ( | const char * | name | ) | const |
int uiMPEPartServer::getTrackerID | ( | const EM::ObjectID & | ) | const |
void uiMPEPartServer::getTrackerTypes | ( | BufferStringSet & | ) | const |
|
protected |
bool uiMPEPartServer::is2D | ( | ) | const |
If attrib is 2D, check for a selspec. If selspec is returned, calculate the attrib. If no selspec is present, use getLineSet, getLineName & getAttribName.
bool uiMPEPartServer::isTrackingEnabled | ( | int | trackerid | ) | const |
|
protected |
void uiMPEPartServer::loadTrackSetupCB | ( | CallBacker * | ) |
|
protected |
|
protected |
|
inlineoverridevirtual |
Implements uiApplPartServer.
|
protected |
|
protected |
bool uiMPEPartServer::prepareSaveSetupAs | ( | const MultiID & | ) |
|
protected |
bool uiMPEPartServer::readSetup | ( | const MultiID & | ) |
bool uiMPEPartServer::saveSetup | ( | const MultiID & | ) |
bool uiMPEPartServer::saveSetupAs | ( | const MultiID & | ) |
|
protected |
bool uiMPEPartServer::sendMPEEvent | ( | int | ) |
void uiMPEPartServer::set2DSelSpec | ( | const Attrib::SelSpec & | ) |
void uiMPEPartServer::setAttribData | ( | const Attrib::SelSpec & | , |
DataPackID | |||
) |
void uiMPEPartServer::setCurrentAttribDescSet | ( | const Attrib::DescSet * | ) |
|
protected |
bool uiMPEPartServer::showSetupDlg | ( | const EM::ObjectID & | ) |
|
inline |
bool uiMPEPartServer::showSetupGroupOnTop | ( | const EM::ObjectID & | , |
const char * | grpnm | ||
) |
|
staticprivate |
|
staticprivate |
|
protected |
bool uiMPEPartServer::usePar | ( | const IOPar & | ) |
void uiMPEPartServer::useSavedSetupDlg | ( | const EM::ObjectID & | ) |
|
inline |
|
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-2024