13 #ifndef _mitk_labeled_image_to_surface_filter__h_ 14 #define _mitk_labeled_image_to_surface_filter__h_ 19 #include <vtkImageData.h> 39 itkFactorylessNewMacro(
Self);
54 itkSetMacro(GenerateAllLabels,
bool);
60 itkGetMacro(GenerateAllLabels,
bool);
62 itkBooleanMacro(GenerateAllLabels);
69 itkSetMacro(
Label, LabelType);
76 itkGetMacro(
Label, LabelType);
82 itkSetMacro(BackgroundLabel, LabelType);
88 itkGetMacro(BackgroundLabel, LabelType);
94 itkSetMacro(GaussianStandardDeviation,
double);
100 itkGetMacro(GaussianStandardDeviation,
double);
110 LabelType GetLabelForNthOutput(
const unsigned int &i);
143 void GenerateData()
override;
145 void GenerateOutputInformation()
override;
147 virtual void CreateSurface(
int time, vtkImageData *vtkimage,
mitk::Surface *surface, LabelType label);
149 virtual LabelMapType GetAvailableLabels();
156 virtual void CreateSurface(
int time, vtkImageData *vtkimage,
mitk::Surface *surface,
const ScalarType threshold);
Class for storing surfaces (vtkPolyData).
double m_GaussianStandardDeviation
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
A data structure describing a label.
#define MITKALGORITHMSEXT_EXPORT
IdxToLabelMapType m_IdxToLabels
LabelType m_BackgroundLabel
#define mitkClassMacro(className, SuperClassName)
Converts pixel data to surface data by using a threshold The mitkImageToSurfaceFilter is used to crea...
LabelMapType m_AvailableLabels
std::map< LabelType, unsigned long > LabelMapType
std::map< unsigned int, LabelType > IdxToLabelMapType