You are here: Start » FIL.NET » FIS.CreateImageFromSurface Method

FIS.CreateImageFromSurface Method

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void CreateImageFromSurface
(
	FilNet.Surface inSurface,
	FilNet.PlainType inPixelType,
	FilNet.ResampleSurfaceMode inResampleSurfaceMode,
	double? inXOffset,
	double? inYOffset,
	double? inPixelOffset,
	double? inPixelScale,
	float? inMissingPointValue,
	FilNet.Image outImage,
	INullable<FilNet.SurfaceFormat> outSurfaceFormat
)

Parameters

Name Type Range Default Description
inSurfaceFilNet.SurfaceInput surface.
inPixelTypeFilNet.PlainTypeRealOutput image pixel type. Default value: Real.
inResampleSurfaceModeFilNet.ResampleSurfaceMode
inXOffsetdouble?Offset for the X axis of the output image; if set to Nil, surface X offset is chosen. Default value: ftl::NIL.
inYOffsetdouble?Offset for the Y axis of the output image; if set to Nil, surface Y offset is chosen. Default value: ftl::NIL.
inPixelOffsetdouble?Offset that the input surface values have in the output image; if set to Nil, surface Z offset is chosen. Default value: ftl::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.
outImageFilNet.ImageInput surface depth image.
outSurfaceFormatFilNet.INullable<FilNet.SurfaceFormat>Format of the surface that the output image represents. Can be null to skip this parameter calculation.

Function Overrides

See also