17 #ifndef _mitkLabelSetImageToSurfaceFilter_H_
18 #define _mitkLabelSetImageToSurfaceFilter_H_
25 #include <vtkMatrix4x4.h>
59 using ProcessObject::SetInput;
67 itkSetMacro(GenerateAllLabels,
bool);
73 itkGetMacro(GenerateAllLabels,
bool);
74 itkBooleanMacro(GenerateAllLabels);
81 itkSetMacro(RequestedLabel,
int);
88 itkGetMacro(RequestedLabel,
int);
94 itkSetMacro(BackgroundLabel,
int);
100 itkGetMacro(BackgroundLabel,
int);
105 itkSetMacro(UseSmoothing,
int);
110 itkSetMacro(Sigma,
float);
120 template <
class T1,
class T2,
class T3>
123 T3 x = matrix[0][0] * in[0] + matrix[0][1] * in[1] + matrix[0][2] * in[2] + matrix[0][3];
124 T3 y = matrix[1][0] * in[0] + matrix[1][1] * in[1] + matrix[1][2] * in[2] + matrix[1][3];
125 T3 z = matrix[2][0] * in[0] + matrix[2][1] * in[1] + matrix[2][2] * in[2] + matrix[2][3];
133 template <
typename TPixel,
unsigned int VImageDimension>
134 void InternalProcessing(
const itk::Image<TPixel, VImageDimension> *input,
mitk::Surface *surface);
152 virtual void GenerateData()
override;
154 virtual void GenerateOutputInformation()
override;
161 #endif //_mitkLabelSetImageToSurfaceFilter_H_
Superclass of all classes generating surfaces (instances of class Surface) as output.
LabelMapType m_AvailableLabels
Class for storing surfaces (vtkPolyData).
std::map< unsigned int, LabelType > IndexToLabelMapType
IndexToLabelMapType m_IndexToLabels
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
std::map< LabelType, unsigned long > LabelMapType
#define MITKMULTILABEL_EXPORT
void mitkVtkLinearTransformPoint(T1 matrix[4][4], T2 in[3], T3 out[3])
#define mitkClassMacro(className, SuperClassName)
mitk::Vector3D m_InputImageSpacing
Image class for storing images.
LabelSetImage::PixelType LabelType
mitk::Label::PixelType PixelType
mitk::Image::Pointer m_ResultImage
static bool in(Reader::Char c, Reader::Char c1, Reader::Char c2, Reader::Char c3, Reader::Char c4)