Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, Vector2i resolution, Vector2f oriPoint, Vector2f areaSize, bool withSign=False) |
| None | __init__ (self, Vector2i resolution, Box2f box, bool withSign=False) |
| None | __init__ (self, Vector2i resolution, std_vector_std_vector_Vector2_float contours, float offset, bool withSign=False) |
| None | __init__ (self, float pixelSize, std_vector_std_vector_Vector2_float contours, float offset, bool withSign=False) |
| None | __init__ (self, DistanceMapToWorld toWorld) |
| None | __init__ (self, ContourToDistanceMapParams arg0) |
| Vector2f | toWorld (self, Vector2f point) |
| AffineXf3f | xf (self) |
| Vector2f | orgPoint (self) |
| None | orgPoint (self, Vector2f arg1) |
| Vector2f | pixelSize (self) |
| None | pixelSize (self, Vector2f arg1) |
| Vector2i | resolution (self) |
| None | resolution (self, Vector2i arg1) |
| bool | withSign (self) |
| None | withSign (self, bool arg1) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| ContourToDistanceMapParams | operator (*args, **kwargs) |
| ContourToDistanceMapParams | operator (*args, **kwargs) |
Static Protected Attributes | |
| typing | _offsetof_orgPoint = 16 |
| typing | _offsetof_pixelSize = 0 |
| typing | _offsetof_resolution = 8 |
| typing | _offsetof_withSign = 24 |
Generated from: MR::ContourToDistanceMapParams Structure with parameters to generate DistanceMap by Contours
|
static |
| None mrmeshpy.ContourToDistanceMapParams.__init__ | ( | self | ) |
Default ctor, make sure to fill all fields manually
| None mrmeshpy.ContourToDistanceMapParams.__init__ | ( | self, | |
| Vector2i | resolution, | ||
| Vector2f | oriPoint, | ||
| Vector2f | areaSize, | ||
| bool | withSign = False ) |
Ctor, calculating pixelSize by areaSize & dmapSize
| None mrmeshpy.ContourToDistanceMapParams.__init__ | ( | self, | |
| Vector2i | resolution, | ||
| Box2f | box, | ||
| bool | withSign = False ) |
Ctor, calculating pixelSize & oriPoint by box parameters
| None mrmeshpy.ContourToDistanceMapParams.__init__ | ( | self, | |
| Vector2i | resolution, | ||
| std_vector_std_vector_Vector2_float | contours, | ||
| float | offset, | ||
| bool | withSign = False ) |
Ctor, calculating pixelSize & oriPoint by contours box + offset
| None mrmeshpy.ContourToDistanceMapParams.__init__ | ( | self, | |
| float | pixelSize, | ||
| std_vector_std_vector_Vector2_float | contours, | ||
| float | offset, | ||
| bool | withSign = False ) |
Ctor, calculating resolution & oriPoint by contours box + offset
| None mrmeshpy.ContourToDistanceMapParams.__init__ | ( | self, | |
| DistanceMapToWorld | toWorld ) |
| None mrmeshpy.ContourToDistanceMapParams.__init__ | ( | self, | |
| ContourToDistanceMapParams | arg0 ) |
Implicit copy constructor.
|
static |
|
static |
| Vector2f mrmeshpy.ContourToDistanceMapParams.orgPoint | ( | self | ) |
coordinates of origin area corner
| None mrmeshpy.ContourToDistanceMapParams.orgPoint | ( | self, | |
| Vector2f | arg1 ) |
| Vector2f mrmeshpy.ContourToDistanceMapParams.pixelSize | ( | self | ) |
pixel size
| None mrmeshpy.ContourToDistanceMapParams.pixelSize | ( | self, | |
| Vector2f | arg1 ) |
| Vector2i mrmeshpy.ContourToDistanceMapParams.resolution | ( | self | ) |
distance map size
| None mrmeshpy.ContourToDistanceMapParams.resolution | ( | self, | |
| Vector2i | arg1 ) |
get world 2d coordinate (respects origin point and pixel size) point - coordinate on distance map
| bool mrmeshpy.ContourToDistanceMapParams.withSign | ( | self | ) |
allows calculate negative values of distance (inside closed and correctly oriented (CW) contours)
| None mrmeshpy.ContourToDistanceMapParams.withSign | ( | self, | |
| bool | arg1 ) |
| AffineXf3f mrmeshpy.ContourToDistanceMapParams.xf | ( | self | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |