13 #ifndef mitkLabelSetImageToSurfaceFilter_h
14 #define mitkLabelSetImageToSurfaceFilter_h
21 #include <vtkMatrix4x4.h>
55 using ProcessObject::SetInput;
63 itkSetMacro(GenerateAllLabels,
bool);
69 itkGetMacro(GenerateAllLabels,
bool);
70 itkBooleanMacro(GenerateAllLabels);
77 itkSetMacro(RequestedLabel,
int);
84 itkGetMacro(RequestedLabel,
int);
90 itkSetMacro(BackgroundLabel,
int);
96 itkGetMacro(BackgroundLabel,
int);
101 itkSetMacro(UseSmoothing,
int);
106 itkSetMacro(Sigma,
float);
116 template <
class T1,
class T2,
class T3>
119 T3 x = matrix[0][0] * in[0] + matrix[0][1] * in[1] + matrix[0][2] * in[2] + matrix[0][3];
120 T3 y = matrix[1][0] * in[0] + matrix[1][1] * in[1] + matrix[1][2] * in[2] + matrix[1][3];
121 T3 z = matrix[2][0] * in[0] + matrix[2][1] * in[1] + matrix[2][2] * in[2] + matrix[2][3];
129 template <
typename TPixel,
unsigned int VImageDimension>
130 void InternalProcessing(
const itk::Image<TPixel, VImageDimension> *input,
mitk::Surface *surface);
148 void GenerateData()
override;
150 void GenerateOutputInformation()
override;