Back to Adaptive Vision Library website

You are here: Start » Function Reference » Box » AvsFilter_MakeBox

AvsFilter_MakeBox


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

Header:AVL.h
Namespace:avs

Creates a box structure from individual fields.

Syntax

void avs::AvsFilter_MakeBox
(
	int inX,
	int inY,
	int inWidth,
	int inHeight,
	avl::Box& outBox
)

Parameters

Name Type Range Default Description
inX int Input x-coordinate
inY int Input y-coordinate
inWidth int 0 - Input width
inHeight int 0 - Input height
outBox Box& Output box

Hints

  • Consider using "Expand Structure Fields" command from the input port's context menu instead of this filter. This will make the program more concise and thus easier to understand in most cases.
  • "Make" filters should only be used when you need to create a structure explicitly and then use it in more than one further filters.