This is a custom implementation of the {@link AbstractMonitorableTask}. This basically iterates through a bunch of queries, processes them, and assigns color values to an int[]
that represents rgb values for each pixel of a dimensional stacking image. This class is big and unruly but before you move functionality out of here - the reason this is that way is that the user should be able to stop the processing occuring in here at any time. The easiest way to do that is to have one central boolean and check in all loops. The {@link AbstractMonitorableTask#isCanceled()} and{@link AbstractMonitorableTask#cancel()} methods check and set such a booleanand should be used in any loop in here.
|
|