ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkVTKVisualize2DSparseLevelSetLayers.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 itkVTKVisualize2DSparseLevelSetLayers_h
20 #define itkVTKVisualize2DSparseLevelSetLayers_h
21 
23 
27 
28 namespace itk
29 {
37 template< typename TInputImage, typename TLevelSet >
38 class ITK_TEMPLATE_EXPORT VTKVisualize2DSparseLevelSetLayers
39 {};
40 
41 // -----------------------------------------------------------------------------
47 template< typename TInputImage, typename TOutput, unsigned int VDimension >
48 class ITK_TEMPLATE_EXPORT VTKVisualize2DSparseLevelSetLayers<
49  TInputImage,
50  itk::WhitakerSparseLevelSetImage< TOutput, VDimension > > :
52  TInputImage,
53  itk::WhitakerSparseLevelSetImage< TOutput, VDimension > >
54 {
55 public:
56  ITK_DISALLOW_COPY_AND_ASSIGN(VTKVisualize2DSparseLevelSetLayers);
57 
59 
64 
66  itkNewMacro(Self);
67 
71 
74 
76 
77 protected:
80 
81  void AddLayers() override;
82 
83  std::string GetLevelSetRepresentationName() const override;
84 };
85 
86 // -----------------------------------------------------------------------------
92 template< typename TInputImage, unsigned int VDimension >
93 class ITK_TEMPLATE_EXPORT VTKVisualize2DSparseLevelSetLayers<
94  TInputImage,
95  itk::ShiSparseLevelSetImage< VDimension > > :
97  TInputImage,
98  itk::ShiSparseLevelSetImage< VDimension > >
99 {
100 public:
101  ITK_DISALLOW_COPY_AND_ASSIGN(VTKVisualize2DSparseLevelSetLayers);
102 
104 
109 
111  itkNewMacro(Self);
112 
116 
119 
121 
122 protected:
125 
126  void AddLayers() override;
127 
128  std::string GetLevelSetRepresentationName() const override;
129 };
130 
131 // -----------------------------------------------------------------------------
132 
138 template< typename TInputImage, unsigned int VDimension >
139 class ITK_TEMPLATE_EXPORT VTKVisualize2DSparseLevelSetLayers<
140  TInputImage,
141  itk::MalcolmSparseLevelSetImage< VDimension > > :
143  TInputImage,
144  itk::MalcolmSparseLevelSetImage< VDimension > >
145 {
146 public:
147  ITK_DISALLOW_COPY_AND_ASSIGN(VTKVisualize2DSparseLevelSetLayers);
148 
150 
155 
157  itkNewMacro(Self);
158 
162 
165 
167 
168 protected:
171 
172  void AddLayers() override;
173 
174  std::string GetLevelSetRepresentationName() const override;
175 };
176 }
177 
178 #ifndef ITK_MANUAL_INSTANTIATION
179 #include "itkVTKVisualize2DSparseLevelSetLayers.hxx"
180 #endif
181 #endif
Light weight base class for most itk classes.
Derived class for the shi representation of level-set function.
Derived class for the Malcolm representation of level-set function.
Derived class for the sparse-field representation of level-set function.