public class ResultVisualizer extends Object
IqmDataBox object.| Modifier and Type | Field and Description |
|---|---|
private static org.apache.log4j.Logger |
logger |
| Constructor and Description |
|---|
ResultVisualizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
add2DResultListToTank(List<ArrayList<IqmDataBox>> items)
|
void |
add3DResultListToTank(List<ArrayList<ArrayList<IqmDataBox>>> items)
|
void |
addResultsToTank(List<IqmDataBox> items)
|
void |
display(Result result) |
void |
displayPreviewResults(Result result)
Displays the results of an operator or any other
AbstractProcessingTask generating an IResult. |
protected List<ArrayList<IqmDataBox>> |
mergeResults(List<ArrayList<ArrayList<IqmDataBox>>> allResults)
Merge all results to a list of 4
ArrayLists. |
public void display(Result result)
public void displayPreviewResults(Result result)
AbstractProcessingTask generating an IResult.result - NullPointerException - if no ExecutionProxy is runningpublic void addResultsToTank(List<IqmDataBox> items)
List of IqmDataBoxes to the
TankPanel.
Note: This method is called at the end of any
AbstractProcessingTask, when the new items are about to be added
to the Tank list.
items - the List of IqmDataBoxespublic void add2DResultListToTank(List<ArrayList<IqmDataBox>> items)
List of of ArrayLists of
IqmDataBoxes to the TankPanel.
Note: This method is called at the end of any
SerialProcessingTask, when the new items are about to be added to
the Tank list.
items - the List of ArrayLists of IqmDataBoxespublic void add3DResultListToTank(List<ArrayList<ArrayList<IqmDataBox>>> items)
List of ArrayLists of
ArrayLists of IqmDataBoxes to the TankPanel.
Note: This method is called at the end of any
ExecutorServiceProcessingTask, when the new items are about to be
added to the Tank list.
items - the List of ArrayLists of ArrayLists
of IqmDataBoxesprotected List<ArrayList<IqmDataBox>> mergeResults(List<ArrayList<ArrayList<IqmDataBox>>> allResults) throws Exception
ArrayLists.
The following list gives an overview of the indices and their content:
For example: an operator produces 3 images only and there is a stack of 2 sources to be processed. The list at index 1 will contain the following images in order:
images[0] = source0_image0 images[1] = source0_image1 images[2] = source0_image2 images[3] = source1_image0 images[4] = source1_image1 images[5] = source1_image2
allResults - all results from parallel processingException - if anything goes wrongCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.