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

Public Member Functions

None __init__ (self)
 
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)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
VoxelMetricParameters operator (*args, **kwargs)
 
VoxelMetricParameters operator (*args, **kwargs)
 

Static Protected Attributes

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/3]

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

◆ __init__() [2/3]

None mrmeshpy.VoxelMetricParameters.__init__ ( self)

◆ __init__() [3/3]

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

Member Function Documentation

◆ 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

◆ maxDistRatio() [2/2]

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

◆ operator() [1/2]

VoxelMetricParameters mrmeshpy.VoxelMetricParameters.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

VoxelMetricParameters mrmeshpy.VoxelMetricParameters.operator ( * args,
** kwargs )
static

◆ 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)

◆ plane() [2/2]

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

◆ 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

◆ quatersMask() [2/2]

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

◆ start() [1/2]

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

◆ start() [2/2]

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

◆ stop() [1/2]

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

◆ stop() [2/2]

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

Member Data Documentation

◆ _offsetof_maxDistRatio

typing mrmeshpy.VoxelMetricParameters._offsetof_maxDistRatio = 16
staticprotected

◆ _offsetof_plane

typing mrmeshpy.VoxelMetricParameters._offsetof_plane = 20
staticprotected

◆ _offsetof_quatersMask

typing mrmeshpy.VoxelMetricParameters._offsetof_quatersMask = 24
staticprotected

◆ _offsetof_start

typing mrmeshpy.VoxelMetricParameters._offsetof_start = 0
staticprotected

◆ _offsetof_stop

typing mrmeshpy.VoxelMetricParameters._offsetof_stop = 8
staticprotected

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