MeshLib C# Docs
Loading...
Searching...
No Matches
MR.ContourToDistanceMapParams Class Reference

Structure with parameters to generate DistanceMap by Contours Generated from class MR.ContourToDistanceMapParams. This is the non-const half of the class. More...

Inheritance diagram for MR.ContourToDistanceMapParams:

Public Member Functions

unsafe ContourToDistanceMapParams ()
 Constructs an empty (default-constructed) instance.
unsafe ContourToDistanceMapParams (MR.Const_ContourToDistanceMapParams _other)
 Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams.
 ContourToDistanceMapParams (ContourToDistanceMapParams _other)
 Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams.
unsafe ContourToDistanceMapParams (in MR.Vector2i resolution, in MR.Vector2f oriPoint, in MR.Vector2f areaSize, bool? withSign=null)
 Ctor, calculating pixelSize by areaSize & dmapSize Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.
unsafe ContourToDistanceMapParams (in MR.Vector2i resolution, in MR.Box2f box, bool? withSign=null)
 Ctor, calculating pixelSize & oriPoint by box parameters Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.
unsafe ContourToDistanceMapParams (in MR.Vector2i resolution, MR.Std.Const_Vector_StdVectorMRVector2f contours, float offset, bool? withSign=null)
 Ctor, calculating pixelSize & oriPoint by contours box + offset Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.
unsafe ContourToDistanceMapParams (float pixelSize, MR.Std.Const_Vector_StdVectorMRVector2f contours, float offset, bool? withSign=null)
 Ctor, calculating resolution & oriPoint by contours box + offset Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.
unsafe ContourToDistanceMapParams (MR.Const_DistanceMapToWorld toWorld)
 Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams.
unsafe MR.ContourToDistanceMapParams assign (MR.Const_ContourToDistanceMapParams _other)
 Generated from method MR::ContourToDistanceMapParams::operator=.
Public Member Functions inherited from MR.Const_ContourToDistanceMapParams
virtual void Dispose ()
unsafe Const_ContourToDistanceMapParams ()
 Constructs an empty (default-constructed) instance.
unsafe Const_ContourToDistanceMapParams (MR.Const_ContourToDistanceMapParams _other)
 Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams.
 Const_ContourToDistanceMapParams (ContourToDistanceMapParams _other)
 Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams.
unsafe Const_ContourToDistanceMapParams (in MR.Vector2i resolution, in MR.Vector2f oriPoint, in MR.Vector2f areaSize, bool? withSign=null)
 Ctor, calculating pixelSize by areaSize & dmapSize Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.
unsafe Const_ContourToDistanceMapParams (in MR.Vector2i resolution, in MR.Box2f box, bool? withSign=null)
 Ctor, calculating pixelSize & oriPoint by box parameters Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.
unsafe Const_ContourToDistanceMapParams (in MR.Vector2i resolution, MR.Std.Const_Vector_StdVectorMRVector2f contours, float offset, bool? withSign=null)
 Ctor, calculating pixelSize & oriPoint by contours box + offset Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.
unsafe Const_ContourToDistanceMapParams (float pixelSize, MR.Std.Const_Vector_StdVectorMRVector2f contours, float offset, bool? withSign=null)
 Ctor, calculating resolution & oriPoint by contours box + offset Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.
unsafe Const_ContourToDistanceMapParams (MR.Const_DistanceMapToWorld toWorld)
 Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams.
unsafe MR.Vector2f toWorld (MR.Vector2f point)
 get world 2d coordinate (respects origin point and pixel size) point - coordinate on distance map Generated from method MR.ContourToDistanceMapParams.toWorld.
unsafe MR.AffineXf3f xf ()
 Generated from method MR.ContourToDistanceMapParams.xf.

Properties

new unsafe ref MR.Vector2f pixelSize [get]
 pixel size
new unsafe ref MR.Vector2i resolution [get]
 distance map size
new unsafe ref MR.Vector2f orgPoint [get]
 coordinates of origin area corner
new unsafe ref bool withSign [get]
 allows calculate negative values of distance (inside closed and correctly oriented (CW) contours)
Properties inherited from MR.Const_ContourToDistanceMapParams
unsafe ref readonly MR.Vector2f pixelSize [get]
 pixel size
unsafe ref readonly MR.Vector2i resolution [get]
 distance map size
unsafe ref readonly MR.Vector2f orgPoint [get]
 coordinates of origin area corner
unsafe bool withSign [get]
 allows calculate negative values of distance (inside closed and correctly oriented (CW) contours)

Additional Inherited Members

Static Public Member Functions inherited from MR.Const_ContourToDistanceMapParams
static unsafe implicit operator MR.AffineXf3f (MR.Const_ContourToDistanceMapParams _this)
 converts in transformation Generated from conversion operator MR::ContourToDistanceMapParams::operator MR.AffineXf3f.
Protected Member Functions inherited from MR.Const_ContourToDistanceMapParams
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_ContourToDistanceMapParams
unsafe MR.Vector2f__ref_storage_pixelSize
unsafe MR.Vector2i__ref_storage_resolution
unsafe MR.Vector2f__ref_storage_orgPoint
unsafe bool * __ref_storage_withSign

Detailed Description

Structure with parameters to generate DistanceMap by Contours Generated from class MR.ContourToDistanceMapParams. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ ContourToDistanceMapParams() [1/8]

unsafe MR.ContourToDistanceMapParams.ContourToDistanceMapParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ ContourToDistanceMapParams() [2/8]

unsafe MR.ContourToDistanceMapParams.ContourToDistanceMapParams ( MR.Const_ContourToDistanceMapParams _other)
inline

◆ ContourToDistanceMapParams() [3/8]

MR.ContourToDistanceMapParams.ContourToDistanceMapParams ( ContourToDistanceMapParams _other)
inline

◆ ContourToDistanceMapParams() [4/8]

unsafe MR.ContourToDistanceMapParams.ContourToDistanceMapParams ( in MR.Vector2i resolution,
in MR.Vector2f oriPoint,
in MR.Vector2f areaSize,
bool? withSign = null )
inline

Ctor, calculating pixelSize by areaSize & dmapSize Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.

◆ ContourToDistanceMapParams() [5/8]

unsafe MR.ContourToDistanceMapParams.ContourToDistanceMapParams ( in MR.Vector2i resolution,
in MR.Box2f box,
bool? withSign = null )
inline

Ctor, calculating pixelSize & oriPoint by box parameters Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.

◆ ContourToDistanceMapParams() [6/8]

unsafe MR.ContourToDistanceMapParams.ContourToDistanceMapParams ( in MR.Vector2i resolution,
MR.Std.Const_Vector_StdVectorMRVector2f contours,
float offset,
bool? withSign = null )
inline

Ctor, calculating pixelSize & oriPoint by contours box + offset Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.

◆ ContourToDistanceMapParams() [7/8]

unsafe MR.ContourToDistanceMapParams.ContourToDistanceMapParams ( float pixelSize,
MR.Std.Const_Vector_StdVectorMRVector2f contours,
float offset,
bool? withSign = null )
inline

Ctor, calculating resolution & oriPoint by contours box + offset Generated from constructor MR.ContourToDistanceMapParams.ContourToDistanceMapParams. Parameter withSign defaults to false.

◆ ContourToDistanceMapParams() [8/8]

unsafe MR.ContourToDistanceMapParams.ContourToDistanceMapParams ( MR.Const_DistanceMapToWorld toWorld)
inline

Member Function Documentation

◆ assign()

unsafe MR.ContourToDistanceMapParams MR.ContourToDistanceMapParams.assign ( MR.Const_ContourToDistanceMapParams _other)
inline

Generated from method MR::ContourToDistanceMapParams::operator=.

Property Documentation

◆ orgPoint

new unsafe ref MR.Vector2f MR.ContourToDistanceMapParams.orgPoint
get

coordinates of origin area corner

◆ pixelSize

new unsafe ref MR.Vector2f MR.ContourToDistanceMapParams.pixelSize
get

pixel size

◆ resolution

new unsafe ref MR.Vector2i MR.ContourToDistanceMapParams.resolution
get

distance map size

◆ withSign

new unsafe ref bool MR.ContourToDistanceMapParams.withSign
get

allows calculate negative values of distance (inside closed and correctly oriented (CW) contours)


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