ITK  4.13.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:
39 
42 
43  typedef TLevelSet LevelSetType;
45 
46  using Superclass::SetInput;
47  virtual void SetInput( LevelSetType* iLevelSet );
48 
49  virtual vtkImageData* GetOutput() const = 0;
50 
51  void Update();
52 
53 protected:
55  virtual ~LevelSetTovtkImageDataBase();
56 
58 
59 private:
61  void operator = ( const Self& );
62 
63 };
64 }
65 
66 #ifndef ITK_MANUAL_INSTANTIATION
67 #include "itkLevelSetTovtkImageDataBase.hxx"
68 #endif
69 #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...
Base class for the &quot;dense&quot; representation of a level-set function on one image.