Back to Adaptive Vision Library website

You are here: Start » Function Reference » Surface Basics » AvsFilter_AccessSurface

AvsFilter_AccessSurface


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Returns individual fields of a surface.

Header:AVL.h

Syntax

void avs::AvsFilter_AccessSurface
(
	const avl::Surface& inSurface,
	int& outWidth,
	int& outHeight,
	avl::PlainType::Type& outPointType,
	int& outPointByteSize,
	int& outPitch,
	double& outXOffset,
	double& outXScale,
	double& outYOffset,
	double& outYScale,
	double& outZOffset,
	double& outZScale
)

Parameters

Name Type Default Description
inSurface const Surface& Input surface
outWidth int& Surface width
outHeight int& Surface height
outPointType PlainType::Type& Point Z coordinate type
outPointByteSize int& Point Z coordinate size in bytes
outPitch int& Length of surface point line with padding
outXOffset double& Offset in X axis
outXScale double& Scale in X axis
outYOffset double& Offset in Y axis
outYScale double& Scale in Y axis
outZOffset double& Offset in Z axis
outZScale double& Scale in Z axis