13 #ifndef mitkComputeContourSetNormalsFilter_h
14 #define mitkComputeContourSetNormalsFilter_h
21 #include <vtkCellArray.h>
22 #include <vtkCellData.h>
23 #include <vtkDoubleArray.h>
26 #include <vtkPolyData.h>
27 #include <vtkSmartPointer.h>
52 itkFactorylessNewMacro(Self);
100 mitk::Image::Pointer m_SegmentationBinaryImage;
103 unsigned int m_NegativeNormalCounter;
104 unsigned int m_PositiveNormalCounter;
106 bool m_UseProgressBar;
107 unsigned int m_ProgressStepSize;
#define MITKSURFACEINTERPOLATION_EXPORT
Filter that computes surface normals for contour edge points.
mitkClassMacro(ComputeContourSetNormalsFilter, SurfaceToSurfaceFilter)
void SetUseProgressBar(bool status)
Enable or disable the MITK progress bar during computation.
void SetMaxSpacing(double maxSpacing)
Set the maximum voxel spacing of the original image.
void SetProgressStepSize(unsigned int stepSize)
Set the step size by which the progress bar advances per contour.
void Reset()
Reset the filter by removing all inputs and outputs.
void GenerateOutputInformation() override
ComputeContourSetNormalsFilter()
void SetSegmentationBinaryImage(mitk::Image *segmentationImage)
Set the segmentation binary image for normal direction validation.
~ComputeContourSetNormalsFilter() override
mitk::Surface::Pointer GetNormalsAsSurface()
Return the computed normals as a mitk::Surface.
void GenerateData() override
Image class for storing multi-dimensional medical image data.
Superclass of all classes getting surfaces (instances of class Surface) as input and generating surfa...
Find image slices visible on a given plane.