MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.VoxelMetricParameters Class Reference
Inheritance diagram for mrmeshpy.VoxelMetricParameters:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstVoxelMetricParameters arg0)
None __init__ (self, int start, int stop, float maxDistRatio, SlicePlane plane, QuarterBit quatersMask)
VoxelMetricParameters assign (self, ConstVoxelMetricParameters other)
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)
Public Member Functions inherited from mrmeshpy.ConstVoxelMetricParameters
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstVoxelMetricParameters
typing _offsetof_maxDistRatio = 16
typing _offsetof_plane = 20
typing _offsetof_quatersMask = 24
typing _offsetof_start = 0
typing _offsetof_stop = 8

Detailed Description

Generated from:  MR::VoxelMetricParameters

Parameters for building metric function

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.VoxelMetricParameters.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.VoxelMetricParameters.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

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

Member Function Documentation

◆ assign()

VoxelMetricParameters mrmeshpy.VoxelMetricParameters.assign ( self,
ConstVoxelMetricParameters other )

◆ maxDistRatio() [1/2]

float 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

Reimplemented from mrmeshpy.ConstVoxelMetricParameters.

◆ maxDistRatio() [2/2]

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

Reimplemented from mrmeshpy.ConstVoxelMetricParameters.

◆ plane() [1/2]

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

Reimplemented from mrmeshpy.ConstVoxelMetricParameters.

◆ plane() [2/2]

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

Reimplemented from mrmeshpy.ConstVoxelMetricParameters.

◆ quatersMask() [1/2]

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

Reimplemented from mrmeshpy.ConstVoxelMetricParameters.

◆ quatersMask() [2/2]

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

Reimplemented from mrmeshpy.ConstVoxelMetricParameters.

◆ start() [1/2]

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

Reimplemented from mrmeshpy.ConstVoxelMetricParameters.

◆ start() [2/2]

None mrmeshpy.VoxelMetricParameters.start ( self,
int arg1 )
start voxel index

Reimplemented from mrmeshpy.ConstVoxelMetricParameters.

◆ stop() [1/2]

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

Reimplemented from mrmeshpy.ConstVoxelMetricParameters.

◆ stop() [2/2]

None mrmeshpy.VoxelMetricParameters.stop ( self,
int arg1 )
stop voxel index

Reimplemented from mrmeshpy.ConstVoxelMetricParameters.


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