20 #include "itkFlatStructuringElement.h"
45 NumFlatStructuringElements
47 } FlatStructureElementTypes;
50 static const char *
const FlatStructuringElementTypeNames[NumFlatStructuringElements];
85 itk::FlatStructuringElement<1> _dim1FlatStructuringElement;
86 itk::FlatStructuringElement<2> _dim2FlatStructuringElement;
87 itk::FlatStructuringElement<3> _dim3FlatStructuringElement;
88 itk::FlatStructuringElement<4> _dim4FlatStructuringElement;
89 itk::FlatStructuringElement<5> _dim5FlatStructuringElement;
90 itk::FlatStructuringElement<6> _dim6FlatStructuringElement;
101 template<>
inline const itk::FlatStructuringElement<1> &ITKFlatStructElement::getFlatStructuringElement<1>()
const {
return _dim1FlatStructuringElement; };
102 template<>
inline const itk::FlatStructuringElement<2> &ITKFlatStructElement::getFlatStructuringElement<2>()
const {
return _dim2FlatStructuringElement; };
103 template<>
inline const itk::FlatStructuringElement<3> &ITKFlatStructElement::getFlatStructuringElement<3>()
const {
return _dim3FlatStructuringElement; };
104 template<>
inline const itk::FlatStructuringElement<4> &ITKFlatStructElement::getFlatStructuringElement<4>()
const {
return _dim4FlatStructuringElement; };
105 template<>
inline const itk::FlatStructuringElement<5> &ITKFlatStructElement::getFlatStructuringElement<5>()
const {
return _dim5FlatStructuringElement; };
106 template<>
inline const itk::FlatStructuringElement<6> &ITKFlatStructElement::getFlatStructuringElement<6>()
const {
return _dim6FlatStructuringElement; };
Field to encapsulate a pointer to an ML base object.
Field to encapsulate a boolean value.
Field to encapsulate an enumerated value.
Base class for all fields used in the ML.
ML class to wrap the itkFlatStructElement class in an ML module.
const itk::FlatStructuringElement< DIM > & getFlatStructuringElement() const
Returns the structuring elements for the corresponding dimension, the implementation is outside the c...
@ Polygon
Creates a Polygon FlatStruturingElement.
@ Annulus
Creates a Annulus FlatStruturingElement.
@ Ball
Creates a Ball FlatStruturingElement.
@ Cross
Creates a Cross FlatStruturingElement.
void handleNotification(Field *field) override
Called on each change of fields in the field container to notify the module about changes.
void activateAttachments() override
Called after reload or clones of field values without field notifications.
ITKFlatStructElement()
Constructor.
Field to encapsulate an ML vector ImageVector with six integer components.
Field to encapsulate an integer value.
Base class for an image processing module of the ML.
#define ML_MODULE_CLASS_HEADER(className)
Similar to ML_CLASS_HEADER for the usage of derived classes from Module.
#define MLITK_SUPPORT_EXPORT
When included by other libraries MLITK_SUPPORT_EXPORT is compiled as import symbol.