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) |
Protected Member Functions | |
AffineXf3f | _convert_to_AffineXf3f (self) |
Generated from: MR::ContourToDistanceMapParams Structure with parameters to generate DistanceMap by Contours
None meshlib.mrmeshpy.ContourToDistanceMapParams.__init__ | ( | self | ) |
Default ctor, make sure to fill all fields manually
None meshlib.mrmeshpy.ContourToDistanceMapParams.__init__ | ( | self, | |
Vector2i | resolution, | ||
Vector2f | oriPoint, | ||
Vector2f | areaSize, | ||
bool | withSign = False ) |
Ctor, calculating pixelSize by areaSize & dmapSize
None meshlib.mrmeshpy.ContourToDistanceMapParams.__init__ | ( | self, | |
Vector2i | resolution, | ||
Box2f | box, | ||
bool | withSign = False ) |
Ctor, calculating pixelSize & oriPoint by box parameters
None meshlib.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 meshlib.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 meshlib.mrmeshpy.ContourToDistanceMapParams.__init__ | ( | self, | |
DistanceMapToWorld | toWorld ) |
None meshlib.mrmeshpy.ContourToDistanceMapParams.__init__ | ( | self, | |
ContourToDistanceMapParams | arg0 ) |
Implicit copy constructor.
|
protected |
converts in transformation
Vector2f meshlib.mrmeshpy.ContourToDistanceMapParams.orgPoint | ( | self | ) |
coordinates of origin area corner
None meshlib.mrmeshpy.ContourToDistanceMapParams.orgPoint | ( | self, | |
Vector2f | arg1 ) |
Vector2f meshlib.mrmeshpy.ContourToDistanceMapParams.pixelSize | ( | self | ) |
pixel size
None meshlib.mrmeshpy.ContourToDistanceMapParams.pixelSize | ( | self, | |
Vector2f | arg1 ) |
Vector2i meshlib.mrmeshpy.ContourToDistanceMapParams.resolution | ( | self | ) |
distance map size
None meshlib.mrmeshpy.ContourToDistanceMapParams.resolution | ( | self, | |
Vector2i | arg1 ) |
get world 2d coordinate (respects origin point and pixel size) point - coordinate on distance map
bool meshlib.mrmeshpy.ContourToDistanceMapParams.withSign | ( | self | ) |
allows calculate negative values of distance (inside closed and correctly oriented (CW) contours)
None meshlib.mrmeshpy.ContourToDistanceMapParams.withSign | ( | self, | |
bool | arg1 ) |
AffineXf3f meshlib.mrmeshpy.ContourToDistanceMapParams.xf | ( | self | ) |