MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.ContourToDistanceMapParams Class Reference

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)
 

Detailed Description

Generated from:  MR::ContourToDistanceMapParams

Structure with parameters to generate DistanceMap by Contours

Constructor & Destructor Documentation

◆ __init__() [1/7]

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

◆ __init__() [2/7]

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

◆ __init__() [3/7]

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

◆ __init__() [4/7]

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

◆ __init__() [5/7]

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

◆ __init__() [6/7]

None meshlib.mrmeshpy.ContourToDistanceMapParams.__init__ ( self,
DistanceMapToWorld toWorld )

◆ __init__() [7/7]

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

Member Function Documentation

◆ _convert_to_AffineXf3f()

AffineXf3f meshlib.mrmeshpy.ContourToDistanceMapParams._convert_to_AffineXf3f ( self)
protected
converts in transformation

◆ orgPoint() [1/2]

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

◆ orgPoint() [2/2]

None meshlib.mrmeshpy.ContourToDistanceMapParams.orgPoint ( self,
Vector2f arg1 )

◆ pixelSize() [1/2]

Vector2f meshlib.mrmeshpy.ContourToDistanceMapParams.pixelSize ( self)
pixel size

◆ pixelSize() [2/2]

None meshlib.mrmeshpy.ContourToDistanceMapParams.pixelSize ( self,
Vector2f arg1 )

◆ resolution() [1/2]

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

◆ resolution() [2/2]

None meshlib.mrmeshpy.ContourToDistanceMapParams.resolution ( self,
Vector2i arg1 )

◆ toWorld()

Vector2f meshlib.mrmeshpy.ContourToDistanceMapParams.toWorld ( self,
Vector2f point )
get world 2d coordinate (respects origin point and pixel size)
point - coordinate on distance map

◆ withSign() [1/2]

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

◆ withSign() [2/2]

None meshlib.mrmeshpy.ContourToDistanceMapParams.withSign ( self,
bool arg1 )

◆ xf()

AffineXf3f meshlib.mrmeshpy.ContourToDistanceMapParams.xf ( self)

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