13 #ifndef mitkSurfaceStampImageFilter_h
14 #define mitkSurfaceStampImageFilter_h
21 #include <itkQuadEdgeMesh.h>
52 itkSetMacro(MakeOutputBinary,
bool);
53 itkGetMacro(MakeOutputBinary,
bool);
54 itkBooleanMacro(MakeOutputBinary);
56 itkSetMacro(OverwriteBackground,
bool);
57 itkGetMacro(OverwriteBackground,
bool);
58 itkBooleanMacro(OverwriteBackground);
60 itkGetConstMacro(BackgroundValue,
float);
61 itkSetMacro(BackgroundValue,
float);
63 itkGetConstMacro(ForegroundValue,
float);
64 itkSetMacro(ForegroundValue,
float);
91 template <
typename TPixel>
#define MITKSEGMENTATION_EXPORT
Superclass of all classes having one or more Images as input and generating Images as output.
Converts surface data to pixel data by stamping a surface into a volume image.
void SurfaceStamp(int time=0)
itk::QuadEdgeMesh< double, 3 > MeshType
Mesh type used internally for surface processing.
SurfaceStampImageFilter()
void SurfaceStampBinaryOutputProcessing(MeshType *mesh)
bool m_OverwriteBackground
void GenerateData() override
Executes the surface stamping filter.
void GenerateOutputInformation() override
Generates the output information (image properties).
~SurfaceStampImageFilter() override
void SurfaceStampProcessing(itk::Image< TPixel, 3 > *input, MeshType *mesh)
void GenerateInputRequestedRegion() override
Generates the input requested region for the filter pipeline.
mitk::Surface::Pointer m_Surface
void SetSurface(mitk::Surface *surface)
Sets the surface to be stamped onto the image.
mitkClassMacro(SurfaceStampImageFilter, ImageToImageFilter)
Data class for storing polygonal surfaces (vtkPolyData).
Find image slices visible on a given plane.