OrsLayoutManager

Manages all aspects of view and scene layouts

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4
copyright:Object Research Systems (ORS), Inc. All rights reserved 2018.
date:Dec 20 2015 21:15
dragonflyVersion:
 3.0
UUID:6bbcba26761511e78fd4448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsLayoutManager.OrsLayoutManager.OrsLayoutManager(varname=None, managed=True)
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
closable = False
closeWidget(name)
contextualMenu(context)
interfacemethod create2DSingleView(replacingLayoutGenealogicalName)

The input scene is replaced with a 2D single scene

Parameters:replacingLayoutGenealogicalName (str) – a layout name
interfacemethod createHDoubleView(replacingLayoutGenealogicalName)

The input scene is replaced with a horizontal double scene

Parameters:replacingLayoutGenealogicalName (str) – a layout name
interfacemethod createHSingleTripleView(replacingLayoutGenealogicalName)

The input scene is replaced with a single plus horizontal triple scene

Parameters:replacingLayoutGenealogicalName (str) – a layout name
interfacemethod createHTripleView(replacingLayoutGenealogicalName)

The input scene is replaced with a horizontal triple scene

Parameters:replacingLayoutGenealogicalName (str) – a layout name
interfacemethod createVDoubleView(replacingLayoutGenealogicalName)

The input scene is replaced with a vertical double scene

Parameters:replacingLayoutGenealogicalName (str) – a layout name
interfacemethod createVSingleTripleView(replacingLayoutGenealogicalName)

The input scene is replaced with a single plus vertical triple scene

Parameters:replacingLayoutGenealogicalName (str) – a layout name
interfacemethod createVTripleView(replacingLayoutGenealogicalName)

The input scene is replaced with a vertical triple scene

Parameters:replacingLayoutGenealogicalName (str) – a layout name
interfacemethod createnQuadView(replacingLayoutGenealogicalName)

The input scene is replaced with a quadruple view scene

Parameters:replacingLayoutGenealogicalName (str) – a layout name
classmethod deleteCurrentContextLayout(impl)
installLayoutChangeCallback()
keepAlive = False
multiple = False
interfacemethod nSimpleScene(newScenelayoutClass='Layout1xXY', count=2, vertical=True, sceneWeights=[])

Set the count of scene in the current context top layout

Parameters:
  • newScenelayoutClass (str) – a layout helper class name
  • count (int) – scene count
  • vertical (bool) – scene orientation
  • sceneWeights (int) [count=[0, None]] – scene weights
openDefaultLayout()
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)
orsCurrentDisplayChange()
orsLayoutChange()
refreshUIFromModel()

Calls the UI to be updated based on the implementation

classmethod replaceCurrentSceneViewLayout(previousLayout, newLayout)
savable = True
setDefaultSceneViewLayout(aClass)
setDisplayToLayoutDefaultView(display)
setSceneLayout(n=1, vertical=False, sceneWeights=[])
showSceneLayout(enable)
showSceneViews(enable)
interfacemethod switchTo2DSingleView()

The input scene is replaced with a 2D single scene

interfacemethod switchTo3DSingleView()

The input scene is replaced with a 3D single scene

toggleDisplayFullScreenAction()
toggleFullscreenForCurrentLayout()