Skip to main content

View3dOptions

Parameters

Snapshot of the 3D View preference values.

Import

import ScriptingApi as api

# Access the class
# View3dOptions is available via api.View3dOptions

Properties

keep_only_whole_cells_when_clipping

Keep only whole cells when clipping.

Type: bool


clipping_outline_color

RGB outline color [r, g, b] for the clipping box.

Type: list


clipping_handle_color

RGB handle color [r, g, b] for the clipping box.

Type: list


automatically_regenerate_3d_preview_if_any_visible_mask_is_modified

Automatically regenerate 3D previews for visible masks after edits.

When enabled, a visible mask with an existing preview is regenerated automatically after modification. When disabled, preview regeneration must be triggered manually.

Type: bool


use_accurate_surface_detection_for_each_label_in_the_multilabel_mask

Compute partial gray values for each label in a multilabel mask to achieve subvoxel-accurate surface reconstruction.

This produces more precise and realistic surfaces but may significantly increase computation time for masks with many labels.

Type: bool


See Also