You are here: Start » FIL.NET » Invoke.CreateImageFromSurface_AnyScales
Creates a depth image from the Z-values of the input surface.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void CreateImageFromSurface_AnyScales ( Fil.Surface inSurface, Fil.PlainType inPixelType, Optional<double> inXOffset, Optional<double> inXScale, Optional<double> inYOffset, Optional<double> inYScale, 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. | |
![]() | 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. | ||
![]() | inXScale | Ftl.Optional<double> | <0.000001, INF> | Scale for the X axis of the output image; if set to Nil, surface X scale 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. | ||
![]() | inYScale | Ftl.Optional<double> | <0.000001, INF> | Scale for the Y axis of the output image; if set to Nil, surface Y scale 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. |