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

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.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

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)
 
- Properties inherited from MR.Misc.Object< Const_ContoursDistanceMapOptions >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_ContoursDistanceMapOptions >
bool _IsOwningVal
 

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)


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