OpendTect  6.6
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
uiODSceneMgr Class Reference

Manages the scenes and the corresponding trees. More...

Inheritance diagram for uiODSceneMgr:
[legend]

Classes

class  Scene
 

Public Member Functions

void actMode (CallBacker *cb=0)
 
int add2DLineItem (const MultiID &, int sceneid=-1)
 
int add2DLineItem (Pos::GeomID, int sceneid, bool withdata)
 
int add2DLineItem (Pos::GeomID, int sceneid=-1)
 
int addDisplayTreeItem (uiODDisplayTreeItem *, int sceneid=-1)
 
int addEMItem (const EM::ObjectID &, int sceneid=-1)
 
int addInlCrlItem (OD::SliceType, int nr, int sceneid=-1)
 
int addPickSetItem (const MultiID &, int sceneid=-1)
 
int addPickSetItem (Pick::Set &, int sceneid=-1)
 
int addRandomLineItem (int rlid, int sceneid=-1)
 
int addScene (bool maximized, ZAxisTransform *=0, const uiString &nm=uiString::emptyString())
 Returns scene id. More...
 
int addWellItem (const MultiID &, int sceneid=-1)
 
int addZSliceItem (const TrcKeyZSampling &, const Attrib::SelSpec &, int sceneid=-1)
 
int addZSliceItem (const TrcKeyZSampling &, int sceneid=-1)
 
int addZSliceItem (DataPack::ID, const Attrib::SelSpec &, const FlatView::DataDispPars::VD &, int sceneid=-1)
 
void align (CallBacker *)
 
void anyWheelStart (CallBacker *)
 
void anyWheelStop (CallBacker *)
 
int askSelectScene () const
 
void cascade ()
 
void cleanUp (bool startnew=true)
 
void disabRightClick (bool yn)
 
void disabTrees (bool yn)
 
void displayIn2DViewer (int visid, int attribid, bool wva)
 
void doDirectionalLight (CallBacker *)
 
void dWheelMoved (CallBacker *)
 
uiTreeItemfindItem (int displayid)
 
void findItems (const char *, ObjectSet< uiTreeItem > &)
 
void findItems (const char *, ObjectSet< uiTreeItem > &, int sceneid)
 
ui3DViewerget3DViewer (int sceneid)
 
const ui3DViewerget3DViewer (int sceneid) const
 
void get3DViewers (ObjectSet< ui3DViewer > &)
 
int getActiveSceneID () const
 
void getActiveSceneName (BufferString &) const
 
float getHeadOnLightIntensity (int) const
 
int getIDFromName (const char *) const
 
void getLoadedEMIDs (TypeSet< EM::ObjectID > &, const char *emtypestr=0, int sceneid=-1) const
 
void getLoadedPickSetIDs (TypeSet< MultiID > &, bool poly, int scnid=-1) const
 
uiString getSceneName (int sceneid) const
 
void getSceneNames (uiStringSet &, int &act) const
 
void getScenePars (IOPar &)
 
int getStereoType () const
 
uiTreeViewgetTree (int sceneid)
 
uiODTreeTopgetTreeItemMgr (const uiTreeView *) const
 
uiODTreeTopgetTreeItemMgr (int sceneid) const
 
void hWheelMoved (CallBacker *)
 
bool inViewMode () const
 
void layoutScenes ()
 
void mkSnapshot (CallBacker *)
 
int nrScenes ()
 
void pageUpDownPressed (CallBacker *)
 
void rebuildTrees ()
 
void remove2DViewer (int visid)
 
void removeTreeItem (int displayid)
 
void saveHomePos (CallBacker *)
 
Notifier< uiODSceneMgr > & scenesHidden ()
 
Notifier< uiODSceneMgr > & scenesShown ()
 
void setActiveScene (int idx)
 
void setHeadOnLightIntensity (int, float)
 
void setItemInfo (int visid)
 
void setSceneName (int sceneid, const uiString &)
 
void setSceneProperties ()
 
void setStereoType (int)
 
void setToViewMode (bool yn=true)
 
void setToWorkMode (uiVisPartServer::WorkMode wm)
 
void setViewSelectMode (int)
 
void setZoomValue (float)
 
void showRotAxis (CallBacker *)
 
void showTree (bool yn)
 
void soloMode (CallBacker *)
 
void switchCameraType (CallBacker *)
 
void tile ()
 
void tileHorizontal ()
 
void tileVertical ()
 
void toHomePos (CallBacker *)
 
void translateText ()
 
uiTreeFactorySettreeItemFactorySet ()
 
bool treeShown () const
 
void updateItemToolbar (int visid)
 
void updateSelectedTreeItem ()
 
void updateStatusBar ()
 
void updateTrees ()
 
void useScenePars (const IOPar &)
 
void viewAll (CallBacker *)
 
void viewCrl (CallBacker *)
 
void viewInl (CallBacker *)
 
void viewMode (CallBacker *cb=0)
 
void viewModeChg (CallBacker *cb=0)
 
void viewX (CallBacker *)
 
void viewY (CallBacker *)
 
void viewZ (CallBacker *)
 
void vWheelMoved (CallBacker *)
 
void zoomChanged (CallBacker *)
 
- 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
 

Static Public Member Functions

static int cColorColumn ()
 
static int cNameColumn ()
 
static uiString sElements ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Public Attributes

Notifier< uiODSceneMgractiveSceneChanged
 
CNotifier< uiODSceneMgr, int > sceneClosed
 
CNotifier< uiODSceneMgr, int > treeAdded
 
CNotifier< uiODSceneMgr, int > treeToBeAdded
 
Notifier< uiODSceneMgrviewModeChanged
 

Protected Member Functions

 uiODSceneMgr (uiODMain *)
 
 ~uiODSceneMgr ()
 
void afterFinalise (CallBacker *)
 
uiODApplMgrapplMgr ()
 
void font3DChanged (CallBacker *)
 
ScenegetScene (int sceneid)
 
const ScenegetScene (int sceneid) const
 
void gtLoadedEMIDs (const Scene *, TypeSet< EM::ObjectID > &, const char *emtypestr) const
 
void gtLoadedEMIDs (const uiTreeItem *, TypeSet< EM::ObjectID > &, const char *emtypestr) const
 
void gtLoadedPickSetIDs (const Scene &, TypeSet< MultiID > &, bool poly) const
 
void gtLoadedPickSetIDs (const uiTreeItem &, TypeSet< MultiID > &, bool poly) const
 
void initMenuMgrDepObjs ()
 
void initTree (Scene &, int)
 
void mdiAreaChanged (CallBacker *)
 
ScenemkNewScene ()
 
void newSceneUpdated (CallBacker *)
 
void removeScene (Scene &scene)
 
void removeSceneCB (CallBacker *)
 
void resetStatusBar (int id=-1)
 
void showIfMinimized (CallBacker *)
 
void tileTimerCB (CallBacker *)
 
uiVisPartServervisServ ()
 

Protected Attributes

uiODMainappl_
 
uiMdiAreamdiarea_
 
ObjectSet< Scenescenes_
 
uiTreeFactorySettifs_
 
Timertiletimer_
 
int vwridx_
 
uiWindowGrabberwingrabber_
 

Friends

class uiODMain
 

Detailed Description

Manages the scenes and the corresponding trees.

Most of the interface is really not useful for plugin builders.

<>

Constructor & Destructor Documentation

◆ uiODSceneMgr()

uiODSceneMgr::uiODSceneMgr ( uiODMain )
protected

◆ ~uiODSceneMgr()

uiODSceneMgr::~uiODSceneMgr ( )
protected

Member Function Documentation

◆ actMode()

void uiODSceneMgr::actMode ( CallBacker cb = 0)

◆ add2DLineItem() [1/3]

int uiODSceneMgr::add2DLineItem ( const MultiID ,
int  sceneid = -1 
)

◆ add2DLineItem() [2/3]

int uiODSceneMgr::add2DLineItem ( Pos::GeomID  ,
int  sceneid,
bool  withdata 
)

◆ add2DLineItem() [3/3]

int uiODSceneMgr::add2DLineItem ( Pos::GeomID  ,
int  sceneid = -1 
)

◆ addDisplayTreeItem()

int uiODSceneMgr::addDisplayTreeItem ( uiODDisplayTreeItem ,
int  sceneid = -1 
)

◆ addEMItem()

int uiODSceneMgr::addEMItem ( const EM::ObjectID ,
int  sceneid = -1 
)

◆ addInlCrlItem()

int uiODSceneMgr::addInlCrlItem ( OD::SliceType  ,
int  nr,
int  sceneid = -1 
)

◆ addPickSetItem() [1/2]

int uiODSceneMgr::addPickSetItem ( const MultiID ,
int  sceneid = -1 
)

◆ addPickSetItem() [2/2]

int uiODSceneMgr::addPickSetItem ( Pick::Set ,
int  sceneid = -1 
)

◆ addRandomLineItem()

int uiODSceneMgr::addRandomLineItem ( int  rlid,
int  sceneid = -1 
)

◆ addScene()

int uiODSceneMgr::addScene ( bool  maximized,
ZAxisTransform = 0,
const uiString nm = uiString::emptyString() 
)

Returns scene id.

◆ addWellItem()

int uiODSceneMgr::addWellItem ( const MultiID ,
int  sceneid = -1 
)

◆ addZSliceItem() [1/3]

int uiODSceneMgr::addZSliceItem ( const TrcKeyZSampling ,
const Attrib::SelSpec ,
int  sceneid = -1 
)

◆ addZSliceItem() [2/3]

int uiODSceneMgr::addZSliceItem ( const TrcKeyZSampling ,
int  sceneid = -1 
)

◆ addZSliceItem() [3/3]

int uiODSceneMgr::addZSliceItem ( DataPack::ID  ,
const Attrib::SelSpec ,
const FlatView::DataDispPars::VD ,
int  sceneid = -1 
)

◆ afterFinalise()

void uiODSceneMgr::afterFinalise ( CallBacker )
protected

◆ align()

void uiODSceneMgr::align ( CallBacker )

◆ anyWheelStart()

void uiODSceneMgr::anyWheelStart ( CallBacker )

◆ anyWheelStop()

void uiODSceneMgr::anyWheelStop ( CallBacker )

◆ applMgr()

uiODApplMgr& uiODSceneMgr::applMgr ( )
inlineprotected

◆ askSelectScene()

int uiODSceneMgr::askSelectScene ( ) const

◆ cascade()

void uiODSceneMgr::cascade ( )

◆ cColorColumn()

static int uiODSceneMgr::cColorColumn ( )
inlinestatic

◆ cleanUp()

void uiODSceneMgr::cleanUp ( bool  startnew = true)

◆ cNameColumn()

static int uiODSceneMgr::cNameColumn ( )
inlinestatic

◆ disabRightClick()

void uiODSceneMgr::disabRightClick ( bool  yn)

◆ disabTrees()

void uiODSceneMgr::disabTrees ( bool  yn)

◆ displayIn2DViewer()

void uiODSceneMgr::displayIn2DViewer ( int  visid,
int  attribid,
bool  wva 
)

◆ doDirectionalLight()

void uiODSceneMgr::doDirectionalLight ( CallBacker )

◆ dWheelMoved()

void uiODSceneMgr::dWheelMoved ( CallBacker )

◆ findItem()

uiTreeItem* uiODSceneMgr::findItem ( int  displayid)

◆ findItems() [1/2]

void uiODSceneMgr::findItems ( const char *  ,
ObjectSet< uiTreeItem > &   
)

◆ findItems() [2/2]

void uiODSceneMgr::findItems ( const char *  ,
ObjectSet< uiTreeItem > &  ,
int  sceneid 
)

◆ font3DChanged()

void uiODSceneMgr::font3DChanged ( CallBacker )
protected

◆ get3DViewer() [1/2]

ui3DViewer* uiODSceneMgr::get3DViewer ( int  sceneid)

◆ get3DViewer() [2/2]

const ui3DViewer* uiODSceneMgr::get3DViewer ( int  sceneid) const

◆ get3DViewers()

void uiODSceneMgr::get3DViewers ( ObjectSet< ui3DViewer > &  )

◆ getActiveSceneID()

int uiODSceneMgr::getActiveSceneID ( ) const

◆ getActiveSceneName()

void uiODSceneMgr::getActiveSceneName ( BufferString ) const

◆ getHeadOnLightIntensity()

float uiODSceneMgr::getHeadOnLightIntensity ( int  ) const

◆ getIDFromName()

int uiODSceneMgr::getIDFromName ( const char *  ) const

◆ getLoadedEMIDs()

void uiODSceneMgr::getLoadedEMIDs ( TypeSet< EM::ObjectID > &  ,
const char *  emtypestr = 0,
int  sceneid = -1 
) const

◆ getLoadedPickSetIDs()

void uiODSceneMgr::getLoadedPickSetIDs ( TypeSet< MultiID > &  ,
bool  poly,
int  scnid = -1 
) const

◆ getScene() [1/2]

Scene* uiODSceneMgr::getScene ( int  sceneid)
protected

◆ getScene() [2/2]

const Scene* uiODSceneMgr::getScene ( int  sceneid) const
protected

◆ getSceneName()

uiString uiODSceneMgr::getSceneName ( int  sceneid) const

◆ getSceneNames()

void uiODSceneMgr::getSceneNames ( uiStringSet ,
int &  act 
) const

◆ getScenePars()

void uiODSceneMgr::getScenePars ( IOPar )

◆ getStereoType()

int uiODSceneMgr::getStereoType ( ) const

◆ getTree()

uiTreeView* uiODSceneMgr::getTree ( int  sceneid)

◆ getTreeItemMgr() [1/2]

uiODTreeTop* uiODSceneMgr::getTreeItemMgr ( const uiTreeView ) const

◆ getTreeItemMgr() [2/2]

uiODTreeTop* uiODSceneMgr::getTreeItemMgr ( int  sceneid) const

◆ gtLoadedEMIDs() [1/2]

void uiODSceneMgr::gtLoadedEMIDs ( const Scene ,
TypeSet< EM::ObjectID > &  ,
const char *  emtypestr 
) const
protected

◆ gtLoadedEMIDs() [2/2]

void uiODSceneMgr::gtLoadedEMIDs ( const uiTreeItem ,
TypeSet< EM::ObjectID > &  ,
const char *  emtypestr 
) const
protected

◆ gtLoadedPickSetIDs() [1/2]

void uiODSceneMgr::gtLoadedPickSetIDs ( const Scene ,
TypeSet< MultiID > &  ,
bool  poly 
) const
protected

◆ gtLoadedPickSetIDs() [2/2]

void uiODSceneMgr::gtLoadedPickSetIDs ( const uiTreeItem ,
TypeSet< MultiID > &  ,
bool  poly 
) const
protected

◆ hWheelMoved()

void uiODSceneMgr::hWheelMoved ( CallBacker )

◆ initMenuMgrDepObjs()

void uiODSceneMgr::initMenuMgrDepObjs ( )
protected

◆ initTree()

void uiODSceneMgr::initTree ( Scene ,
int   
)
protected

◆ inViewMode()

bool uiODSceneMgr::inViewMode ( ) const

◆ layoutScenes()

void uiODSceneMgr::layoutScenes ( )

◆ mdiAreaChanged()

void uiODSceneMgr::mdiAreaChanged ( CallBacker )
protected

◆ mkNewScene()

Scene& uiODSceneMgr::mkNewScene ( )
protected

◆ mkSnapshot()

void uiODSceneMgr::mkSnapshot ( CallBacker )

◆ newSceneUpdated()

void uiODSceneMgr::newSceneUpdated ( CallBacker )
protected

◆ nrScenes()

int uiODSceneMgr::nrScenes ( )
inline

◆ pageUpDownPressed()

void uiODSceneMgr::pageUpDownPressed ( CallBacker )

◆ rebuildTrees()

void uiODSceneMgr::rebuildTrees ( )

◆ remove2DViewer()

void uiODSceneMgr::remove2DViewer ( int  visid)

◆ removeScene()

void uiODSceneMgr::removeScene ( Scene scene)
protected

◆ removeSceneCB()

void uiODSceneMgr::removeSceneCB ( CallBacker )
protected

◆ removeTreeItem()

void uiODSceneMgr::removeTreeItem ( int  displayid)

◆ resetStatusBar()

void uiODSceneMgr::resetStatusBar ( int  id = -1)
protected

◆ saveHomePos()

void uiODSceneMgr::saveHomePos ( CallBacker )

◆ scenesHidden()

Notifier<uiODSceneMgr>& uiODSceneMgr::scenesHidden ( )

◆ scenesShown()

Notifier<uiODSceneMgr>& uiODSceneMgr::scenesShown ( )

◆ sElements()

static uiString uiODSceneMgr::sElements ( )
inlinestatic

◆ setActiveScene()

void uiODSceneMgr::setActiveScene ( int  idx)

◆ setHeadOnLightIntensity()

void uiODSceneMgr::setHeadOnLightIntensity ( int  ,
float   
)

◆ setItemInfo()

void uiODSceneMgr::setItemInfo ( int  visid)

◆ setSceneName()

void uiODSceneMgr::setSceneName ( int  sceneid,
const uiString  
)

◆ setSceneProperties()

void uiODSceneMgr::setSceneProperties ( )

◆ setStereoType()

void uiODSceneMgr::setStereoType ( int  )

◆ setToViewMode()

void uiODSceneMgr::setToViewMode ( bool  yn = true)

◆ setToWorkMode()

void uiODSceneMgr::setToWorkMode ( uiVisPartServer::WorkMode  wm)

◆ setViewSelectMode()

void uiODSceneMgr::setViewSelectMode ( int  )

◆ setZoomValue()

void uiODSceneMgr::setZoomValue ( float  )

◆ showIfMinimized()

void uiODSceneMgr::showIfMinimized ( CallBacker )
protected

◆ showRotAxis()

void uiODSceneMgr::showRotAxis ( CallBacker )

◆ showTree()

void uiODSceneMgr::showTree ( bool  yn)

◆ soloMode()

void uiODSceneMgr::soloMode ( CallBacker )

◆ switchCameraType()

void uiODSceneMgr::switchCameraType ( CallBacker )

◆ tile()

void uiODSceneMgr::tile ( )

◆ tileHorizontal()

void uiODSceneMgr::tileHorizontal ( )

◆ tileTimerCB()

void uiODSceneMgr::tileTimerCB ( CallBacker )
protected

◆ tileVertical()

void uiODSceneMgr::tileVertical ( )

◆ toHomePos()

void uiODSceneMgr::toHomePos ( CallBacker )

◆ translateText()

void uiODSceneMgr::translateText ( )

◆ treeItemFactorySet()

uiTreeFactorySet* uiODSceneMgr::treeItemFactorySet ( )
inline

◆ treeShown()

bool uiODSceneMgr::treeShown ( ) const

◆ updateItemToolbar()

void uiODSceneMgr::updateItemToolbar ( int  visid)

◆ updateSelectedTreeItem()

void uiODSceneMgr::updateSelectedTreeItem ( )

◆ updateStatusBar()

void uiODSceneMgr::updateStatusBar ( )

◆ updateTrees()

void uiODSceneMgr::updateTrees ( )

◆ useScenePars()

void uiODSceneMgr::useScenePars ( const IOPar )

◆ viewAll()

void uiODSceneMgr::viewAll ( CallBacker )

◆ viewCrl()

void uiODSceneMgr::viewCrl ( CallBacker )

◆ viewInl()

void uiODSceneMgr::viewInl ( CallBacker )

◆ viewMode()

void uiODSceneMgr::viewMode ( CallBacker cb = 0)

◆ viewModeChg()

void uiODSceneMgr::viewModeChg ( CallBacker cb = 0)

◆ viewX()

void uiODSceneMgr::viewX ( CallBacker )

◆ viewY()

void uiODSceneMgr::viewY ( CallBacker )

◆ viewZ()

void uiODSceneMgr::viewZ ( CallBacker )

◆ visServ()

uiVisPartServer& uiODSceneMgr::visServ ( )
inlineprotected

◆ vWheelMoved()

void uiODSceneMgr::vWheelMoved ( CallBacker )

◆ zoomChanged()

void uiODSceneMgr::zoomChanged ( CallBacker )

Friends And Related Function Documentation

◆ uiODMain

friend class uiODMain
friend

Member Data Documentation

◆ activeSceneChanged

Notifier<uiODSceneMgr> uiODSceneMgr::activeSceneChanged

◆ appl_

uiODMain& uiODSceneMgr::appl_
protected

◆ mdiarea_

uiMdiArea* uiODSceneMgr::mdiarea_
protected

◆ sceneClosed

CNotifier<uiODSceneMgr,int> uiODSceneMgr::sceneClosed

◆ scenes_

ObjectSet<Scene> uiODSceneMgr::scenes_
protected

◆ tifs_

uiTreeFactorySet* uiODSceneMgr::tifs_
protected

◆ tiletimer_

Timer* uiODSceneMgr::tiletimer_
protected

◆ treeAdded

CNotifier<uiODSceneMgr,int> uiODSceneMgr::treeAdded

◆ treeToBeAdded

CNotifier<uiODSceneMgr,int> uiODSceneMgr::treeToBeAdded

◆ viewModeChanged

Notifier<uiODSceneMgr> uiODSceneMgr::viewModeChanged

◆ vwridx_

int uiODSceneMgr::vwridx_
protected

◆ wingrabber_

uiWindowGrabber* uiODSceneMgr::wingrabber_
protected

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