Medical Imaging Interaction Toolkit  2018.4.99-fa2b431b
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 #ifndef __mitkLabelSetImageSurfaceStampFilter_h
13 #define __mitkLabelSetImageSurfaceStampFilter_h
14 
15 #include "MitkMultilabelExports.h"
16 
17 // MITK
18 #include "mitkImageToImageFilter.h"
19 #include <itkImage.h>
20 #include <mitkImage.h>
21 #include <mitkSurface.h>
22 
23 namespace mitk
24 {
26  {
27  public:
29  itkFactorylessNewMacro(Self);
30  itkCloneMacro(Self);
31 
32  itkGetConstMacro(Surface, Surface::Pointer);
33  itkSetMacro(Surface, Surface::Pointer);
34  itkGetConstMacro(ForceOverwrite, bool);
35  itkSetMacro(ForceOverwrite, bool);
36 
37  private:
50  void GenerateOutputInformation() override;
55  void GenerateData() override;
56 
60  template <typename TPixel, unsigned int VImageDimension>
61  void ItkImageProcessing(itk::Image<TPixel, VImageDimension> *itkImage, mitk::Image::Pointer resultImage);
62 
63  Surface::Pointer m_Surface;
64  bool m_ForceOverwrite;
65  };
66 } // END mitk namespace
67 #endif
Class for storing surfaces (vtkPolyData).
Definition: mitkSurface.h:28
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:40
Superclass of all classes having one or more Images as input and generating Images as output...