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

itkAggregateLabelMapFilter.h

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

Generated at Tue Sep 15 02:07:03 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000