MeshLib C# Docs
Loading...
Searching...
No Matches
MR.VoxelMetricParameters Class Reference

Parameters for building metric function Generated from class MR.VoxelMetricParameters. This is the non-const half of the class. More...

+ Inheritance diagram for MR.VoxelMetricParameters:

Public Member Functions

unsafe VoxelMetricParameters ()
 Constructs an empty (default-constructed) instance.
 
unsafe VoxelMetricParameters (ulong start, ulong stop, float maxDistRatio, MR.SlicePlane plane, MR.QuarterBit quatersMask)
 Constructs MR.VoxelMetricParameters elementwise.
 
unsafe VoxelMetricParameters (MR.Const_VoxelMetricParameters _other)
 Generated from constructor MR.VoxelMetricParameters.VoxelMetricParameters.
 
 VoxelMetricParameters (VoxelMetricParameters _other)
 Generated from constructor MR.VoxelMetricParameters.VoxelMetricParameters.
 
unsafe MR.VoxelMetricParameters assign (MR.Const_VoxelMetricParameters _other)
 Generated from method MR.VoxelMetricParameters.operator=.
 

Properties

new unsafe ref ulong start [get]
 < start voxel index
 
new unsafe ref ulong stop [get]
 max distance ratio: if (dist^2(next,start) + dist^2(next,stop) > maxDistRatio^2*dist^2(start,stop)) - candidate is not processed
 
new unsafe ref float maxDistRatio [get]
 if not None - builds path in one slice of voxels (make sure start and stop has same main axis coordinate)
 
new unsafe ref MR.SlicePlane plane [get]
 quarter of building path, if plane is selected, it should be (LeftLeft | LeftRigth) or (RigthLeft | RightRight) or All
 
new unsafe ref MR.QuarterBit quatersMask [get]
 

Detailed Description

Parameters for building metric function Generated from class MR.VoxelMetricParameters. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ VoxelMetricParameters() [1/4]

unsafe MR.VoxelMetricParameters.VoxelMetricParameters ( )
inline

Constructs an empty (default-constructed) instance.

◆ VoxelMetricParameters() [2/4]

unsafe MR.VoxelMetricParameters.VoxelMetricParameters ( ulong start,
ulong stop,
float maxDistRatio,
MR.SlicePlane plane,
MR.QuarterBit quatersMask )
inline

Constructs MR.VoxelMetricParameters elementwise.

◆ VoxelMetricParameters() [3/4]

unsafe MR.VoxelMetricParameters.VoxelMetricParameters ( MR.Const_VoxelMetricParameters _other)
inline

Generated from constructor MR.VoxelMetricParameters.VoxelMetricParameters.

◆ VoxelMetricParameters() [4/4]

MR.VoxelMetricParameters.VoxelMetricParameters ( VoxelMetricParameters _other)
inline

Generated from constructor MR.VoxelMetricParameters.VoxelMetricParameters.

Member Function Documentation

◆ assign()

unsafe MR.VoxelMetricParameters MR.VoxelMetricParameters.assign ( MR.Const_VoxelMetricParameters _other)
inline

Generated from method MR.VoxelMetricParameters.operator=.

Property Documentation

◆ maxDistRatio

new unsafe ref float MR.VoxelMetricParameters.maxDistRatio
get

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

◆ plane

new unsafe ref MR.SlicePlane MR.VoxelMetricParameters.plane
get

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

◆ quatersMask

new unsafe ref MR.QuarterBit MR.VoxelMetricParameters.quatersMask
get

◆ start

new unsafe ref ulong MR.VoxelMetricParameters.start
get

< start voxel index

stop voxel index

◆ stop

new unsafe ref ulong MR.VoxelMetricParameters.stop
get

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


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