MeVisLab Toolbox Reference
mlAlgorithmModuleExampleWithOutputImage.h
Go to the documentation of this file.
1
// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2
// **InsertLicense** code
3
//----------------------------------------------------------------------------------
4
5
#pragma once
6
7
#include "
librarySystem.h
"
8
#include <
mlAlgorithmModule.h
>
9
10
ML_START_NAMESPACE
11
13
class
ML_ALGORITHM_MODULE_EXAMPLES_EXPORT
AlgorithmModuleExampleWithOutputImage
final
:
public
AlgorithmModule
{
14
15
public
:
16
AlgorithmModuleExampleWithOutputImage
();
17
~AlgorithmModuleExampleWithOutputImage
()
override
final
;
18
19
CalculateOutputImageHandler
* createCalculateOutputImageHandler(
PagedImage
*
outputImage
)
override
final
;
20
21
protected
:
22
void
validateInput()
override
final
;
23
void
update()
override
final
;
24
void
clear()
override
final
;
25
void
setOutputImageProperties(
int
outputIndex
,
PagedImage
*
outputImage
)
override
final
;
26
27
private
:
28
void
validateInputImage();
29
void
notifyOutputImageFieldAttachments();
30
void
invalidateOutputImage();
31
32
ML_MODULE_CLASS_HEADER
(
AlgorithmModuleExampleWithOutputImage
)
33
};
34
35
ML_END_NAMESPACE
ml::AlgorithmModuleExampleWithOutputImage
Example to demonstrate the development of an ML module with an output image based on AlgorithmModule.
Definition
mlAlgorithmModuleExampleWithOutputImage.h:13
ml::AlgorithmModuleExampleWithOutputImage::~AlgorithmModuleExampleWithOutputImage
~AlgorithmModuleExampleWithOutputImage() override final
ml::AlgorithmModuleExampleWithOutputImage::AlgorithmModuleExampleWithOutputImage
AlgorithmModuleExampleWithOutputImage()
ml::AlgorithmModule
ML-Module base class to simplify development of modules encapsulating an algorithm with dedicated inp...
Definition
mlAlgorithmModule.h:30
ml::CalculateOutputImageHandler
Base class for the calculation of pages of an output image (PagedImage) of a Module.
Definition
mlModuleInterfaces.h:50
ml::PagedImage
Class which represents an image, which manages properties of an image and image data which is located...
Definition
mlPagedImage.h:66
ML_MODULE_CLASS_HEADER
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
Definition
mlRuntimeSubClass.h:235
librarySystem.h
ML_ALGORITHM_MODULE_EXAMPLES_EXPORT
#define ML_ALGORITHM_MODULE_EXAMPLES_EXPORT
Definition
librarySystem.h:14
mlAlgorithmModule.h
mlrange_cast
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition
mlRangeCasts.h:332
FMEstable
ReleaseMeVis
Projects
AlgorithmModule
MLAlgorithmModuleExamples
Sources
mlAlgorithmModuleExampleWithOutputImage.h
Generated by
1.10.0