go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkImageMaskSpatialObject2.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright UMC Utrecht and contributors
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 
21 /*=========================================================================
22 
23  Program: Insight Segmentation & Registration Toolkit
24  Module: $RCSfile$
25  Language: C++
26  Date: $Date: 2008-05-28 10:45:42 +0200 (Wed, 28 May 2008) $
27  Version: $Revision: 1636 $
28 
29  Copyright (c) Insight Software Consortium. All rights reserved.
30  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
31 
32  This software is distributed WITHOUT ANY WARRANTY; without even
33  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
34  PURPOSE. See the above copyright notices for more information.
35 
36 =========================================================================*/
37 #ifndef __itkImageMaskSpatialObject2_h
38 #define __itkImageMaskSpatialObject2_h
39 
40 #include "itkImageSpatialObject2.h"
41 #include "itkImageSliceConstIteratorWithIndex.h"
42 
43 namespace itk
44 {
45 
55 template< unsigned int TDimension = 3 >
57  public ImageSpatialObject2< TDimension, unsigned char >
58 {
59 
60 public:
61 
65  typedef SmartPointer< const Self > ConstPointer;
66 
68  typedef typename Superclass::PixelType PixelType;
69  typedef typename Superclass::ImageType ImageType;
71  typedef typename Superclass::IndexType IndexType;
72  typedef typename Superclass::SizeType SizeType;
75  typedef typename Superclass::PointType PointType;
77 
78  typedef itk::ImageSliceConstIteratorWithIndex< ImageType >
80 
82  itkNewMacro( Self );
83 
86 
88  bool IsInside( const PointType & point,
89  unsigned int depth, char * name ) const;
90 
94  virtual bool IsInside( const PointType & point ) const;
95 
103 
106 
111  IndexType & index, SizeType & size ) const;
112 
113 protected:
114 
115  ImageMaskSpatialObject2( const Self & ); // purposely not implemented
116  void operator=( const Self & ); // purposely not implemented
117 
120 
121  void PrintSelf( std::ostream & os, Indent indent ) const;
122 
123 };
124 
125 } // end of namespace itk
126 
127 #ifndef ITK_MANUAL_INSTANTIATION
128 #include "itkImageMaskSpatialObject2.hxx"
129 #endif
130 
131 #endif //__itkImageMaskSpatialObject2_h
itk::ImageMaskSpatialObject2::~ImageMaskSpatialObject2
virtual ~ImageMaskSpatialObject2()
itk::ImageMaskSpatialObject2::Self
ImageMaskSpatialObject2< TDimension > Self
Definition: itkImageMaskSpatialObject2.h:62
itk::ImageMaskSpatialObject2::ComputeLocalBoundingBoxIndexAndSize
void ComputeLocalBoundingBoxIndexAndSize(IndexType &index, SizeType &size) const
SmartPointer< Self >
itk::ImageSpatialObject2::RegionType
ImageType::RegionType RegionType
Definition: itkImageSpatialObject2.h:79
itk::ImageMaskSpatialObject2::SizeType
Superclass::SizeType SizeType
Definition: itkImageMaskSpatialObject2.h:72
itk::ImageMaskSpatialObject2::Pointer
SmartPointer< Self > Pointer
Definition: itkImageMaskSpatialObject2.h:64
itk::ImageMaskSpatialObject2::BoundingBoxType
Superclass::BoundingBoxType BoundingBoxType
Definition: itkImageMaskSpatialObject2.h:76
itk::ImageMaskSpatialObject2::ImagePointer
Superclass::ImagePointer ImagePointer
Definition: itkImageMaskSpatialObject2.h:70
itk::ImageMaskSpatialObject2::Superclass
ImageSpatialObject2< TDimension > Superclass
Definition: itkImageMaskSpatialObject2.h:63
itk::ImageMaskSpatialObject2::ImageMaskSpatialObject2
ImageMaskSpatialObject2(const Self &)
itk::ImageMaskSpatialObject2::IndexType
Superclass::IndexType IndexType
Definition: itkImageMaskSpatialObject2.h:71
itk::ImageMaskSpatialObject2::PixelType
Superclass::PixelType PixelType
Definition: itkImageMaskSpatialObject2.h:68
itk::ImageMaskSpatialObject2::IsInside
bool IsInside(const PointType &point, unsigned int depth, char *name) const
itk::ImageSpatialObject2::ImagePointer
ImageType::ConstPointer ImagePointer
Definition: itkImageSpatialObject2.h:76
double
itk::ImageSpatialObject2::SizeType
ImageType::SizeType SizeType
Definition: itkImageSpatialObject2.h:78
itk::ImageSpatialObject2::ImageType
Image< PixelType, TDimension > ImageType
Definition: itkImageSpatialObject2.h:75
itk::ImageMaskSpatialObject2::PointType
Superclass::PointType PointType
Definition: itkImageMaskSpatialObject2.h:75
itk::ImageMaskSpatialObject2::operator=
void operator=(const Self &)
itk::ImageSpatialObject2::PointType
Superclass::PointType PointType
Definition: itkImageSpatialObject2.h:81
itk::ImageSpatialObject2::IndexType
ImageType::IndexType IndexType
Definition: itkImageSpatialObject2.h:77
itk::ImageMaskSpatialObject2::TransformType
Superclass::TransformType TransformType
Definition: itkImageMaskSpatialObject2.h:74
itk::ImageSpatialObject2::BoundingBoxType
Superclass::BoundingBoxType BoundingBoxType
Definition: itkImageSpatialObject2.h:82
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::ImageMaskSpatialObject2::IsInside
virtual bool IsInside(const PointType &point) const
itk::ImageMaskSpatialObject2::GetAxisAlignedBoundingBoxRegion
RegionType GetAxisAlignedBoundingBoxRegion() const
itk::ImageSpatialObject2::PixelType
TPixelType PixelType
Definition: itkImageSpatialObject2.h:74
itk::ImageMaskSpatialObject2::RegionType
Superclass::RegionType RegionType
Definition: itkImageMaskSpatialObject2.h:73
itk::ImageMaskSpatialObject2::SliceIteratorType
itk::ImageSliceConstIteratorWithIndex< ImageType > SliceIteratorType
Definition: itkImageMaskSpatialObject2.h:79
itk::ImageMaskSpatialObject2::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkImageMaskSpatialObject2.h:65
itk::ImageMaskSpatialObject2::ComputeLocalBoundingBox
bool ComputeLocalBoundingBox() const
itk::ImageSpatialObject2
Implementation of an image as spatial object.
Definition: itkImageSpatialObject2.h:64
itk::ImageMaskSpatialObject2::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const
itk::ImageMaskSpatialObject2::ImageType
Superclass::ImageType ImageType
Definition: itkImageMaskSpatialObject2.h:69
itk::ImageSpatialObject2::TransformType
Superclass::TransformType TransformType
Definition: itkImageSpatialObject2.h:80
itk::ImageMaskSpatialObject2::ScalarType
Superclass::ScalarType ScalarType
Definition: itkImageMaskSpatialObject2.h:67
itk::ImageMaskSpatialObject2
Implementation of an image mask as spatial object.
Definition: itkImageMaskSpatialObject2.h:58
itkImageSpatialObject2.h
itk::ImageMaskSpatialObject2::ImageMaskSpatialObject2
ImageMaskSpatialObject2()


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo