ITK  4.4.0
Insight Segmentation and Registration Toolkit
itkLevelSetDomainPartitionImage.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 #ifndef __itkLevelSetDomainPartitionImage_h
19 #define __itkLevelSetDomainPartitionImage_h
20 
23 
24 namespace itk
25 {
31 template< class TImage >
33 {
34 public:
35 
40 
41  itkStaticConstMacro(ImageDimension, unsigned int, TImage::ImageDimension);
42 
44 
45  typedef TImage ImageType;
46  typedef typename ImageType::Pointer ImagePointer;
47  typedef typename ImageType::ConstPointer ImageConstPointer;
48  typedef typename ImageType::PixelType PixelType;
49  typedef typename ImageType::RegionType RegionType;
50  typedef typename ImageType::SizeType SizeType;
52  typedef typename ImageType::SpacingType SpacingType;
53  typedef typename ImageType::IndexType IndexType;
55  typedef typename ImageType::PointType PointType;
56 
58 
70 
73  itkSetConstObjectMacro( Image, ImageType );
74  itkGetConstObjectMacro(Image, ImageType );
76 
78  itkGetModifiableObjectMacro(ListDomain, ListImageType );
79 
80 protected:
83 
86  virtual void PopulateListDomain();
87 
90  void AllocateListDomain();
91 
92 private:
93  LevelSetDomainPartitionImage(const Self &); //purposely not implemented
94  void operator=(const Self &); //purposely not implemented
95 
98 
99 };
100 } //end namespace itk
101 
102 #ifndef ITK_MANUAL_INSTANTIATION
103 #include "itkLevelSetDomainPartitionImage.hxx"
104 #endif
105 
106 #endif
107