Back to FabImage Library website

You are here: Start » Function Reference » Surface Features » SurfaceVolume

SurfaceVolume


Header:FIL.h
Namespace:fil

Computes the volume of given surface.

Syntax

C++
C#
 
void fil::SurfaceVolume
(
	const fil::Surface& inSurface,
	ftl::Optional<const fil::Region&> inRoi,
	const float inZ,
	float& outVolume
)

Parameters

Name Type Default Description
inSurface const Surface& Input surface
inRoi Optional<const Region&> NIL Range of pixels to be processed
inZ const float
outVolume float& Volume of the input surface