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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstVector2i resolution, ConstVector2f oriPoint, ConstVector2f areaSize, bool withSign=False)
None __init__ (self, ConstVector2i resolution, ConstBox2f box, bool withSign=False)
None __init__ (self, ConstVector2i resolution, Const_std_vector_std_vector_Vector2_float contours, float offset, bool withSign=False)
None __init__ (self, float pixelSize, Const_std_vector_std_vector_Vector2_float contours, float offset, bool withSign=False)
None __init__ (self, ConstDistanceMapToWorld toWorld)
None __init__ (self, ConstContourToDistanceMapParams arg0)
ContourToDistanceMapParams assign (self, ConstContourToDistanceMapParams other)
Vector2f orgPoint (self)
None orgPoint (self, ConstVector2f arg1)
Vector2f pixelSize (self)
None pixelSize (self, ConstVector2f arg1)
Vector2i resolution (self)
None resolution (self, ConstVector2i arg1)
bool withSign (self)
None withSign (self, bool arg1)
Public Member Functions inherited from mrmeshpy.ConstContourToDistanceMapParams
 __init__ (self, *args, **kwargs)
Vector2f toWorld (self, ConstVector2f point)
AffineXf3f xf (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstContourToDistanceMapParams
typing _offsetof_orgPoint = 16
typing _offsetof_pixelSize = 0
typing _offsetof_resolution = 8
typing _offsetof_withSign = 24

Detailed Description

Generated from:  MR::ContourToDistanceMapParams

Structure with parameters to generate DistanceMap by Contours

Constructor & Destructor Documentation

◆ __init__() [1/8]

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

◆ __init__() [2/8]

None mrmeshpy.ContourToDistanceMapParams.__init__ ( self)
Default ctor, make sure to fill all fields manually

◆ __init__() [3/8]

None mrmeshpy.ContourToDistanceMapParams.__init__ ( self,
ConstVector2i resolution,
ConstVector2f oriPoint,
ConstVector2f areaSize,
bool withSign = False )
Ctor, calculating pixelSize by areaSize & dmapSize

◆ __init__() [4/8]

None mrmeshpy.ContourToDistanceMapParams.__init__ ( self,
ConstVector2i resolution,
ConstBox2f box,
bool withSign = False )
Ctor, calculating pixelSize & oriPoint by box parameters

◆ __init__() [5/8]

None mrmeshpy.ContourToDistanceMapParams.__init__ ( self,
ConstVector2i resolution,
Const_std_vector_std_vector_Vector2_float contours,
float offset,
bool withSign = False )
Ctor, calculating pixelSize & oriPoint by contours box + offset

◆ __init__() [6/8]

None mrmeshpy.ContourToDistanceMapParams.__init__ ( self,
float pixelSize,
Const_std_vector_std_vector_Vector2_float contours,
float offset,
bool withSign = False )
Ctor, calculating resolution & oriPoint by contours box + offset

◆ __init__() [7/8]

None mrmeshpy.ContourToDistanceMapParams.__init__ ( self,
ConstDistanceMapToWorld toWorld )

◆ __init__() [8/8]

None mrmeshpy.ContourToDistanceMapParams.__init__ ( self,
ConstContourToDistanceMapParams arg0 )
Implicit copy constructor.

Member Function Documentation

◆ assign()

ContourToDistanceMapParams mrmeshpy.ContourToDistanceMapParams.assign ( self,
ConstContourToDistanceMapParams other )

◆ orgPoint() [1/2]

Vector2f mrmeshpy.ContourToDistanceMapParams.orgPoint ( self)
coordinates of origin area corner

Reimplemented from mrmeshpy.ConstContourToDistanceMapParams.

◆ orgPoint() [2/2]

None mrmeshpy.ContourToDistanceMapParams.orgPoint ( self,
ConstVector2f arg1 )
coordinates of origin area corner

Reimplemented from mrmeshpy.ConstContourToDistanceMapParams.

◆ pixelSize() [1/2]

Vector2f mrmeshpy.ContourToDistanceMapParams.pixelSize ( self)
pixel size

Reimplemented from mrmeshpy.ConstContourToDistanceMapParams.

◆ pixelSize() [2/2]

None mrmeshpy.ContourToDistanceMapParams.pixelSize ( self,
ConstVector2f arg1 )
pixel size

Reimplemented from mrmeshpy.ConstContourToDistanceMapParams.

◆ resolution() [1/2]

Vector2i mrmeshpy.ContourToDistanceMapParams.resolution ( self)
distance map size

Reimplemented from mrmeshpy.ConstContourToDistanceMapParams.

◆ resolution() [2/2]

None mrmeshpy.ContourToDistanceMapParams.resolution ( self,
ConstVector2i arg1 )
distance map size

Reimplemented from mrmeshpy.ConstContourToDistanceMapParams.

◆ withSign() [1/2]

bool mrmeshpy.ContourToDistanceMapParams.withSign ( self)
allows calculate negative values of distance (inside closed and correctly oriented (CW) contours)

Reimplemented from mrmeshpy.ConstContourToDistanceMapParams.

◆ withSign() [2/2]

None mrmeshpy.ContourToDistanceMapParams.withSign ( self,
bool arg1 )
allows calculate negative values of distance (inside closed and correctly oriented (CW) contours)

Reimplemented from mrmeshpy.ConstContourToDistanceMapParams.


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