Medical Imaging Interaction Toolkit  2018.4.99-663e373e
Medical Imaging Interaction Toolkit
mitkContourModelToSurfaceFilter.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 
13 #ifndef _MITK_CONTOURMODEL_TO_Surface_FILTER_H_
14 #define _MITK_CONTOURMODEL_TO_Surface_FILTER_H_
15 
16 #include "mitkCommon.h"
18 
19 #include "mitkContourModel.h"
20 #include "mitkContourModelSource.h"
21 
22 #include <mitkSurfaceSource.h>
23 
24 namespace mitk
25 {
27  {
28  public:
31 
33  itkFactorylessNewMacro(Self);
34  itkCloneMacro(Self);
35 
36  typedef mitk::Surface OutputType;
37 
39 
40  void GenerateOutputInformation() override;
41 
43  using Superclass::SetInput;
44  virtual void SetInput(const InputType *input);
45  virtual void SetInput(unsigned int idx, const InputType *input);
46  const InputType *GetInput(void);
47  const InputType *GetInput(unsigned int idx);
48 
49  protected:
51  ~ContourModelToSurfaceFilter() override;
52 
53  void GenerateData() override;
54  };
55 }
56 #endif
Superclass of all classes generating surfaces (instances of class Surface) as output.
Class for storing surfaces (vtkPolyData).
Definition: mitkSurface.h:28
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
#define MITKCONTOURMODEL_EXPORT
Superclass of all classes generating some kind of mitk::BaseData.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40