Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkLabelSetImageSurfaceStampFilter.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #ifndef __mitkLabelSetImageSurfaceStampFilter_h
17 #define __mitkLabelSetImageSurfaceStampFilter_h
18 
19 #include "MitkMultilabelExports.h"
20 
21 // MITK
22 #include "mitkImageToImageFilter.h"
23 #include <itkImage.h>
24 #include <mitkImage.h>
25 #include <mitkSurface.h>
26 
27 namespace mitk
28 {
30  {
31  public:
33  itkFactorylessNewMacro(Self);
34  itkCloneMacro(Self);
35 
36  itkGetConstMacro(Surface, Surface::Pointer);
37  itkSetMacro(Surface, Surface::Pointer);
38  itkGetConstMacro(ForceOverwrite, bool);
39  itkSetMacro(ForceOverwrite, bool);
40 
41  private:
54  virtual void GenerateOutputInformation() override;
59  virtual void GenerateData() override;
60 
64  template <typename TPixel, unsigned int VImageDimension>
65  void ItkImageProcessing(itk::Image<TPixel, VImageDimension> *itkImage, mitk::Image::Pointer resultImage);
66 
67  Surface::Pointer m_Surface;
68  bool m_ForceOverwrite;
69  };
70 } // END mitk namespace
71 #endif
Class for storing surfaces (vtkPolyData).
Definition: mitkSurface.h:32
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKMULTILABEL_EXPORT
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Superclass of all classes having one or more Images as input and generating Images as output...