MeshLib C# Docs
Loading...
Searching...
No Matches

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

Inheritance diagram for MR.Const_VoxelMetricParameters:

Classes

struct  _Underlying

Public Member Functions

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

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe ulong * __ref_storage_start
unsafe ulong * __ref_storage_stop
unsafe float * __ref_storage_maxDistRatio
unsafe MR.SlicePlane__ref_storage_plane
unsafe MR.QuarterBit__ref_storage_quatersMask

Properties

unsafe ulong start [get]
 start voxel index
unsafe ulong stop [get]
 stop voxel index
unsafe float maxDistRatio [get]
 max distance ratio: if (dist^2(next,start) + dist^2(next,stop) > maxDistRatio^2*dist^2(start,stop)) - candidate is not processed
unsafe MR.SlicePlane plane [get]
 if not None - builds path in one slice of voxels (make sure start and stop has same main axis coordinate)
unsafe MR.QuarterBit quatersMask [get]
 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 Generated from class MR.VoxelMetricParameters. This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_VoxelMetricParameters() [1/4]

unsafe MR.Const_VoxelMetricParameters.Const_VoxelMetricParameters ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_VoxelMetricParameters() [2/4]

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

Constructs MR.VoxelMetricParameters elementwise.

◆ Const_VoxelMetricParameters() [3/4]

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

◆ Const_VoxelMetricParameters() [4/4]

MR.Const_VoxelMetricParameters.Const_VoxelMetricParameters ( VoxelMetricParameters _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_VoxelMetricParameters.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_VoxelMetricParameters.Dispose ( bool disposing)
inlineprotectedvirtual

Member Data Documentation

◆ __ref_storage_maxDistRatio

unsafe float* MR.Const_VoxelMetricParameters.__ref_storage_maxDistRatio
protected

◆ __ref_storage_plane

unsafe MR.SlicePlane* MR.Const_VoxelMetricParameters.__ref_storage_plane
protected

◆ __ref_storage_quatersMask

unsafe MR.QuarterBit* MR.Const_VoxelMetricParameters.__ref_storage_quatersMask
protected

◆ __ref_storage_start

unsafe ulong* MR.Const_VoxelMetricParameters.__ref_storage_start
protected

◆ __ref_storage_stop

unsafe ulong* MR.Const_VoxelMetricParameters.__ref_storage_stop
protected

Property Documentation

◆ maxDistRatio

unsafe float MR.Const_VoxelMetricParameters.maxDistRatio
get

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

◆ plane

unsafe MR.SlicePlane MR.Const_VoxelMetricParameters.plane
get

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

◆ quatersMask

unsafe MR.QuarterBit MR.Const_VoxelMetricParameters.quatersMask
get

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

◆ start

unsafe ulong MR.Const_VoxelMetricParameters.start
get

start voxel index

◆ stop

unsafe ulong MR.Const_VoxelMetricParameters.stop
get

stop voxel index


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