You are here: Start » AVL.NET » Function Reference » Image » Image Basics » AVL.CreateImageFromSurface_AnyScales

AVL.CreateImageFromSurface_AnyScales

Creates a depth image from the Z-values of the input surface.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateImageFromSurface_AnyScales
(
	AvlNet.Surface inSurface,
	AvlNet.PlainType inPixelType,
	double? inXOffset,
	double? inXScale,
	double? inYOffset,
	double? inYScale,
	double? inPixelOffset,
	double? inPixelScale,
	float? inMissingPointValue,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inPixelTypeAvlNet.PlainTypeRealOutput image pixel type. Default value: Real.
inXOffsetdouble?Offset for the X axis of the output image; if set to Nil, surface X offset is chosen. Default value: atl::NIL.
inXScaledouble?<0.000001, INF>Scale for the X axis of the output image; if set to Nil, surface X scale is chosen. Default value: atl::NIL.
inYOffsetdouble?Offset for the Y axis of the output image; if set to Nil, surface Y offset is chosen. Default value: atl::NIL.
inYScaledouble?<0.000001, INF>Scale for the Y axis of the output image; if set to Nil, surface Y scale is chosen. Default value: atl::NIL.
inPixelOffsetdouble?Offset that the input surface values have in the output image; if set to Nil, surface Z offset is chosen. Default value: atl::NIL.
inPixelScaledouble?<0.0, INF>1.0DScale that the input surface values have in the output image; if set to Nil, surface Z scale is chosen. Default value: 1.0D.
inMissingPointValuefloat?0.0fValue assigned to pixels where point is undefined. Default value: 0.0f.
outImageAvlNet.ImageInput surface depth image.

Function Overrides

See also