AlignViewWithCoordinateSystem_770835ab2c6b11f1b444c85ea9714a90¶
- author:
- contact:
- email:
- organization:
- address:
- copyright:
- date:
Mar 30 2026 15:05
- dragonflyVersion:
2026.1.0.2101 (D) Debug
- UUID:
770835ab2c6b11f1b444c85ea9714a90
Class Code¶
- class OrsPythonPlugins.AlignViewWithCoordinateSystem_770835ab2c6b11f1b444c85ea9714a90.AlignViewWithCoordinateSystem_770835ab2c6b11f1b444c85ea9714a90.AlignViewWithCoordinateSystem_770835ab2c6b11f1b444c85ea9714a90(*args, **kwargs)¶
- interfacemethod addCoordinateSystemFromObjectLayoutGenealogicalName(anObject: ROI | MultiROIAbstract | Mesh | Channel | VisualBox, layoutName: str, timeStep: int = 0)¶
Sets direction of the cameras to object box for all 2D views of the given scene layout
- Parameters:
anObject (ORSModel.ors.ROI, ORSModel.ors.MultiROIAbstract, ORSModel.ors.Mesh, ORSModel.ors.Channel, ORSModel.ors.VisualBox) – object to extract box from
layoutName (str) – a genealogical name of a scene layout
timeStep (int) – timestep of current view
- Returns:
output (transient CoordinateSystem) – coordinate system for all 2D views
- interfacemethod addCoordinateSystemFromViewLayoutGenealogicalName(layoutName: str)¶
Adds cameras for all 2D views of the given scene layout
- Parameters:
layoutName (str) – a genealogical name of a scene layout
- Returns:
output (transient CoordinateSystem) – coordinate system for all 2D views
- interfacemethod addInertiaToCoordinateSystemLayoutGenealogicalName(anObject: Channel | Mesh | ROI | MultiROI, layoutName: str, timeStep: int = 0)¶
Sets direction of the cameras of minimal object box for all 2D views of the given scene layout
- Parameters:
anObject (ORSModel.ors.Channel, ORSModel.ors.Mesh, ORSModel.ors.ROI, ORSModel.ors.MultiROI) – object to extract box from
layoutName (str) – a genealogical name of a scene layout
timeStep (int) – timestep of current view
- Returns:
output (transient CoordinateSystem) – coordinate system for all 2D views
- interfacemethod addOBBToCoordinateSystemLayoutGenealogicalName(anObject: Channel | Mesh | ROI | MultiROIAbstract, layoutName: str, timeStep: int = 0, aProgress: Progress = None)¶
Sets direction of the cameras of minimal object box for all 2D views of the given scene layout
- Parameters:
anObject (ORSModel.ors.Channel, ORSModel.ors.Mesh, ORSModel.ors.ROI, ORSModel.ors.MultiROIAbstract) – object to extract box from
layoutName (str) – a genealogical name of a scene layout
timeStep (int) – timestep of current view
aProgress (ORSModel.ors.Progress) – progress bar
- Returns:
output (transient CoordinateSystem) – coordinate system for all 2D views
- 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 setCurrentCoordinateSystemFromGenealogicalName(layoutName: str, coordinateSystem) None¶
Sets coordinate system for all 2D views of the given scene layout
- Parameters:
layoutName (str) – a genealogical name of a scene layout
coordinateSystem (transient CoordinateSystem) – coordinate system to set
