Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkImageMaskSpatialObject.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkImageMaskSpatialObject.h,v $
00005   Language:  C++
00006   Date:      $Date: 2004/09/01 16:37:18 $
00007   Version:   $Revision: 1.3 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 
00018 #ifndef __itkImageMaskSpatialObject_h
00019 #define __itkImageMaskSpatialObject_h
00020 
00021 #include "itkImageSpatialObject.h"
00022 
00023 namespace itk
00024 {
00025   
00036 template < unsigned int TDimension = 3 >
00037 class ImageMaskSpatialObject 
00038   : public ImageSpatialObject< TDimension, unsigned char >
00039 {
00040 
00041 public:
00042  
00043   typedef ImageMaskSpatialObject< TDimension >        Self;
00044   typedef ImageSpatialObject< TDimension >            Superclass;
00045   typedef SmartPointer< Self >                        Pointer;
00046   typedef SmartPointer< const Self >                  ConstPointer;
00047 
00048   typedef typename Superclass::ScalarType             ScalarType; 
00049   typedef typename Superclass::PixelType              PixelType; 
00050   typedef typename Superclass::ImageType              ImageType;
00051   typedef typename Superclass::ImagePointer           ImagePointer;
00052   typedef typename Superclass::IndexType              IndexType;
00053   typedef typename Superclass::RegionType             RegionType;
00054   typedef typename Superclass::TransformType          TransformType;
00055   typedef typename Superclass::PointType              PointType;
00056   typedef typename Superclass::BoundingBoxType        BoundingBoxType;
00057 
00059   itkNewMacro( Self );
00060 
00062   itkTypeMacro( ImageMaskSpatialObject, ImageSpatialObject );
00063 
00065   bool IsInside( const PointType & point,
00066                  unsigned int depth, char *name) const;
00067 
00071   virtual bool IsInside( const PointType & point) const;
00072 
00073 protected:
00074 
00075   ImageMaskSpatialObject();
00076   virtual ~ImageMaskSpatialObject();
00077 
00078   void PrintSelf( std::ostream& os, Indent indent ) const;
00079 
00080 };
00081 
00082 } // end of namespace itk
00083 
00084 #ifndef ITK_MANUAL_INSTANTIATION
00085 #include "itkImageMaskSpatialObject.txx"
00086 #endif
00087 
00088 #endif //__itkImageMaskSpatialObject_h
00089 

Generated at Tue Mar 29 23:56:08 2005 for ITK by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2000