OpendTect 8.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Private Member Functions | List of all members
uiMPEPartServer Class Reference

Implementation of Tracking part server interface. More...

#include <uimpepartserv.h>

Inheritance diagram for uiMPEPartServer:
[legend]

Public Member Functions

 uiMPEPartServer (uiApplService &)
 
 ~uiMPEPartServer ()
 
EM::ObjectID activeTrackerEMID () const
 
bool addTracker (const char *typestr, const SceneID &)
 
void applClosedCB (CallBacker *)
 
void attribSelectedForTracking ()
 
void closeSetupDlg ()
 
void enableTracking (const EM::ObjectID &, bool yn)
 
void fillPar (IOPar &) const
 
void fillTrackerSettings (const EM::ObjectID &)
 
const char * get2DAttribName () const
 
const char * get2DLineName () const
 
ConstRefMan< MPE::EMTrackergetActiveTracker () const
 
const Attrib::SelSpecgetAttribSelSpec () const
 
TrcKeyZSampling getAttribVolume (const Attrib::SelSpec &) const
 
const Attrib::DescSetgetCurAttrDescSet (bool is2d) const
 
SceneID getCurSceneID () const
 
Pos::GeomID getGeomID () const
 
MPE::uiSetupGroupgetSetupGroup ()
 
RefMan< MPE::EMTrackergetTrackerByID (const EM::ObjectID &)
 
ConstRefMan< MPE::EMTrackergetTrackerByID (const EM::ObjectID &) const
 
void getTrackerIDsByType (const char *typestr, TypeSet< EM::ObjectID > &) const
 
bool hasEditor (const EM::ObjectID &) const
 
bool hasTracker () const
 
bool hasTracker (const EM::ObjectID &) const
 
bool is2D () const
 
bool isActiveTracker (const EM::ObjectID &) const
 
bool isTrackingEnabled (const EM::ObjectID &) 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 setActiveTracker (const EM::ObjectID &)
 
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 trackingInProgress () const
 
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 ()
 
uiApplServiceappserv ()
 
const uiApplServiceappserv () const
 
 mOD_DisableCopy (uiApplPartServer) virtual const char *name() const =0
 
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.
 
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.
 
CallBackeroperator= (const CallBacker &)=delete
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

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 mergeAttribSets (const Attrib::DescSet &newads, MPE::EMTracker &)
 
void modeChangedCB (CallBacker *)
 
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
 
uiParentparent () const
 
bool sendEvent (int evid) const
 

Protected Attributes

WeakPtr< MPE::EMTrackeractivertracker_
 
const Attrib::DescSetattrset2d_ = nullptr
 
const Attrib::DescSetattrset3d_ = nullptr
 
SceneID cursceneid_
 
const Attrib::SelSpeceventattrselspec_ = nullptr
 
Pos::GeomID geomid_
 
int initialundoid_ = mUdf(int)
 
Attrib::SelSpec lineselspec_
 
bool seedhasbeenpicked_ = false
 
bool seedswithoutattribsel_ = false
 
bool setupbeingupdated_ = false
 
MPE::uiSetupGroupsetupgrp_ = nullptr
 
WeakPtr< MPE::EMTrackertemptracker_
 
EM::ObjectID temptrackerobject_
 
EM::ObjectID trackercurrentobject_
 

Static Private Member Functions

static uiString sNoAskGoOnStr ()
 
static uiString sYesAskGoOnStr ()
 

Detailed Description

Implementation of Tracking part server interface.

<>

Constructor & Destructor Documentation

◆ uiMPEPartServer()

uiMPEPartServer::uiMPEPartServer ( uiApplService & )

◆ ~uiMPEPartServer()

uiMPEPartServer::~uiMPEPartServer ( )

Member Function Documentation

◆ aboutToAddRemoveSeed()

void uiMPEPartServer::aboutToAddRemoveSeed ( CallBacker * )
protected

◆ activeTrackerEMID()

EM::ObjectID uiMPEPartServer::activeTrackerEMID ( ) const

returns the trackerid of the last event

◆ activeVolumeChange()

void uiMPEPartServer::activeVolumeChange ( CallBacker * )
protected

◆ addTracker()

bool uiMPEPartServer::addTracker ( const char * typestr,
const SceneID &  )

◆ applClosedCB()

void uiMPEPartServer::applClosedCB ( CallBacker * )

◆ attribSelectedForTracking()

void uiMPEPartServer::attribSelectedForTracking ( )

◆ cleanSetupDependents()

void uiMPEPartServer::cleanSetupDependents ( )
protected

◆ closeSetupDlg()

void uiMPEPartServer::closeSetupDlg ( )

◆ correlationChangedCB()

void uiMPEPartServer::correlationChangedCB ( CallBacker * )
protected

◆ enableTracking()

void uiMPEPartServer::enableTracking ( const EM::ObjectID & ,
bool yn )

◆ evAddTreeObject()

static int uiMPEPartServer::evAddTreeObject ( )
static

Get trackerid via activeTrackerID

◆ evCreate2DSelSpec()

static int uiMPEPartServer::evCreate2DSelSpec ( )
static

◆ evEndSeedPick()

static int uiMPEPartServer::evEndSeedPick ( )
static

◆ eventChangedCB()

void uiMPEPartServer::eventChangedCB ( CallBacker * )
protected

◆ evGetAttribData()

static int uiMPEPartServer::evGetAttribData ( )
static

◆ evHorizonTracking()

static int uiMPEPartServer::evHorizonTracking ( )
static

◆ evInitFromSession()

static int uiMPEPartServer::evInitFromSession ( )
static

◆ evRemoveTreeObject()

static int uiMPEPartServer::evRemoveTreeObject ( )
static

Get trackerid via activeTrackerID

◆ evSelectAttribForTracking()

static int uiMPEPartServer::evSelectAttribForTracking ( )
static

◆ evSetupClosed()

static int uiMPEPartServer::evSetupClosed ( )
static

◆ evSetupLaunched()

static int uiMPEPartServer::evSetupLaunched ( )
static

◆ evStartSeedPick()

static int uiMPEPartServer::evStartSeedPick ( )
static

◆ evStoreEMObject()

static int uiMPEPartServer::evStoreEMObject ( )
static

◆ evUpdateSeedConMode()

static int uiMPEPartServer::evUpdateSeedConMode ( )
static

◆ evUpdateTrees()

static int uiMPEPartServer::evUpdateTrees ( )
static

◆ fillPar()

void uiMPEPartServer::fillPar ( IOPar & ) const

◆ fillTrackerSettings()

void uiMPEPartServer::fillTrackerSettings ( const EM::ObjectID & )

◆ get2DAttribName()

const char * uiMPEPartServer::get2DAttribName ( ) const

◆ get2DLineName()

const char * uiMPEPartServer::get2DLineName ( ) const

◆ getActiveTracker()

ConstRefMan< MPE::EMTracker > uiMPEPartServer::getActiveTracker ( ) const

◆ getAttribSelSpec()

const Attrib::SelSpec * uiMPEPartServer::getAttribSelSpec ( ) const

◆ getAttribVolume()

TrcKeyZSampling uiMPEPartServer::getAttribVolume ( const Attrib::SelSpec & ) const
Returns
the volume needed of an attrib if tracking should be possible in the activeVolume.

◆ getCurAttrDescSet()

const Attrib::DescSet * uiMPEPartServer::getCurAttrDescSet ( bool is2d) const

◆ getCurSceneID()

SceneID uiMPEPartServer::getCurSceneID ( ) const
inline

◆ getGeomID()

Pos::GeomID uiMPEPartServer::getGeomID ( ) const

◆ getSetupGroup()

MPE::uiSetupGroup * uiMPEPartServer::getSetupGroup ( )
inline

◆ getTrackerByID() [1/2]

RefMan< MPE::EMTracker > uiMPEPartServer::getTrackerByID ( const EM::ObjectID & )

◆ getTrackerByID() [2/2]

ConstRefMan< MPE::EMTracker > uiMPEPartServer::getTrackerByID ( const EM::ObjectID & ) const

◆ getTrackerIDsByType()

void uiMPEPartServer::getTrackerIDsByType ( const char * typestr,
TypeSet< EM::ObjectID > &  ) const

◆ hasEditor()

bool uiMPEPartServer::hasEditor ( const EM::ObjectID & ) const

◆ hasTracker() [1/2]

bool uiMPEPartServer::hasTracker ( ) const

◆ hasTracker() [2/2]

bool uiMPEPartServer::hasTracker ( const EM::ObjectID & ) const

◆ initSetupDlg()

bool uiMPEPartServer::initSetupDlg ( EM::EMObject & emobj,
MPE::EMTracker & tracker,
bool freshdlg = false )
protected

◆ is2D()

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.

◆ isActiveTracker()

bool uiMPEPartServer::isActiveTracker ( const EM::ObjectID & ) const

◆ isTrackingEnabled()

bool uiMPEPartServer::isTrackingEnabled ( const EM::ObjectID & ) const

◆ loadTrackSetupCB()

void uiMPEPartServer::loadTrackSetupCB ( CallBacker * )

◆ mergeAttribSets()

void uiMPEPartServer::mergeAttribSets ( const Attrib::DescSet & newads,
MPE::EMTracker &  )
protected

◆ modeChangedCB()

void uiMPEPartServer::modeChangedCB ( CallBacker * )
protected

◆ name()

const char * uiMPEPartServer::name ( ) const
inlineoverride

◆ nrHorChangeCB()

void uiMPEPartServer::nrHorChangeCB ( CallBacker * )
protected

◆ prepareSaveSetupAs()

bool uiMPEPartServer::prepareSaveSetupAs ( const MultiID & )

◆ propertyChangedCB()

void uiMPEPartServer::propertyChangedCB ( CallBacker * )
protected

◆ readSetup()

bool uiMPEPartServer::readSetup ( const MultiID & )

◆ saveSetup()

bool uiMPEPartServer::saveSetup ( const MultiID & )

◆ saveSetupAs()

bool uiMPEPartServer::saveSetupAs ( const MultiID & )

◆ seedAddedCB()

void uiMPEPartServer::seedAddedCB ( CallBacker * )
protected

◆ sendMPEEvent()

bool uiMPEPartServer::sendMPEEvent ( int )

◆ set2DSelSpec()

void uiMPEPartServer::set2DSelSpec ( const Attrib::SelSpec & )

◆ setActiveTracker()

void uiMPEPartServer::setActiveTracker ( const EM::ObjectID & )

◆ setCurrentAttribDescSet()

void uiMPEPartServer::setCurrentAttribDescSet ( const Attrib::DescSet * )

◆ settingsChangedCB()

void uiMPEPartServer::settingsChangedCB ( CallBacker * )
protected

◆ showSetupDlg() [1/2]

bool uiMPEPartServer::showSetupDlg ( const EM::ObjectID & )
Returns
false if cancel was pressed.

◆ showSetupDlg() [2/2]

bool uiMPEPartServer::showSetupDlg ( const EM::ObjectID & objid,
const EM::SectionID &  )
inline

◆ showSetupGroupOnTop()

bool uiMPEPartServer::showSetupGroupOnTop ( const EM::ObjectID & ,
const char * grpnm )

◆ sNoAskGoOnStr()

static uiString uiMPEPartServer::sNoAskGoOnStr ( )
staticprivate

◆ sYesAskGoOnStr()

static uiString uiMPEPartServer::sYesAskGoOnStr ( )
staticprivate

◆ trackerWinClosedCB()

void uiMPEPartServer::trackerWinClosedCB ( CallBacker * )
protected

◆ trackingInProgress()

bool uiMPEPartServer::trackingInProgress ( ) const

◆ usePar()

bool uiMPEPartServer::usePar ( const IOPar & )

◆ useSavedSetupDlg() [1/2]

void uiMPEPartServer::useSavedSetupDlg ( const EM::ObjectID & )

◆ useSavedSetupDlg() [2/2]

void uiMPEPartServer::useSavedSetupDlg ( const EM::ObjectID & objid,
const EM::SectionID &  )
inline

Member Data Documentation

◆ activertracker_

WeakPtr<MPE::EMTracker> uiMPEPartServer::activertracker_
protected

◆ attrset2d_

const Attrib::DescSet* uiMPEPartServer::attrset2d_ = nullptr
protected

◆ attrset3d_

const Attrib::DescSet* uiMPEPartServer::attrset3d_ = nullptr
protected

◆ cursceneid_

SceneID uiMPEPartServer::cursceneid_
protected

◆ eventattrselspec_

const Attrib::SelSpec* uiMPEPartServer::eventattrselspec_ = nullptr
protected

◆ geomid_

Pos::GeomID uiMPEPartServer::geomid_
protected

◆ initialundoid_

int uiMPEPartServer::initialundoid_ = mUdf(int)
protected

◆ lineselspec_

Attrib::SelSpec uiMPEPartServer::lineselspec_
protected

◆ seedhasbeenpicked_

bool uiMPEPartServer::seedhasbeenpicked_ = false
protected

◆ seedswithoutattribsel_

bool uiMPEPartServer::seedswithoutattribsel_ = false
protected

◆ setupbeingupdated_

bool uiMPEPartServer::setupbeingupdated_ = false
protected

◆ setupgrp_

MPE::uiSetupGroup* uiMPEPartServer::setupgrp_ = nullptr
protected

◆ temptracker_

WeakPtr<MPE::EMTracker> uiMPEPartServer::temptracker_
protected

◆ temptrackerobject_

EM::ObjectID uiMPEPartServer::temptrackerobject_
protected

◆ trackercurrentobject_

EM::ObjectID uiMPEPartServer::trackercurrentobject_
protected

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