OrsCreateMaskForChannel_00114c2e057911ea85750c9d927663a1

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
copyright:Object Research Systems (ORS), Inc. All rights reserved 2021.
date:Nov 12 2019 13:19
dragonflyVersion:
 4.5.0.11522
UUID:00114c2e057911ea85750c9d927663a1

Class Code

class OrsPythonPlugins.OrsCreateMaskForChannel_00114c2e057911ea85750c9d927663a1.OrsCreateMaskForChannel_00114c2e057911ea85750c9d927663a1.OrsCreateMaskForChannel_00114c2e057911ea85750c9d927663a1(varName=None, managed=True)
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
canBeGenericallyOpened = False
classmethod contextualMenu(context)
interfacemethod createMask(channel, xstart, xend, xincrement, ystart, yend, yincrement, zstart, zend, zincrement)

Create a ROI that will serve as a mask for the channel

Parameters:
  • channel (ORSModel.ors.Channel) – the channel to mask
  • xstart (int) – the x coordinate at which the mask start
  • xend (int) – the x coordinate at which the mask end
  • xincrement (int) – the x increment
  • ystart (int) – the y coordinate at which the mask start
  • yend (int) – the y coordinate at which the mask end
  • yincrement (int) – the y increment
  • zstart (int) – the z coordinate at which the mask start
  • zend (int) – the z coordinate at which the mask end
  • zincrement (int) – the z increment
classmethod getMainFormClass()

Gets the class of the main form

Returns:output
keepAlive = False
classmethod menuItemCreateMask()
multiple = False
savable = False
selectedObjectsChanged()
classmethod startupDefault(openMainForm=True)

Creates an instance of the plugin class and opens the main form (if required) at the default position.

Returns:output (AbstractPlugin) – plugin instance