ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkLevelSetTovtkImageDataBase.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 
19 #ifndef itkLevelSetTovtkImageDataBase_h
20 #define itkLevelSetTovtkImageDataBase_h
21 
22 #include "itkProcessObject.h"
23 
24 class vtkImageData;
25 
26 namespace itk
27 {
31 template< typename TLevelSet >
32 class ITK_TEMPLATE_EXPORT LevelSetTovtkImageDataBase : public ProcessObject
33 {
34 public:
35  ITK_DISALLOW_COPY_AND_ASSIGN(LevelSetTovtkImageDataBase);
36 
41 
44 
45  using LevelSetType = TLevelSet;
47 
48  using Superclass::SetInput;
49  virtual void SetInput( LevelSetType* iLevelSet );
50 
51  virtual vtkImageData* GetOutput() const = 0;
52 
53  void Update() override;
54 
55 protected:
57  ~LevelSetTovtkImageDataBase() override;
58 
60 };
61 }
62 
63 #ifndef ITK_MANUAL_INSTANTIATION
64 #include "itkLevelSetTovtkImageDataBase.hxx"
65 #endif
66 #endif // itkLevelSetTovtkImageDataBase_h
Light weight base class for most itk classes.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
class ITK_FORWARD_EXPORT ProcessObject
Definition: itkDataObject.h:40
Base class for the &quot;dense&quot; representation of a level-set function on one image.