13 #ifndef mitkImageToContourModelFilter_h
14 #define mitkImageToContourModelFilter_h
41 itkFactorylessNewMacro(Self);
47 using Superclass::SetInput;
88 template <
typename TPixel,
unsigned int VImageDimension>
#define MITKCONTOURMODEL_EXPORT
Abstract base class describing the geometry of a data object.
Base class for all pipeline sources that produce mitk::ContourModel outputs.
Filter that extracts contour lines from a 2D image at a given iso-value.
mitkClassMacro(ImageToContourModelFilter, ContourModelSource)
virtual void SetInput(const InputType *input)
Set the input image from which contours are extracted.
virtual void SetInput(unsigned int idx, const InputType *input)
Set the input image at the given index.
void Itk2DContourExtraction(const itk::Image< TPixel, VImageDimension > *sliceImage)
ImageToContourModelFilter()
mitk::Image InputType
The input image type.
~ImageToContourModelFilter() override
const InputType * GetInput(void)
Get the first input image.
void SetContourValue(float contourValue)
Set the iso-value at which contours are extracted.
float GetContourValue()
Get the current iso-value used for contour extraction.
const InputType * GetInput(unsigned int idx)
Get the input image at the given index.
void GenerateData() override
Image class for storing multi-dimensional medical image data.
Find image slices visible on a given plane.