OrsMultiScreenshots¶
Tool to manage multiple screeshots at once
- 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:
Feb 09 2017 11:53
- dragonflyVersion:
2.1.0.223 (D)
- UUID:
4f473540eee811e69a99448a5bd787f8
Class Code¶
- class OrsPythonPlugins.OrsMultiScreenshots.OrsMultiScreenshots.OrsMultiScreenshots(*args, **kwargs)¶
- interfacemethod addViewSnapshotInImageCollection(viewName: str, resolution: int, imageCollection: ImageCollection) Image¶
Creates an image as the snapshot of a view and adds it to the ImageCollection
- Parameters:
viewName (str) – a genealogical name of a view
resolution (int) – size in pixels of the largest view dimension. The size in the other dimension is determined by keeping the aspect ratio of the view.
imageCollection (ORSModel.ors.ImageCollection) – the image collection where the image should be added
- Returns:
snapshotImage (ORSModel.ors.Image) – the snapshot image
- 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.
- classmethod getMainFormClass()¶
Gets the class of the main form
- Returns:
output –
- interfacemethod setImageMetadata(anImage: Image, imageTitle: str, imageCaption: str, imageNote: str) None¶
Sets the meta data of an image
- Parameters:
anImage (ORSModel.ors.Image) – the image to define
imageTitle (str) – image title
imageCaption (str) – image caption
imageNote (str) – image note
- Anonymize imageTitle:
True
- Anonymize imageCaption:
True
- Anonymize imageNote:
True