You are here: Start » AVL.NET » AVS.CreateImageFromSurface Method
AVS.CreateImageFromSurface Method
Creates a depth image from the Z-values of the input surface.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void CreateImageFromSurface ( AvlNet.Surface inSurface, AvlNet.PlainType inPixelType, AvlNet.ResampleSurfaceMode inResampleSurfaceMode, double? inXOffset, double? inYOffset, double? inPixelOffset, double? inPixelScale, float? inMissingPointValue, AvlNet.Image outImage, INullable<AvlNet.SurfaceFormat> outSurfaceFormat )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | AvlNet.Surface | Input surface. | ||
![]() | inPixelType | AvlNet.PlainType | Real | Output image pixel type. Default value: Real. | |
![]() | inResampleSurfaceMode | AvlNet.ResampleSurfaceMode | |||
![]() | inXOffset | double? | Offset for the X axis of the output image; if set to Nil, surface X offset is chosen. Default value: atl::NIL. | ||
![]() | inYOffset | double? | Offset for the Y axis of the output image; if set to Nil, surface Y offset is chosen. Default value: atl::NIL. | ||
![]() | inPixelOffset | double? | Offset that the input surface values have in the output image; if set to Nil, surface Z offset is chosen. Default value: atl::NIL. | ||
![]() | inPixelScale | 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 | float? | 0.0f | Value assigned to pixels where point is undefined. Default value: 0.0f. | |
![]() | outImage | AvlNet.Image | Input surface depth image. | ||
![]() | outSurfaceFormat | AvlNet.INullable<AvlNet.SurfaceFormat> | Format of the surface that the output image represents. Can be null to skip this parameter calculation. |
Function Overrides
- CreateImageFromSurface(Surface, PlainType, ResampleSurfaceMode, Image)
- CreateImageFromSurface(Surface, PlainType, ResampleSurfaceMode, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Single>, Image)