MeVisLabToolboxReference
ml::ITKFlatStructElement Class Reference

ML class to wrap the itkFlatStructElement class in an ML module. More...

#include <mlITKFlatStructElement.h>

Inheritance diagram for ml::ITKFlatStructElement:
ml::Module ml::FieldContainer ml::Base

List of all members.

Public Types

enum  {
  Box = 0, Ball, Cross, Annulus,
  Polygon, NumFlatStructuringElements
}
 Defines the types of provided structuring element types. More...

Public Member Functions

 ITKFlatStructElement ()
 Constructor.
template<size_t DIM>
const
itk::FlatStructuringElement
< DIM > & 
getFlatStructuringElement () const
 Returns the structuring elements for the corresponding dimension, the implementation is outside the class at end of header.

Public Attributes

enum
ml::ITKFlatStructElement:: { ... }  
FlatStructureElementTypes

Static Public Attributes

static const char *const FlatStructuringElementTypeNames [NumFlatStructuringElements]
 Enumerations strings corresponding to FlatStructureElementTypes.

Protected Member Functions

virtual void activateAttachments ()
 Called after reload or clones of field values without field notifications.
virtual void handleNotification (Field *field)
 Called on each change of fields in the field container to notify the module about changes.

Detailed Description

ML class to wrap the itkFlatStructElement class in an ML module.

Definition at line 28 of file mlITKFlatStructElement.h.


Member Enumeration Documentation

anonymous enum

Defines the types of provided structuring element types.

Enumerator:
Box 

Creates a Box FlatStruturingElement.

Ball 

Creates a Ball FlatStruturingElement.

Cross 

Creates a Cross FlatStruturingElement.

Annulus 

Creates a Annulus FlatStruturingElement.

Polygon 

Creates a Polygon FlatStruturingElement.

NumFlatStructuringElements 

Not a valid mode; it defines the number of availabale FlatStruturingElement,.

Definition at line 36 of file mlITKFlatStructElement.h.


Constructor & Destructor Documentation

ml::ITKFlatStructElement::ITKFlatStructElement ( )

Constructor.


Member Function Documentation

virtual void ml::ITKFlatStructElement::activateAttachments ( ) [protected, virtual]

Called after reload or clones of field values without field notifications.

Reimplemented from ml::FieldContainer.

const itk::FlatStructuringElement< 6 > & ml::ITKFlatStructElement::getFlatStructuringElement< 6 > ( ) const [inline]

Returns the structuring elements for the corresponding dimension, the implementation is outside the class at end of header.

Returns the structuring elements for the corresponding dimension. Note that this must be implemented outside the class declaration.

Definition at line 99 of file mlITKFlatStructElement.h.

virtual void ml::ITKFlatStructElement::handleNotification ( Field field) [protected, virtual]

Called on each change of fields in the field container to notify the module about changes.

Reimplemented from ml::Module.


Member Data Documentation

const char* const ml::ITKFlatStructElement::FlatStructuringElementTypeNames[NumFlatStructuringElements] [static]

Enumerations strings corresponding to FlatStructureElementTypes.

Definition at line 48 of file mlITKFlatStructElement.h.


The documentation for this class was generated from the following file: