13 #ifndef mitkContourModelSetToImageFilter_h
14 #define mitkContourModelSetToImageFilter_h
21 class ContourModelSet;
32 itkFactorylessNewMacro(
Self);
37 itkSetMacro(PaintingPixelValue,
int);
38 itkSetMacro(TimeStep,
unsigned int);
40 itkGetMacro(MakeOutputBinary,
bool);
41 itkGetMacro(MakeOutputLabelPixelType,
bool);
42 itkGetMacro(PaintingPixelValue,
int);
44 itkBooleanMacro(MakeOutputBinary);
45 itkBooleanMacro(MakeOutputLabelPixelType);
53 itk::DataObject::Pointer
MakeOutput(DataObjectPointerArraySizeType idx)
override;
71 using itk::ProcessObject::SetInput;
#define MITKSEGMENTATION_EXPORT
itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
Fills a given mitk::ContourModelSet into a given mitk::Image.
mitkClassMacro(ContourModelSetToImageFilter, ImageSource)
~ContourModelSetToImageFilter() override
const mitk::Image * m_ReferenceImage
void GenerateOutputInformation() override
const mitk::ContourModelSet * GetInput(void)
void SetImage(const mitk::Image *refImage)
Set the image which will be used to initialize the output of this filter.
itk::DataObject::Pointer MakeOutput(DataObjectPointerArraySizeType idx) override
void GenerateData() override
void InitializeOutputEmpty()
Initializes the volume of the output image with zeros.
void GenerateInputRequestedRegion() override
virtual void SetMakeOutputBinary(bool makeOutputBinary)
virtual void SetMakeOutputLabelPixelType(bool makeOutputLabelPixelType)
virtual void SetInput(const mitk::ContourModelSet *input)
const mitk::Image * GetImage(void)
itk::DataObject::Pointer MakeOutput(const DataObjectIdentifierType &name) override
bool m_MakeOutputLabelPixelType
ContourModelSetToImageFilter()
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
Superclass of all classes generating Images (instances of class Image) as output.
Image class for storing images.
Find image slices visible on a given plane.
MITKSEGMENTATION_EXPORT Image::Pointer ConvertContourModelSetToLabelMask(const mitk::Image *refImage, mitk::ContourModelSet *contourSet)
MITKSEGMENTATION_EXPORT Image::Pointer ConvertContourModelToLabelMask(const mitk::Image *refImage, mitk::ContourModel *contourModel)