Operation: foreach object do

foreach object do

Author:

Volker Bäcker

Example

application    image

measurements

Description

The operation marks the start of a loop through a results table. In each iteration the centroid of the current row is accessible as currentPoint. If the operation is started without being in an application the current results table is shown in a different table initerface. The objects corresponding to the selected rows  are selected in the mask image using the do wand command.

Options

The operation has no options.

Parameter

The only parameter is the results table containing at least the centroids of the objects.

Results

currentPoint (Point2D): The current point in each iteration.
atEnd (Boolean): True when the loop has reached the end.
doOperation (ForachObjectDoOperation): The operation itself, needed as input for the ForeachObjectEndOperation.
index (Integer): The index of the current iteration (starting with 0).