MeshLib C# Docs
Loading...
Searching...
No Matches

Generated from class MR.ContoursDistanceMapOptions. This is the const half of the class. More...

Inheritance diagram for MR.Const_ContoursDistanceMapOptions:

Classes

struct  _Underlying

Public Types

enum  SignedDetectionMethod : int { ContourOrientation = 0 , WindingRule = 1 }
 method to calculate sign More...

Public Member Functions

virtual void Dispose ()
unsafe Const_ContoursDistanceMapOptions ()
 Constructs an empty (default-constructed) instance.
unsafe Const_ContoursDistanceMapOptions (MR.ContoursDistanceMapOptions.SignedDetectionMethod signMethod, MR.Const_ContoursDistanceMapOffset? offsetParameters, MR.Const_PixelBitSet? region, MR.Std.Vector_MRUndirectedEdgeId? outClosestEdges, float minDist, float maxDist)
 Constructs MR.ContoursDistanceMapOptions elementwise.
unsafe Const_ContoursDistanceMapOptions (MR.Const_ContoursDistanceMapOptions _other)
 Generated from constructor MR.ContoursDistanceMapOptions.ContoursDistanceMapOptions.
 Const_ContoursDistanceMapOptions (ContoursDistanceMapOptions _other)
 Generated from constructor MR.ContoursDistanceMapOptions.ContoursDistanceMapOptions.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe MR.ContoursDistanceMapOptions.SignedDetectionMethod__ref_storage_signMethod
unsafe MR.Const_ContoursDistanceMapOffset._Underlying ** __ptr_storage_offsetParameters
unsafe MR.Const_PixelBitSet._Underlying ** __ptr_storage_region
unsafe MR.Std.Vector_MRUndirectedEdgeId._Underlying ** __ptr_storage_outClosestEdges
unsafe float * __ref_storage_minDist
unsafe float * __ref_storage_maxDist

Properties

unsafe MR.ContoursDistanceMapOptions.SignedDetectionMethod signMethod [get]
unsafe MR.? Const_ContoursDistanceMapOffset offsetParameters [get]
 optional input offset for each edges of polyline, find more on ContoursDistanceMapOffset structure description
unsafe MR.? Const_PixelBitSet region [get]
 if pointer is valid, then only these pixels will be filled
unsafe MR.Std.? Vector_MRUndirectedEdgeId outClosestEdges [get]
 optional output vector of closest polyline edge per each pixel of distance map
unsafe float minDist [get]
 minimum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (lower values can be present but they are not precise)
unsafe float maxDist [get]
 maximum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (larger values cannot be present)

Detailed Description

Generated from class MR.ContoursDistanceMapOptions. This is the const half of the class.

Member Enumeration Documentation

◆ SignedDetectionMethod

method to calculate sign

Enumerator
ContourOrientation 

detect sign of distance based on closest contour's edge turn
(recommended for good contours with no self-intersections)

Note
that polyline topology should be consistently oriented
WindingRule 

detect sign of distance based on number of ray intersections with contours
(recommended for contours with self-intersections)

Constructor & Destructor Documentation

◆ Const_ContoursDistanceMapOptions() [1/4]

unsafe MR.Const_ContoursDistanceMapOptions.Const_ContoursDistanceMapOptions ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_ContoursDistanceMapOptions() [2/4]

unsafe MR.Const_ContoursDistanceMapOptions.Const_ContoursDistanceMapOptions ( MR.ContoursDistanceMapOptions.SignedDetectionMethod signMethod,
MR.Const_ContoursDistanceMapOffset? offsetParameters,
MR.Const_PixelBitSet? region,
MR.Std.Vector_MRUndirectedEdgeId? outClosestEdges,
float minDist,
float maxDist )
inline

Constructs MR.ContoursDistanceMapOptions elementwise.

◆ Const_ContoursDistanceMapOptions() [3/4]

unsafe MR.Const_ContoursDistanceMapOptions.Const_ContoursDistanceMapOptions ( MR.Const_ContoursDistanceMapOptions _other)
inline

◆ Const_ContoursDistanceMapOptions() [4/4]

MR.Const_ContoursDistanceMapOptions.Const_ContoursDistanceMapOptions ( ContoursDistanceMapOptions _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_ContoursDistanceMapOptions.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_ContoursDistanceMapOptions.Dispose ( bool disposing)
inlineprotectedvirtual

Member Data Documentation

◆ __ptr_storage_offsetParameters

unsafe MR.Const_ContoursDistanceMapOffset._Underlying** MR.Const_ContoursDistanceMapOptions.__ptr_storage_offsetParameters
protected

◆ __ptr_storage_outClosestEdges

unsafe MR.Std.Vector_MRUndirectedEdgeId._Underlying** MR.Const_ContoursDistanceMapOptions.__ptr_storage_outClosestEdges
protected

◆ __ptr_storage_region

unsafe MR.Const_PixelBitSet._Underlying** MR.Const_ContoursDistanceMapOptions.__ptr_storage_region
protected

◆ __ref_storage_maxDist

unsafe float* MR.Const_ContoursDistanceMapOptions.__ref_storage_maxDist
protected

◆ __ref_storage_minDist

unsafe float* MR.Const_ContoursDistanceMapOptions.__ref_storage_minDist
protected

◆ __ref_storage_signMethod

unsafe MR.ContoursDistanceMapOptions.SignedDetectionMethod* MR.Const_ContoursDistanceMapOptions.__ref_storage_signMethod
protected

Property Documentation

◆ maxDist

unsafe float MR.Const_ContoursDistanceMapOptions.maxDist
get

maximum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (larger values cannot be present)

◆ minDist

unsafe float MR.Const_ContoursDistanceMapOptions.minDist
get

minimum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (lower values can be present but they are not precise)

◆ offsetParameters

unsafe MR.? Const_ContoursDistanceMapOffset MR.Const_ContoursDistanceMapOptions.offsetParameters
get

optional input offset for each edges of polyline, find more on ContoursDistanceMapOffset structure description

◆ outClosestEdges

unsafe MR.Std.? Vector_MRUndirectedEdgeId MR.Const_ContoursDistanceMapOptions.outClosestEdges
get

optional output vector of closest polyline edge per each pixel of distance map

◆ region

unsafe MR.? Const_PixelBitSet MR.Const_ContoursDistanceMapOptions.region
get

if pointer is valid, then only these pixels will be filled

◆ signMethod

unsafe MR.ContoursDistanceMapOptions.SignedDetectionMethod MR.Const_ContoursDistanceMapOptions.signMethod
get

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