MeVisLab Toolbox Reference
|
A ProcessAllPages handler that offers ordered tile delivery on any number of input images. More...
#include <mlProcessAllPagesHandler.h>
Public Member Functions | |
OrderedProcessAllPagesHandler () | |
void | calculateOutputImageProperties (PagedImage *image) override |
Reimplement this method to specify the virtual output image's data type/size/page extent. More... | |
virtual MLErrorCode | processTiles (SubImage *images)=0 |
Reimplement this method to perform the processing, return ML_RESULT_OK if processing should go on; otherwise, return the appropriate error code. More... | |
SubImageBox | calculateInputSubImageBox (int, const SubImageBox &outputSubImageBox) override |
Reimplement this method to specify the input image box for the input images. More... | |
void | calculateOutputSubImage (SubImage *outputSubImage, SubImage *inputSubImages, UserThreadData *) override |
Internal method, do not reimplement! More... | |
Public Member Functions inherited from ml::ProcessAllPagesHandler | |
virtual bool | wantsProgressUpdates () |
Returns whether the handler wants to receive progress updates via updateProgress(). More... | |
virtual void | updateProgress (double) |
Called in regular intervals if wantsProgressUpdates() == true. More... | |
void | install (PagedImage *outImg) |
Installs the handler on the PagedImage, which is typically called by the ML Host; do not call it yourself! More... | |
virtual const char * | getName () |
Returns the name of the handler. More... | |
Public Member Functions inherited from ml::CalculateOutputImageHandler | |
virtual | ~CalculateOutputImageHandler () |
Destructor. More... | |
virtual UserThreadData * | createUserThreadData () |
Creates the thread local user data for a thread. More... | |
Protected Attributes | |
PagedImage * | _image |
A ProcessAllPages handler that offers ordered tile delivery on any number of input images.
Definition at line 109 of file mlProcessAllPagesHandler.h.
ml::OrderedProcessAllPagesHandler::OrderedProcessAllPagesHandler | ( | ) |
|
overridevirtual |
Reimplement this method to specify the input image box for the input images.
By default, it returns outputSubImageBox for all inputs.
Reimplemented from ml::CalculateOutputImageHandler.
Reimplemented in ml::ClusterHandler< CLUSTERVOXELTYPE, DerivedAlgorithm >.
|
overridevirtual |
Reimplement this method to specify the virtual output image's data type/size/page extent.
Make sure to call the base class method at the beginning of your method.
Reimplemented from ml::ProcessAllPagesHandler.
Reimplemented in ml::ClusterHandler< CLUSTERVOXELTYPE, DerivedAlgorithm >.
|
overridevirtual |
Internal method, do not reimplement!
Implements ml::CalculateOutputImageHandler.
|
pure virtual |
Reimplement this method to perform the processing, return ML_RESULT_OK if processing should go on; otherwise, return the appropriate error code.
Implemented in ml::ClusterHandler< CLUSTERVOXELTYPE, DerivedAlgorithm >.
|
protected |
Definition at line 131 of file mlProcessAllPagesHandler.h.