OrsFlipRotateInvert¶
Manages flipping and rotating the camera
- author:
Dragonfly Team
- contact:
- email:
- organization:
Comet Technologies Canada Inc.
- address:
460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
- copyright:
Comet Technologies Canada Inc. All rights reserved 2023.
- date:
Oct 30 2015 12:22
- dragonflyVersion:
3.0
- UUID:
b85400c2761211e79063448a5b5d70c0
Class Code¶
- class OrsPythonPlugins.OrsFlipRotateInvert.OrsFlipRotateInvert.OrsFlipRotateInvert(*args, **kwargs)¶
- classmethod flipCameraHorizontally(view)¶
Flips a camera horizontally
- Parameters:
view (ORSModel.ors.View) – the view on which the camera is associated
- interfacemethod flipCameraHorizontallyForCurrentDisplay()¶
Flips a camera horizontally on the current view
Deprecated since version 2022.1: Use OrsHelpers.viewLogger.ViewLogger.setViewOrientedPlaneFromLayoutGenealogicalName or OrsHelpers.viewLogger.ViewLogger.setCameraFromLayoutGenealogicalName instead
- classmethod flipCameraHorizontallyForCurrentView()¶
Flips a camera horizontally on the current view
- classmethod flipCameraVertically(view)¶
Flips a camera vertically
- Parameters:
view (ORSModel.ors.View) – the view on which the camera is associated
- classmethod flipCameraVerticallyForCurrentView()¶
Flips a camera vertically on the current view
- classmethod getMainFormClass()¶
Gets the class of the main form
- Returns:
output –
- orsCurrentDisplayChange()¶
When the current view changes, let the mainform possibly react.
- classmethod rotateCameraInDegrees(view, degree)¶
Rotates a camera
- Parameters:
view (ORSModel.ors.View) – the view on which the camera is associated
degree (float) – the rotation amount in degrees
- interfacemethod rotateCameraInDegreesForCurrentDisplay(degree)¶
Rotates a camera on the current view
Deprecated since version 2022.1: Use OrsHelpers.viewLogger.ViewLogger.setViewOrientedPlaneFromLayoutGenealogicalName or OrsHelpers.viewLogger.ViewLogger.setCameraFromLayoutGenealogicalName instead
- Parameters:
degree (float) – the rotation amount in degrees
- classmethod rotateCameraInDegreesForCurrentView(degree)¶
Rotates a camera on the current view
- Parameters:
degree (float) – the rotation amount in degrees