OrsFlipRotateInvert

Manages flipping and rotating the camera

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:Oct 30 2015 12:22
dragonflyVersion:
 3.0
UUID:b85400c2761211e79063448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsFlipRotateInvert.OrsFlipRotateInvert.OrsFlipRotateInvert(varName=None, managed=True)
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
closable = False
closeWidget(name)
contextualMenu(context)
classmethod flipCameraHorizontally(display)

Flips a camera horizontally

Parameters:display (ORSModel.ors.View) – the display on which the camera is associated
flipCameraHorizontallyAction()
interfacemethod flipCameraHorizontallyForCurrentDisplay()

Flips a camera horizontally on the current display

classmethod flipCameraVertically(display)

Flips a camera vertically

Parameters:display (ORSModel.ors.View) – the display on which the camera is associated
flipCameraVerticallyAction()
classmethod flipCameraVerticallyForCurrentDisplay()

Flips a camera vertically on the current display

keepAlive = False
multiple = False
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)
orsCurrentDisplayChange()

When the current view changes, let the mainform possibly react.

rotateCameraCCW90Action()
rotateCameraCW90Action()
classmethod rotateCameraInDegrees(display, degree)

Rotates a camera

Parameters:
  • display (ORSModel.ors.View) – the display on which the camera is associated
  • degree (float) – the rotation amount in degrees
interfacemethod rotateCameraInDegreesForCurrentDisplay(degree)

Rotates a camera on the current display

Parameters:degree (float) – the rotation amount in degrees
savable = True