Back to FabImage Library website
You are here: Start » Function Reference » Image Basics » CreateImageFromSurface

CreateImageFromSurface
Header: | FIL.h |
---|---|
Namespace: | fil |
Creates an image of z-values of the given points.
Syntax
C++
C#
void fil::CreateImageFromSurface ( const fil::Surface& inSurface, fil::PlainType::Type inPixelType, ftl::Optional<double> inPixelOffset, ftl::Optional<double> inPixelScale, ftl::Optional<float> inMissingPointValue, fil::Image& outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inSurface | const Surface& | Input surface | ||
![]() |
inPixelType | PlainType::Type | Real | Output image pixel type | |
![]() |
inPixelOffset | Optional<double> | NIL | Offset that the input surface values have in the output image; if set to Nil, surface zOffset is chosen | |
![]() |
inPixelScale | Optional<double> | 0.0 - ![]() |
1.0D | Scale that the input surface values have in the output image; if set to Nil, surface zScale is chosen |
![]() |
inMissingPointValue | Optional<float> | 0.0f | Value assigned to pixels where point is undefined | |
![]() |
outImage | Image& | Input surface depth image |