MeVisLab Toolbox Reference
|
The AlgorithmModuleExampleWithOutputImageOutputImageHandler handles the page calculation of an output image of AlgorithmModuleExampleWithOutputImage. More...
#include <mlAlgorithmModuleExampleWithOutputImageOutputImageHandler.h>
Public Member Functions | |
AlgorithmModuleExampleWithOutputImageOutputImageHandler () | |
~AlgorithmModuleExampleWithOutputImageOutputImageHandler () override final | |
SubImageBox | calculateInputSubImageBox (int inputIndex, const SubImageBox &outputSubImageBox) override final |
template<typename OUTTYPE > | |
void | typedCalculateOutputSubImage (TSubImage< OUTTYPE > &outputSubImage, const TSubImage< OUTTYPE > &inputSubImage, UserThreadData *) |
Public Member Functions inherited from ml::internal::TypedHandlerBase< BaseClass, Derived, NumberOfInputImages > | |
TypedHandlerBase () | |
void | calculateOutputSubImage (SubImage *outImg, SubImage *inImgs, UserThreadData *userThreadData) override |
Overrides the calculateOutputSubImage of CalculateOutputImageHandler. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ml::internal::TypedHandlerBase< BaseClass, Derived, NumberOfInputImages > | |
static void | setupKnownProperties (PagedImage *outImg) |
Setup the properties of the outImg and its input sub images according to the settings of OutputSubImage_Type, InputSubImage[0-9]_Type, ... and InputSubImage[0-9]_ReadOnly. | |
static bool | verifyProperties (PagedImage *outImg) |
Verify the properties of the outImg (its datatype and the datatypes of the input sub images compared with the static properties of the variable types and fixed datatypes). | |
The AlgorithmModuleExampleWithOutputImageOutputImageHandler handles the page calculation of an output image of AlgorithmModuleExampleWithOutputImage.
It should receive all required state from its caller in its constructor and should not keep a reference to the output image nor the module itself. This facilitates to implement a thread safe handler, which does not access non-thread safe shared data, and which can be easily reused by other modules or within other contexts.
Definition at line 18 of file mlAlgorithmModuleExampleWithOutputImageOutputImageHandler.h.
Template configuration of the output/input sub-images.
Enumerator | |
---|---|
OutputSubImage_Type | |
InputSubImage0_Type | |
InputSubImage0_ReadOnly |
Definition at line 25 of file mlAlgorithmModuleExampleWithOutputImageOutputImageHandler.h.
ml::AlgorithmModuleExampleWithOutputImageOutputImageHandler::AlgorithmModuleExampleWithOutputImageOutputImageHandler | ( | ) |
|
finaloverride |
|
finaloverride |
void ml::AlgorithmModuleExampleWithOutputImageOutputImageHandler::typedCalculateOutputSubImage | ( | TSubImage< OUTTYPE > & | outputSubImage, |
const TSubImage< OUTTYPE > & | inputSubImage, | ||
UserThreadData * | ) |