MeshLib
 
Loading...
Searching...
No Matches
MR::VoxelMetricParameters Struct Reference

Parameters for building metric function. More...

#include <MRVoxelPath.h>

Public Attributes

size_t start
 start voxel index
 
size_t stop
 stop voxel index
 
float maxDistRatio {1.5f}
 max distance ratio: if (dist^2(next,start) + dist^2(next,stop) > maxDistRatio^2*dist^2(start,stop)) - candidate is not processed
 
SlicePlane plane {None}
 if not None - builds path in one slice of voxels (make sure start and stop has same main axis coordinate)
 
QuarterBit quatersMask {QuarterBit::All}
 quarter of building path, if plane is selected, it should be (LeftLeft | LeftRigth) or (RigthLeft | RightRight) or All
 

Detailed Description

Parameters for building metric function.

Member Data Documentation

◆ maxDistRatio

float MR::VoxelMetricParameters::maxDistRatio {1.5f}

max distance ratio: if (dist^2(next,start) + dist^2(next,stop) > maxDistRatio^2*dist^2(start,stop)) - candidate is not processed

◆ plane

SlicePlane MR::VoxelMetricParameters::plane {None}

if not None - builds path in one slice of voxels (make sure start and stop has same main axis coordinate)

◆ quatersMask

QuarterBit MR::VoxelMetricParameters::quatersMask {QuarterBit::All}

quarter of building path, if plane is selected, it should be (LeftLeft | LeftRigth) or (RigthLeft | RightRight) or All

◆ start

size_t MR::VoxelMetricParameters::start

start voxel index

◆ stop

size_t MR::VoxelMetricParameters::stop

stop voxel index


The documentation for this struct was generated from the following file: