ITK
4.4.0
Insight Segmentation and Registration Toolkit
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
ITK
Modules
Segmentation
LevelSetsv4
include
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
21
#include "
itkLevelSetDomainPartitionBase.h
"
22
#include "
itkImageRegionIteratorWithIndex.h
"
23
24
namespace
itk
25
{
31
template
<
class
TImage >
32
class
LevelSetDomainPartitionImage
:
public
LevelSetDomainPartitionBase
< TImage >
33
{
34
public
:
35
36
typedef
LevelSetDomainPartitionImage
Self
;
37
typedef
LevelSetDomainPartitionBase< TImage >
Superclass
;
38
typedef
SmartPointer< Self >
Pointer
;
39
typedef
SmartPointer< const Self >
ConstPointer
;
40
41
itkStaticConstMacro(
ImageDimension
,
unsigned
int
, TImage::ImageDimension);
42
43
itkTypeMacro(
LevelSetDomainPartitionImage
,
LevelSetDomainPartitionBase
);
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
;
51
typedef
typename
SizeType::SizeValueType
SizeValueType
;
52
typedef
typename
ImageType::SpacingType
SpacingType
;
53
typedef
typename
ImageType::IndexType
IndexType
;
54
typedef
typename
IndexType::IndexValueType
IndexValueType
;
55
typedef
typename
ImageType::PointType
PointType
;
56
57
typedef
typename
Superclass::IdentifierListType
IdentifierListType
;
58
59
typedef
Image< IdentifierListType, ImageDimension >
ListImageType
;
60
typedef
typename
ListImageType::Pointer
ListImagePointer
;
61
typedef
typename
ListImageType::ConstPointer
ListImageConstPointer
;
62
typedef
typename
ListImageType::RegionType
ListRegionType
;
63
typedef
typename
ListImageType::SizeType
ListSizeType
;
64
typedef
typename
ListSizeType::SizeValueType
ListSizeValueType
;
65
typedef
typename
ListImageType::SpacingType
ListSpacingType
;
66
typedef
typename
ListImageType::IndexType
ListIndexType
;
67
typedef
typename
ListIndexType::IndexValueType
ListIndexValueType
;
68
typedef
typename
ListImageType::PointType
ListPointType
;
69
typedef
ImageRegionIteratorWithIndex< ListImageType >
ListIteratorType
;
70
73
itkSetConstObjectMacro(
Image
,
ImageType
);
74
itkGetConstObjectMacro(
Image
,
ImageType
);
76
78
itkGetModifiableObjectMacro(ListDomain,
ListImageType
);
79
80
protected
:
81
LevelSetDomainPartitionImage
();
82
virtual
~LevelSetDomainPartitionImage
();
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
96
ImageConstPointer
m_Image
;
97
ListImagePointer
m_ListDomain
;
98
99
};
100
}
//end namespace itk
101
102
#ifndef ITK_MANUAL_INSTANTIATION
103
#include "itkLevelSetDomainPartitionImage.hxx"
104
#endif
105
106
#endif
107
Generated on Mon May 13 2013 00:59:00 for ITK by
1.8.3.1