OrsOverlayGenerator_d97e48e6d07511e7835c107b441a0862

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 2020.
date:Nov 23 2017 12:43
dragonflyVersion:
 3.5.0.407 (D)
UUID:d97e48e6d07511e7835c107b441a0862

Class Code

class OrsPythonPlugins.OrsOverlayGenerator_d97e48e6d07511e7835c107b441a0862.OrsOverlayGenerator_d97e48e6d07511e7835c107b441a0862.OrsOverlayGenerator_d97e48e6d07511e7835c107b441a0862(varname=None, managed=True)
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
addANArrowAndPublish()
classmethod addAnArrow()

Create a default arrow in an overlay

classmethod addAnImageInAnOverlay()

Add an image from a file in an overlay

addAnImageInAnOverlayAndPublish()
interfacemethod addAnOverlayTextBox()

Create a default text box in an overlay

Returns:overlay (ORSModel.ors.VisualOverlay) – an overlay
addAnOverlayTextBoxAndPublish()

Create a default text box in an overlay and publish it

addPropertyDirtyCallback()
addViewSizeChangeGlobalCallback()
addVisibilityChangeCallback()
cleanup()

Deletes the variables managed by the plugin. It is the place to remove callbacks and other references to Python objects that would prevent them to be garbage collected. This method is called during the process of deletion of the plugin. It calls for the cleanup and deletion of the forms.

closable = True
closeWidget(name)
keepAlive = False
multiple = False
classmethod openGUI()
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)
savable = True
classmethod updateArrow(anOverlay)

Edit overlay arrow’s shape :param anOverlay: an ORS Visual Overlay object

interfacemethod updateOverlayTextBox(anOverlay)

Convert text into an image when the overlay text box need to be update

Parameters:anOverlay (ORSModel.ors.VisualOverlay) – an ORS Visual Overlay object