OrsBasicManipulate

Manages the basic user interactions

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:Jun 16 2015 18:10
dragonflyVersion:
 3.0
UUID:b1a3ab10760f11e79f61448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsBasicManipulate.OrsBasicManipulate.OrsBasicManipulate(varname=None, managed=True)
OrsState3DCursor = 'OrsState3DCursor'
OrsState3DCursorActivation()
OrsStateCine = 'OrsStateCine'
OrsStateCineActivation()
OrsStateCineInfinite = 'OrsStateCineInfinite'
OrsStateCineInfiniteActivation()
OrsStateMoveCameraPivot = 'OrsStateMoveCameraPivot'
OrsStateMoveCameraPivotActivation()
OrsStateObliqueX = 'OrsStateObliqueX'
OrsStateObliqueXActivation()
OrsStateObliqueXAtCenter = 'OrsStateObliqueXAtCenter'
OrsStateObliqueXAtCenterActivation()
OrsStateObliqueXY = 'OrsStateObliqueXY'
OrsStateObliqueXYActivation()
OrsStateObliqueXYOnlyXActivation()
OrsStateObliqueXYOnlyYActivation()
OrsStateObliqueY = 'OrsStateObliqueY'
OrsStateObliqueYActivation()
OrsStateObliqueYAtCenter = 'OrsStateObliqueYAtCenter'
OrsStateObliqueYAtCenterActivation()
OrsStatePan = 'OrsStatePan'
OrsStatePanActivation()
OrsStateRotateCamera = 'OrsStateRotateCamera'
OrsStateRotateCameraActivation()
OrsStateRotateCameraAtCenter = 'OrsStateRotateCameraAtCenter'
OrsStateRotateCameraAtCenterActivation()
OrsStateRotateCameraAtCenterInfinity = 'OrsStateRotateCameraAtCenterInfinity'
OrsStateRotateCameraAtCenterInfinityActivation()
OrsStateShowCameraPivot = 'OrsStateShowCameraPivot'
OrsStateShowCameraPivotActivation()
OrsStateSlabThickness = 'OrsStateSlabThickness'
OrsStateSlabThicknessActivation()
OrsStateTimeStep = 'OrsStateTimeStep'
OrsStateTimeStepActivation()
OrsStateTimeStepInfinite = 'OrsStateTimeStepInfinite'
OrsStateTimeStepInfiniteActivation()
OrsStateTrack = 'OrsStateTrack'
OrsStateTrackActivation()
OrsStateTrackCenter = 'OrsStateTrackCenter'
OrsStateTrackCenterActivation()
OrsStateTrackConstraintHorizontally = 'OrsStateTrackConstraintHorizontally'
OrsStateTrackConstraintHorizontallyActivation()
OrsStateTrackConstraintRotation = 'OrsStateTrackConstraintRotation'
OrsStateTrackConstraintRotationActivation()
OrsStateTrackConstraintVertically = 'OrsStateTrackConstraintVertically'
OrsStateTrackConstraintVerticallyActivation()
OrsStateTrackSpin3D = 'OrsStateTrackSpin3D'
OrsStateTrackSpin3DActivation()
OrsStateZoom = 'OrsStateZoom'
OrsStateZoomActivation()
OrsStateZoomAtCenter = 'OrsStateZoomAtCenter'
OrsStateZoomAtCenterActivation()
OrsStateZoomTrackCenter = 'OrsStateZoomTrackCenter'
OrsStateZoomTrackCenterActivation()
OrsTemporaryStateCine = 'OrsTemporaryStateCine'
OrsTemporaryStateTimeStep = 'OrsTemporaryStateTimeStep'
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
addLayoutChangeCallback()
addStateThatAllowShowing3DCursor(anHandle)
canBeInCameraPivotState()
centerAllViewsOnCurrentViewCenter()
centerOnIntersectionOfViews()
classmethod centerOnIntersectionOfViewsMethod(view, onViewCenter)

Center 2D views of a Layout pre condition: len(view2D) == 3

Parameters:
  • view (ORSModel.ors.View) – the main view
  • onViewCenter (bool) – on the center of the provided view
interfacemethod centerOnIntersectionOfViewsMethodFromGenealogicalName(name, onViewCenter)

Center 2D views of a Layout pre condition: len(view2D) == 3

Parameters:
  • name (str) – the main view layout name
  • onViewCenter (bool) – on the center of the provided view
closable = False
closeWidget(name)
enterTemporaryCineAction()
enterTemporaryPanAction()
enterTemporaryShowCameraPivotAction()
enterTemporaryStateTrackConstraintHorizontally()
enterTemporaryStateTrackConstraintRotation()
enterTemporaryStateTrackConstraintVertically()
enterTemporaryTrackAction()
enterTemporaryTrackCenterAction()
enterTemporaryWalkAction()
enterTemporaryZoomAction()
enterTemporaryZoomTrackCenterAction()
fitCurrentViewFromDirection(direction, up)
fitToView()
fitToViewAction()
interfacemethod fitViewFromXMinus(view, box)

Fit the with looking toward x plus

Parameters:
interfacemethod fitViewFromXPlus(view, box)

Fit the with looking toward x minus

Parameters:
interfacemethod fitViewFromYMinus(view, box)

Fit the with looking toward y plus

Parameters:
interfacemethod fitViewFromYPlus(view, box)

Fit the with looking toward y minus

Parameters:
interfacemethod fitViewFromZMinus(view, box)

Fit the with looking toward z plus

Parameters:
interfacemethod fitViewFromZPlus(view, box)

Fit the with looking toward z minus

Parameters:
goToDefaultState()
handleChanged(oldState, newState)

This method is called when the state of the application is changed.

Parameters:
  • oldState (str) – name of the old (previous) state
  • newState (str) – name of the new (current) state
handleTriggered(eventdata)

This method is called on every user input (mouse move, mouse click, key press, …) when the current state of the application is one of those declared by the plugin. This method can be used to perform specific tasks even if no action is currently in progress.

Parameters:eventData (OrsEvent.eventdata.InputEventData) – the event data
keepAlive = False
moveToFirstSlice(event)
moveToFirstSliceAction()
moveToFirstTimeStep(event)
moveToFirstTimeStepAction()
moveToLastSlice(event)
moveToLastSliceAction()
moveToLastTimeStep(event)
moveToLastTimeStepAction()
moveToNextSlice(event, onCurrentDisplay=True)
moveToNextSliceAction()
moveToNextSliceActionAlternate()
moveToNextTimeStep(event, onCurrentDisplay=True)
moveToNextTimeStepAction()
moveToPreviousSlice(event, onCurrentDisplay=True)
moveToPreviousSliceAction()
moveToPreviousSliceActionAlternate()
moveToPreviousTimeStep(event, onCurrentDisplay=True)
moveToPreviousTimeStepAction()
multiple = False
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)
orsCurrentDisplayChange()
pluginClass = 'Control'
removeStateThatAllowShowing3DCursor(anHandle)
resetCurrentHandler()
resetView()
resetViewAction()
rotateOblique_X_Action()
rotateOblique_Y_Action()
savable = True
setCameraFromXMinus()
setCameraFromXMinusAction()
setCameraFromXPlus()
setCameraFromXPlusAction()
setCameraFromYMinus()
setCameraFromYMinusAction()
setCameraFromYPlus()
setCameraFromYPlusAction()
setCameraFromZMinus()
setCameraFromZMinusAction()
setCameraFromZPlus()
setCameraFromZPlusAction()
show3DCursorOfCurrentDisplay(show)
showHideDisplayWidget(show=True)
stateDescriptors = [<ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>, <ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>]
switchToObliqueX()
switchToObliqueY()
switchToOrsStateCineAction()
switchToOrsStateMoveCameraPivotAction()
switchToOrsStatePanAction()
switchToOrsStateTrackAction()
switchToOrsStateWalkAction()
switchToOrsStateZoomAction()
switchToStateTrackSpin3DAction()
switchToTrackCenter()
switchToZoomTrackCenter()
toggle3DCursorAction()
toggle3DCursorOfCurrentDisplay()
updateButtonAvailability()