OrsFlipRotateInvert

Manages flipping and rotating the camera

author:

Dragonfly Team

contact:

https://dragonfly.comet.tech

email:

support.dragonfly@comet.tech

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)
interfacemethod flipCameraHorizontally(viewGenealogicalName: str) None

Flips a camera horizontally

Parameters:

viewGenealogicalName (str) – the name of the view on which the horizontal flip is applied

interfacemethod flipCameraHorizontallyForCurrentDisplay() None

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

interfacemethod flipCameraVertically(viewGenealogicalName: str) None

Flips a camera vertically

Parameters:

viewGenealogicalName (str) – the name of the view on which the vertical flip is applied

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.

interfacemethod rotateCameraInDegrees(viewGenealogicalName: str, degree: float) None

Rotates a camera

Parameters:
  • viewGenealogicalName (str) – the name of the view on which the rotation is applied

  • degree (float) – the rotation amount in degrees

interfacemethod rotateCameraInDegreesForCurrentDisplay(degree: float) None

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