Skip to main content

VolumeStatisticsTarget

Other

Target scope for volume statistics computation. Specifies the region of volume data to include in statistics calculation. Available values: - WholeVolume: Include the entire volume. - ActiveMask: Restrict statistics to the region covered by a mask. - VisibleMasks: Compute statistics restricted to all currently visible masks.

Import

import ScriptingApi as api

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

Enumeration Values

Enumeration Type from VolumeStatisticsTarget

ValueDescription
VolumeStatisticsTarget.WholeVolumeWholeVolume option
VolumeStatisticsTarget.ActiveMaskActiveMask option
VolumeStatisticsTarget.VisibleMasksVisibleMasks option

Usage Example

import ScriptingApi as api

# Access enumeration values
value = api.VolumeStatisticsTarget.WholeVolume

See Also