favSetRoi2D

AVVIEWER Subroutine: Sets the Region of Interest (ROI) within the current 2D array "slice".

Module: USE AVVIEWER

Syntax

favSetRoi2D (hv, col_start, row_start, num_cols, num_rows, status)

hv
A handle that references an instance of Array Viewer created by favStartViewer.

col_start
An input argument of type INTEGER(4). It specifies the lower array index of the current column dimension to be included in the ROI.

row_start
An input argument of type INTEGER(4). It specifies the lower array index of the current row dimension to be included in the ROI.

num_cols
An input argument of type INTEGER(4). It specifies the number of columns to be included in the ROI.

num_rows
An input argument of type INTEGER(4). It specifies the number of rows to be included in the ROI.

status
An output argument of type INTEGER(4). It returns a status code for the success of this call. The value 0 indicates success.

Remarks

This subroutine is similar to the favSetRoi subroutine, which also updates the current ROI. However, favSetRoi2D is more convenient to use in cases where the current 2D slice of the array is not being changed.