OpendTect  7.0
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)
 
VisID add2DLineItem (const MultiID &, SceneID sceneid=SceneID::udf())
 
VisID add2DLineItem (Pos::GeomID, SceneID sceneid, bool withdata)
 
VisID add2DLineItem (Pos::GeomID, SceneID sceneid=SceneID::udf())
 
VisID addDisplayTreeItem (uiODDisplayTreeItem *, SceneID sceneid=SceneID::udf())
 
VisID addEMItem (const EM::ObjectID &, SceneID sceneid=SceneID::udf())
 
VisID addInlCrlItem (OD::SliceType, int nr, SceneID sceneid=SceneID::udf())
 
VisID addPickSetItem (const MultiID &, SceneID sceneid=SceneID::udf())
 
VisID addPickSetItem (Pick::Set &, SceneID sceneid=SceneID::udf())
 
VisID addRandomLineItem (RandomLineID, SceneID sceneid=SceneID::udf())
 
SceneID addScene (bool maximized, ZAxisTransform *=0, const uiString &nm=uiString::emptyString())
 Returns scene id. More...
 
VisID addWellItem (const MultiID &, SceneID sceneid=SceneID::udf())
 
VisID addZSliceItem (const TrcKeyZSampling &, const Attrib::SelSpec &, SceneID sceneid=SceneID::udf())
 
VisID addZSliceItem (const TrcKeyZSampling &, SceneID sceneid=SceneID::udf())
 
VisID addZSliceItem (DataPackID, const Attrib::SelSpec &, const FlatView::DataDispPars::VD &, SceneID sceneid=SceneID::udf())
 
void align (CallBacker *)
 
void anyWheelStart (CallBacker *)
 
void anyWheelStop (CallBacker *)
 
SceneID askSelectScene () const
 
void cascade ()
 
void cleanUp (bool startnew=true)
 
void disabRightClick (bool yn)
 
void disabTrees (bool yn)
 
void displayIn2DViewer (VisID visid, int attribid, bool wva)
 
void doDirectionalLight (CallBacker *)
 
void dWheelMoved (CallBacker *)
 
uiTreeItemfindItem (VisID displayid)
 
void findItems (const char *, ObjectSet< uiTreeItem > &)
 
void findItems (const char *, ObjectSet< uiTreeItem > &, SceneID sceneid)
 
ui3DViewerget3DViewer (SceneID sceneid)
 
const ui3DViewerget3DViewer (SceneID sceneid) const
 
void get3DViewers (ObjectSet< ui3DViewer > &)
 
SceneID getActiveSceneID () const
 
void getActiveSceneName (BufferString &) const
 
float getHeadOnLightIntensity (int) const
 
VisID getIDFromName (const char *) const
 
void getLoadedEMIDs (TypeSet< EM::ObjectID > &, const char *emtypestr=0, SceneID sceneid=SceneID::udf()) const
 
void getLoadedPickSetIDs (TypeSet< MultiID > &, bool poly, SceneID sceneid=SceneID::udf()) const
 
uiString getSceneName (SceneID sceneid) const
 
void getSceneNames (uiStringSet &, int &act) const
 
void getScenePars (IOPar &)
 
int getStereoType () const
 
uiTreeViewgetTree (SceneID sceneid)
 
uiODTreeTopgetTreeItemMgr (const uiTreeView *) const
 
uiODTreeTopgetTreeItemMgr (SceneID sceneid) const
 
void hWheelMoved (CallBacker *)
 
bool inViewMode () const
 
void layoutScenes ()
 
void mkSnapshot (CallBacker *)
 
int nrScenes ()
 
void pageUpDownPressed (CallBacker *)
 
void rebuildTrees ()
 
void remove2DViewer (VisID visid)
 
void removeTreeItem (VisID displayid)
 
void resetHomePos (CallBacker *)
 
void saveHomePos (CallBacker *)
 
void setActiveScene (int idx)
 
void setHeadOnLightIntensity (int, float)
 
void setItemInfo (VisID visid)
 
void setSceneName (SceneID 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 (VisID 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
 
virtual CallBackertrueCaller ()
 

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, SceneIDsceneClosed
 
Notifier< uiODSceneMgrscenesHidden
 
Notifier< uiODSceneMgrscenesShown
 
CNotifier< uiODSceneMgr, SceneIDtreeAdded
 
CNotifier< uiODSceneMgr, SceneIDtreeToBeAdded
 
Notifier< uiODSceneMgrviewModeChanged
 

Protected Member Functions

 uiODSceneMgr (uiODMain *)
 
 ~uiODSceneMgr ()
 
void afterFinalize (CallBacker *)
 
uiODApplMgrapplMgr ()
 
void font3DChanged (CallBacker *)
 
ScenegetScene (SceneID sceneid)
 
const ScenegetScene (SceneID 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 (VisID id=VisID::udf())
 
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]

VisID uiODSceneMgr::add2DLineItem ( const MultiID ,
SceneID  sceneid = SceneID::udf() 
)

◆ add2DLineItem() [2/3]

VisID uiODSceneMgr::add2DLineItem ( Pos::GeomID  ,
SceneID  sceneid,
bool  withdata 
)

◆ add2DLineItem() [3/3]

VisID uiODSceneMgr::add2DLineItem ( Pos::GeomID  ,
SceneID  sceneid = SceneID::udf() 
)

◆ addDisplayTreeItem()

VisID uiODSceneMgr::addDisplayTreeItem ( uiODDisplayTreeItem ,
SceneID  sceneid = SceneID::udf() 
)

◆ addEMItem()

VisID uiODSceneMgr::addEMItem ( const EM::ObjectID ,
SceneID  sceneid = SceneID::udf() 
)

◆ addInlCrlItem()

VisID uiODSceneMgr::addInlCrlItem ( OD::SliceType  ,
int  nr,
SceneID  sceneid = SceneID::udf() 
)

◆ addPickSetItem() [1/2]

VisID uiODSceneMgr::addPickSetItem ( const MultiID ,
SceneID  sceneid = SceneID::udf() 
)

◆ addPickSetItem() [2/2]

VisID uiODSceneMgr::addPickSetItem ( Pick::Set ,
SceneID  sceneid = SceneID::udf() 
)

◆ addRandomLineItem()

VisID uiODSceneMgr::addRandomLineItem ( RandomLineID  ,
SceneID  sceneid = SceneID::udf() 
)

◆ addScene()

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

Returns scene id.

◆ addWellItem()

VisID uiODSceneMgr::addWellItem ( const MultiID ,
SceneID  sceneid = SceneID::udf() 
)

◆ addZSliceItem() [1/3]

VisID uiODSceneMgr::addZSliceItem ( const TrcKeyZSampling ,
const Attrib::SelSpec ,
SceneID  sceneid = SceneID::udf() 
)

◆ addZSliceItem() [2/3]

VisID uiODSceneMgr::addZSliceItem ( const TrcKeyZSampling ,
SceneID  sceneid = SceneID::udf() 
)

◆ addZSliceItem() [3/3]

VisID uiODSceneMgr::addZSliceItem ( DataPackID  ,
const Attrib::SelSpec ,
const FlatView::DataDispPars::VD ,
SceneID  sceneid = SceneID::udf() 
)

◆ afterFinalize()

void uiODSceneMgr::afterFinalize ( CallBacker )
protected

◆ align()

void uiODSceneMgr::align ( CallBacker )

◆ anyWheelStart()

void uiODSceneMgr::anyWheelStart ( CallBacker )

◆ anyWheelStop()

void uiODSceneMgr::anyWheelStop ( CallBacker )

◆ applMgr()

uiODApplMgr& uiODSceneMgr::applMgr ( )
inlineprotected

◆ askSelectScene()

SceneID 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 ( VisID  visid,
int  attribid,
bool  wva 
)

◆ doDirectionalLight()

void uiODSceneMgr::doDirectionalLight ( CallBacker )

◆ dWheelMoved()

void uiODSceneMgr::dWheelMoved ( CallBacker )

◆ findItem()

uiTreeItem* uiODSceneMgr::findItem ( VisID  displayid)

◆ findItems() [1/2]

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

◆ findItems() [2/2]

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

◆ font3DChanged()

void uiODSceneMgr::font3DChanged ( CallBacker )
protected

◆ get3DViewer() [1/2]

ui3DViewer* uiODSceneMgr::get3DViewer ( SceneID  sceneid)

◆ get3DViewer() [2/2]

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

◆ get3DViewers()

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

◆ getActiveSceneID()

SceneID uiODSceneMgr::getActiveSceneID ( ) const

◆ getActiveSceneName()

void uiODSceneMgr::getActiveSceneName ( BufferString ) const

◆ getHeadOnLightIntensity()

float uiODSceneMgr::getHeadOnLightIntensity ( int  ) const

◆ getIDFromName()

VisID uiODSceneMgr::getIDFromName ( const char *  ) const

◆ getLoadedEMIDs()

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

◆ getLoadedPickSetIDs()

void uiODSceneMgr::getLoadedPickSetIDs ( TypeSet< MultiID > &  ,
bool  poly,
SceneID  sceneid = SceneID::udf() 
) const

◆ getScene() [1/2]

Scene* uiODSceneMgr::getScene ( SceneID  sceneid)
protected

◆ getScene() [2/2]

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

◆ getSceneName()

uiString uiODSceneMgr::getSceneName ( SceneID  sceneid) const

◆ getSceneNames()

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

◆ getScenePars()

void uiODSceneMgr::getScenePars ( IOPar )

◆ getStereoType()

int uiODSceneMgr::getStereoType ( ) const

◆ getTree()

uiTreeView* uiODSceneMgr::getTree ( SceneID  sceneid)

◆ getTreeItemMgr() [1/2]

uiODTreeTop* uiODSceneMgr::getTreeItemMgr ( const uiTreeView ) const

◆ getTreeItemMgr() [2/2]

uiODTreeTop* uiODSceneMgr::getTreeItemMgr ( SceneID  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 ( VisID  visid)

◆ removeScene()

void uiODSceneMgr::removeScene ( Scene scene)
protected

◆ removeSceneCB()

void uiODSceneMgr::removeSceneCB ( CallBacker )
protected

◆ removeTreeItem()

void uiODSceneMgr::removeTreeItem ( VisID  displayid)

◆ resetHomePos()

void uiODSceneMgr::resetHomePos ( CallBacker )

◆ resetStatusBar()

void uiODSceneMgr::resetStatusBar ( VisID  id = VisID::udf())
protected

◆ saveHomePos()

void uiODSceneMgr::saveHomePos ( CallBacker )

◆ sElements()

static uiString uiODSceneMgr::sElements ( )
inlinestatic

◆ setActiveScene()

void uiODSceneMgr::setActiveScene ( int  idx)

◆ setHeadOnLightIntensity()

void uiODSceneMgr::setHeadOnLightIntensity ( int  ,
float   
)

◆ setItemInfo()

void uiODSceneMgr::setItemInfo ( VisID  visid)

◆ setSceneName()

void uiODSceneMgr::setSceneName ( SceneID  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 ( VisID  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,SceneID> uiODSceneMgr::sceneClosed

◆ scenes_

ObjectSet<Scene> uiODSceneMgr::scenes_
protected

◆ scenesHidden

Notifier<uiODSceneMgr> uiODSceneMgr::scenesHidden

◆ scenesShown

Notifier<uiODSceneMgr> uiODSceneMgr::scenesShown

◆ tifs_

uiTreeFactorySet* uiODSceneMgr::tifs_
protected

◆ tiletimer_

Timer* uiODSceneMgr::tiletimer_
protected

◆ treeAdded

CNotifier<uiODSceneMgr,SceneID> uiODSceneMgr::treeAdded

◆ treeToBeAdded

CNotifier<uiODSceneMgr,SceneID> 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-2024