rockverse.viz.OrthogonalViewer.region#

property OrthogonalViewer.region#

Get or set the region of interest.

Examples

>>> from rockverse.regions import Cylinder
>>> viewer = rockverse.OrthogonalViewer(<your parameters here...>)
>>> viewer.region = Cylinder(<your parameters here...>)  # Set a new region
>>> region = viewer.region                               # Get the current region
>>> viewer.region = None                                 # Remove the region