You are here: Start » FIL.NET » Invoke.CreateImageFromSurface
Creates a depth image from the Z-values of the input surface.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void CreateImageFromSurface ( Fil.Surface inSurface, Fil.PlainType inPixelType, Fil.ResampleSurfaceMode inResampleSurfaceMode, Optional<double> inXOffset, Optional<double> inYOffset, Optional<double> inPixelOffset, Optional<double> inPixelScale, Optional<float> inMissingPointValue, Fil.Image outImage, Optional<Fil.SurfaceFormat> outSurfaceFormat )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | Fil.Surface | Input surface. | ||
![]() | inPixelType | Fil.PlainType | Real | Output image pixel type. Default value: Real. | |
![]() | inResampleSurfaceMode | Fil.ResampleSurfaceMode | |||
![]() | inXOffset | Ftl.Optional<double> | Offset for the X axis of the output image; if set to Nil, surface X offset is chosen. Default value: ftl::NIL. | ||
![]() | inYOffset | Ftl.Optional<double> | Offset for the Y axis of the output image; if set to Nil, surface Y offset is chosen. Default value: ftl::NIL. | ||
![]() | inPixelOffset | Ftl.Optional<double> | Offset that the input surface values have in the output image; if set to Nil, surface Z offset is chosen. Default value: ftl::NIL. | ||
![]() | inPixelScale | Ftl.Optional<double> | <0.0, INF> | 1.0D | Scale that the input surface values have in the output image; if set to Nil, surface Z scale is chosen. Default value: 1.0D. |
![]() | inMissingPointValue | Ftl.Optional<float> | 0.0f | Value assigned to pixels where point is undefined. Default value: 0.0f. | |
![]() | outImage | Fil.Image | Input surface depth image. | ||
![]() | outSurfaceFormat | Ftl.Optional<Fil.SurfaceFormat> | Format of the surface that the output image represents. |