00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkImageShapeModelEstimatorBase.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:32 $ 00007 Version: $Revision: 1.5 $ 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 _itkImageShapeModelEstimatorBase_h 00018 #define _itkImageShapeModelEstimatorBase_h 00019 00020 #include "itkImageToImageFilter.h" 00021 00022 namespace itk 00023 { 00024 00045 template <class TInputImage, 00046 class TOutputImage = Image<double, ::itk::GetImageDimension<TInputImage>::ImageDimension> > 00047 class ITK_EXPORT ImageShapeModelEstimatorBase: 00048 public ImageToImageFilter<TInputImage, TOutputImage> 00049 { 00050 public: 00052 typedef ImageShapeModelEstimatorBase Self; 00053 typedef ImageToImageFilter<TInputImage, TOutputImage> Superclass; 00054 typedef SmartPointer<Self> Pointer; 00055 typedef SmartPointer<const Self> ConstPointer; 00056 00058 itkTypeMacro(ImageShapeModelEstimatorBase,ImageToImageFilter); 00059 00060 00062 typedef TInputImage InputImageType; 00063 typedef typename TInputImage::Pointer InputImagePointer; 00064 00065 protected: 00066 ImageShapeModelEstimatorBase(); 00067 ~ImageShapeModelEstimatorBase(); 00068 void PrintSelf(std::ostream& os, Indent indent) const; 00069 00070 virtual void GenerateData(); 00071 00072 private: 00073 00074 ImageShapeModelEstimatorBase(const Self&); //purposely not implemented 00075 void operator=(const Self&); //purposely not implemented 00076 00078 InputImagePointer m_InputImage; 00079 00081 virtual void EstimateShapeModels() = 0; 00082 00083 }; // class ImageShapeModelEstimator 00084 00085 00086 } // namespace itk 00087 00088 #ifndef ITK_MANUAL_INSTANTIATION 00089 #include "itkImageShapeModelEstimatorBase.txx" 00090 #endif 00091 00092 00093 00094 #endif 00095