You are here: Start » AVL.NET » Invoke.CreatePathFittingMap3D
Invoke.CreatePathFittingMap3D
Precomputes a data object that is required for fast path fitting on surfaces.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void CreatePathFittingMap3D ( Avl.SurfaceFormat inSurfaceFormat, Avl.PathFittingField inFittingField, Optional<Avl.CoordinateSystem2D> inFittingFieldAlignment, Optional<float> inScanStep, Optional<float> inSamplingStep, int inScanWidth, Avl.InterpolationMethod inSurfaceInterpolation, Avl.PathFittingMap outFittingMap, Diagnostic<List<Avl.Segment2D>> diagScanSegments, Diagnostic<List<Avl.Rectangle2D>> diagSamplingAreas )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurfaceFormat | Avl.SurfaceFormat | Dimensions, depth image pixel type, coordinate offsets and scales of a surface on which path fitting will be performed. | ||
![]() | inFittingField | Avl.PathFittingField | Defines a stripe in which scan segments will be created. | ||
![]() | inFittingFieldAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the fitting field to the position of the inspected object. Default value: atl::NIL. | ||
![]() | inScanStep | Atl.Optional<float> | <0.0f, INF> | Optional implicit conversion of the input path to an equidistant one. Default value: atl::NIL. | |
![]() | inSamplingStep | Atl.Optional<float> | Desired distance between consecutive sampling points on the scan segments; if Nil, the bigger of surface X and Y scales is chosen. Default value: atl::NIL. | ||
![]() | inScanWidth | int | <1, INF> | 5 | The width of each scan field in pixels of the surface depth image. Default value: 5. |
![]() | inSurfaceInterpolation | Avl.InterpolationMethod | avl::InterpolationMethod::NearestNeighbour | Interpolation method used for extraction of depth image pixel values. Default value: avl::InterpolationMethod::NearestNeighbour. | |
![]() | outFittingMap | Avl.PathFittingMap | Optimized data required for path fitting. | ||
![]() | diagScanSegments | Avl.Diagnostic<System.Collections.Generic.List<Avl.Segment2D>> | Segments along which the scans will be run. | ||
![]() | diagSamplingAreas | Avl.Diagnostic<System.Collections.Generic.List<Avl.Rectangle2D>> | Scan fields created for point detection. |