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

itkRelabelLabelMapFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkRelabelLabelMapFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-07-25 14:51:18 $
00007   Version:   $Revision: 1.2 $
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 #ifndef __itkRelabelLabelMapFilter_h
00018 #define __itkRelabelLabelMapFilter_h
00019 
00020 #include "itkInPlaceLabelMapFilter.h"
00021 
00022 namespace itk
00023 {
00024 
00043 template<class TImage >
00044 class ITK_EXPORT RelabelLabelMapFilter : 
00045     public InPlaceLabelMapFilter<TImage>
00046 {
00047 public:
00049   typedef RelabelLabelMapFilter         Self;
00050   typedef InPlaceLabelMapFilter<TImage> Superclass;
00051   typedef SmartPointer<Self>            Pointer;
00052   typedef SmartPointer<const Self>      ConstPointer;
00053 
00055   typedef TImage                                        ImageType;
00056   typedef typename ImageType::Pointer                   ImagePointer;
00057   typedef typename ImageType::ConstPointer              ImageConstPointer;
00058   typedef typename ImageType::PixelType                 PixelType;
00059   typedef typename ImageType::IndexType                 IndexType;
00060   typedef typename ImageType::LabelObjectType           LabelObjectType;
00061   typedef typename Superclass::LabelObjectContainerType LabelObjectContainerType;
00062 
00064   itkStaticConstMacro(ImageDimension, unsigned int, TImage::ImageDimension);
00065 
00067   itkNewMacro(Self);
00068 
00070   itkTypeMacro(RelabelLabelMapFilter, InPlaceLabelMapFilter);
00071 
00072 #ifdef ITK_USE_CONCEPT_CHECKING
00073 
00074 /*  itkConceptMacro(InputEqualityComparableCheck,
00075     (Concept::EqualityComparable<InputImagePixelType>));
00076   itkConceptMacro(IntConvertibleToInputCheck,
00077     (Concept::Convertible<int, InputImagePixelType>));
00078   itkConceptMacro(InputOStreamWritableCheck,
00079     (Concept::OStreamWritable<InputImagePixelType>));*/
00080 
00082 #endif
00083 
00084 protected:
00085   RelabelLabelMapFilter() {};
00086   ~RelabelLabelMapFilter() {};
00087 
00088   void PrintSelf(std::ostream& os, Indent indent) const;
00089 
00090   void GenerateData();
00091 
00092 private:
00093   RelabelLabelMapFilter(const Self&); //purposely not implemented
00094   void operator=(const Self&); //purposely not implemented
00095 
00096 }; // end of class
00097 
00098 } // end namespace itk
00099   
00100 #ifndef ITK_MANUAL_INSTANTIATION
00101 #include "itkRelabelLabelMapFilter.txx"
00102 #endif
00103 
00104 #endif
00105 

Generated at Mon Jul 12 2010 19:40:50 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000