#include <MRDistanceMap.h>
◆ 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)
|
◆ ContourOrientation
◆ maxDist
| float MR::ContoursDistanceMapOptions::maxDist { FLT_MAX } |
maximum value (or absolute value if offsetParameters == nullptr) in a pixel of distance map (larger values cannot be present)
◆ minDist
| float MR::ContoursDistanceMapOptions::minDist { 0 } |
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
◆ outClosestEdges
| std::vector<UndirectedEdgeId>* MR::ContoursDistanceMapOptions::outClosestEdges { nullptr } |
optional output vector of closest polyline edge per each pixel of distance map
◆ region
| const PixelBitSet* MR::ContoursDistanceMapOptions::region { nullptr } |
if pointer is valid, then only these pixels will be filled
The documentation for this struct was generated from the following file: