You are here: Start » AVL.NET » AVS.CreatePathFittingMap3D Method

AVS.CreatePathFittingMap3D Method

Precomputes a data object that is required for fast path fitting on surfaces.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CreatePathFittingMap3D
(
	AvlNet.SurfaceFormat inSurfaceFormat,
	AvlNet.PathFittingField inFittingField,
	AvlNet.CoordinateSystem2D? inFittingFieldAlignment,
	float? inScanStep,
	float? inSamplingStep,
	int inScanWidth,
	AvlNet.InterpolationMethod inSurfaceInterpolation,
	AvlNet.PathFittingMap outFittingMap
)

Parameters

Name Type Range Default Description
inSurfaceFormatAvlNet.SurfaceFormatDimensions, depth image pixel type, coordinate offsets and scales of a surface on which path fitting will be performed.
inFittingFieldAvlNet.PathFittingFieldDefines a stripe in which scan segments will be created.
inFittingFieldAlignmentAvlNet.CoordinateSystem2D?Adjusts the fitting field to the position of the inspected object. Default value: atl::NIL.
inScanStepfloat?<0.0f, INF>Optional implicit conversion of the input path to an equidistant one. Default value: atl::NIL.
inSamplingStepfloat?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.
inScanWidthint<1, INF>5The width of each scan field in pixels of the surface depth image. Default value: 5.
inSurfaceInterpolationAvlNet.InterpolationMethodavl::InterpolationMethod::NearestNeighbourInterpolation method used for extraction of depth image pixel values. Default value: avl::InterpolationMethod::NearestNeighbour.
outFittingMapAvlNet.PathFittingMapOptimized data required for path fitting.

Function Overrides

See also