rockverse.viz.OrthogonalViewer.statusbar_mode#
- property OrthogonalViewer.statusbar_mode#
Get or set the status bar display mode.
This property determines the information displayed in the status bar when hovering the mouse over the figure in insteractive mode. It can show either the physical coordinates of the cursor position or the voxel indices of the corresponding data point.
Available modes:
‘coordinate’: displays the physical coordinates (x, y, z) in the current units of the image.
‘index’: displays the voxel indices (i, j, k) corresponding to the cursor position in the voxel grid.
Examples
>>> viewer.statusbar_mode # Get the current mode >>> viewer.statusbar_mode = 'coordinate' # Set status bar to show physical coordinates >>> viewer.statusbar_mode = 'index' # Set status bar to show voxel indices