VoxelMeasureParameters Class Reference

Parameters controlling voxel decimation in Camera.retrieve_voxel_measure. More...

Functions

float voxel_size (self)
 Voxel grid cell size in InitParameters.coordinate_units. More...
 
bool centroid (self)
 Controls output point positions within each voxel. More...
 
VOXELIZATION_MODE resolution_mode (self)
 How voxel size adapts with depth. More...
 
float resolution_scale (self)
 Scale factor for depth-adaptive voxel growth. More...
 

Detailed Description

Parameters controlling voxel decimation in Camera.retrieve_voxel_measure.

Functions

◆ voxel_size()

float voxel_size (   self)

Voxel grid cell size in InitParameters.coordinate_units.

If <= 0, a 100 mm equivalent default is used. Clamped internally to [5 mm equivalent, max_depth_range].

◆ centroid()

bool centroid (   self)

Controls output point positions within each voxel.

If True, output positions are the centroid of all points in each voxel. If False, output positions are snapped to the voxel grid center.

◆ resolution_mode()

VOXELIZATION_MODE resolution_mode (   self)

How voxel size adapts with depth.

See VOXELIZATION_MODE for available modes.

◆ resolution_scale()

float resolution_scale (   self)

Scale factor for depth-adaptive voxel growth.

Larger values produce coarser voxels at distance (fewer points, better performance). Typical range: [0.01, 1.0]. Clamped internally to [0.01, 3.0].

Note
Only used when resolution_mode is not VOXELIZATION_MODE.FIXED.