VoxelMeasureParameters Struct Reference

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

Functions

 VoxelMeasureParameters (float voxelSize=-1.0f, bool centroid=true, VOXELIZATION_MODE resolutionMode=VOXELIZATION_MODE.STEREO_UNCERTAINTY, float resolutionScale=0.2f)
 

Attributes

float voxelSize
 Voxel grid cell size in coordinate units. Default: -1 (100mm equivalent). More...
 
bool centroid
 true = centroid, false = voxel grid center. Default: true. More...
 
VOXELIZATION_MODE resolutionMode
 How voxel size adapts with depth. Default: STEREO_UNCERTAINTY. More...
 
float resolutionScale
 Scale factor for depth-adaptive growth. Default: 0.2. More...
 

Detailed Description

Parameters controlling voxel decimation in Camera.RetrieveVoxelMeasure.

Constructor and Destructor

◆ VoxelMeasureParameters()

VoxelMeasureParameters ( float  voxelSize = -1.0f,
bool  centroid = true,
VOXELIZATION_MODE  resolutionMode = VOXELIZATION_MODE.STEREO_UNCERTAINTY,
float  resolutionScale = 0.2f 
)
inline

Variables

◆ voxelSize

float voxelSize

Voxel grid cell size in coordinate units. Default: -1 (100mm equivalent).

Referenced by VoxelMeasureParameters.VoxelMeasureParameters().

◆ centroid

bool centroid

true = centroid, false = voxel grid center. Default: true.

Referenced by VoxelMeasureParameters.VoxelMeasureParameters().

◆ resolutionMode

VOXELIZATION_MODE resolutionMode

How voxel size adapts with depth. Default: STEREO_UNCERTAINTY.

Referenced by VoxelMeasureParameters.VoxelMeasureParameters().

◆ resolutionScale

float resolutionScale

Scale factor for depth-adaptive growth. Default: 0.2.

Referenced by VoxelMeasureParameters.VoxelMeasureParameters().