MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.VoxelMetricParameters Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, VoxelMetricParameters arg0)
 
None __init__ (self, int start, int stop, float maxDistRatio, SlicePlane plane, QuarterBit quatersMask)
 
float maxDistRatio (self)
 
None maxDistRatio (self, float arg1)
 
SlicePlane plane (self)
 
None plane (self, SlicePlane arg1)
 
QuarterBit quatersMask (self)
 
None quatersMask (self, QuarterBit arg1)
 
int start (self)
 
None start (self, int arg1)
 
int stop (self)
 
None stop (self, int arg1)
 

Detailed Description

Generated from:  MR::VoxelMetricParameters

Parameters for building metric function

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.VoxelMetricParameters.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.VoxelMetricParameters.__init__ ( self,
VoxelMetricParameters arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.VoxelMetricParameters.__init__ ( self,
int start,
int stop,
float maxDistRatio,
SlicePlane plane,
QuarterBit quatersMask )
Implicit aggregate constructor.

Member Function Documentation

◆ maxDistRatio() [1/2]

float meshlib.mrmeshpy.VoxelMetricParameters.maxDistRatio ( self)
max distance ratio: if (dist^2(next,start) + dist^2(next,stop) > maxDistRatio^2*dist^2(start,stop)) - candidate is not processed

◆ maxDistRatio() [2/2]

None meshlib.mrmeshpy.VoxelMetricParameters.maxDistRatio ( self,
float arg1 )

◆ plane() [1/2]

SlicePlane meshlib.mrmeshpy.VoxelMetricParameters.plane ( self)
if not None - builds path in one slice of voxels (make sure start and stop has same main axis coordinate)

◆ plane() [2/2]

None meshlib.mrmeshpy.VoxelMetricParameters.plane ( self,
SlicePlane arg1 )

◆ quatersMask() [1/2]

QuarterBit meshlib.mrmeshpy.VoxelMetricParameters.quatersMask ( self)
quarter of building path, if plane is selected, it should be (LeftLeft | LeftRigth) or (RigthLeft | RightRight) or All

◆ quatersMask() [2/2]

None meshlib.mrmeshpy.VoxelMetricParameters.quatersMask ( self,
QuarterBit arg1 )

◆ start() [1/2]

int meshlib.mrmeshpy.VoxelMetricParameters.start ( self)
start voxel index

◆ start() [2/2]

None meshlib.mrmeshpy.VoxelMetricParameters.start ( self,
int arg1 )

◆ stop() [1/2]

int meshlib.mrmeshpy.VoxelMetricParameters.stop ( self)
stop voxel index

◆ stop() [2/2]

None meshlib.mrmeshpy.VoxelMetricParameters.stop ( self,
int arg1 )

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