ITK  4.8.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 >
39 {};
40 
41 // -----------------------------------------------------------------------------
47 template< typename TInputImage, typename TOutput, unsigned int VDimension >
49  TInputImage,
50  itk::WhitakerSparseLevelSetImage< TOutput, VDimension > > :
52  TInputImage,
53  itk::WhitakerSparseLevelSetImage< TOutput, VDimension > >
54 {
55 public:
57 
62 
64  itkNewMacro(Self);
65 
69 
72 
74 
75 protected:
78 
79  void AddLayers();
80 
81  std::string GetLevelSetRepresentationName() const;
82 
83 private:
85  void operator = ( const Self& );
86 };
87 
88 // -----------------------------------------------------------------------------
94 template< typename TInputImage, unsigned int VDimension >
96  TInputImage,
97  itk::ShiSparseLevelSetImage< VDimension > > :
99  TInputImage,
100  itk::ShiSparseLevelSetImage< VDimension > >
101 {
102 public:
104 
109 
111  itkNewMacro(Self);
112 
116 
119 
121 
122 protected:
125 
126  void AddLayers();
127 
128  std::string GetLevelSetRepresentationName() const;
129 
130 private:
132  void operator = ( const Self& );
133 };
134 
135 // -----------------------------------------------------------------------------
136 
142 template< typename TInputImage, unsigned int VDimension >
144  TInputImage,
145  itk::MalcolmSparseLevelSetImage< VDimension > > :
147  TInputImage,
148  itk::MalcolmSparseLevelSetImage< VDimension > >
149 {
150 public:
152 
157 
159  itkNewMacro(Self);
160 
164 
167 
169 
170 protected:
173 
174  void AddLayers();
175 
176  std::string GetLevelSetRepresentationName() const;
177 
178 private:
180  void operator = ( const Self& );
181 };
182 }
183 
184 #ifndef ITK_MANUAL_INSTANTIATION
185 #include "itkVTKVisualize2DSparseLevelSetLayers.hxx"
186 #endif
187 #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.