17 #ifndef _mitkSurfaceToImageFilter_h__
18 #define _mitkSurfaceToImageFilter_h__
54 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
56 itkSetMacro(MakeOutputBinary,
bool);
57 itkGetMacro(MakeOutputBinary,
bool);
58 itkBooleanMacro(MakeOutputBinary);
60 itkSetMacro(UShortBinaryPixelType,
bool);
61 itkGetMacro(UShortBinaryPixelType,
bool);
62 itkBooleanMacro(UShortBinaryPixelType);
64 itkGetConstMacro(BackgroundValue,
float);
65 itkSetMacro(BackgroundValue,
float);
67 virtual
void GenerateInputRequestedRegion() override;
69 virtual
void GenerateOutputInformation() override;
71 virtual
void GenerateData() override;
75 using
itk::ProcessObject::SetInput;
76 virtual
void SetInput(const
mitk::
Surface *surface);
85 virtual ~SurfaceToImageFilter();
87 void Stencil3DImage(
int time = 0);
89 bool m_MakeOutputBinary;
90 bool m_UShortBinaryPixelType;
92 float m_BackgroundValue;
Superclass of all classes generating Images (instances of class Image) as output. ...
Class for storing surfaces (vtkPolyData).
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
Converts surface data to pixel data. Requires a surface and an image, which header information define...
#define mitkClassMacro(className, SuperClassName)
Image class for storing images.