ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
00001 /*========================================================================= 00002 * 00003 * Copyright Insight Software Consortium 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0.txt 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 * 00017 *=========================================================================*/ 00018 #ifndef __itkImageShapeModelEstimatorBase_h 00019 #define __itkImageShapeModelEstimatorBase_h 00020 00021 #include "itkImageToImageFilter.h" 00022 00023 namespace itk 00024 { 00047 template< class TInputImage, 00048 class TOutputImage = Image< double, ::itk::GetImageDimension< TInputImage >::ImageDimension > > 00049 class ITK_EXPORT ImageShapeModelEstimatorBase: 00050 public ImageToImageFilter< TInputImage, TOutputImage > 00051 { 00052 public: 00054 typedef ImageShapeModelEstimatorBase Self; 00055 typedef ImageToImageFilter< TInputImage, TOutputImage > Superclass; 00056 typedef SmartPointer< Self > Pointer; 00057 typedef SmartPointer< const Self > ConstPointer; 00058 00060 itkTypeMacro(ImageShapeModelEstimatorBase, ImageToImageFilter); 00061 00063 typedef TInputImage InputImageType; 00064 typedef typename TInputImage::Pointer InputImagePointer; 00065 protected: 00066 ImageShapeModelEstimatorBase(); 00067 ~ImageShapeModelEstimatorBase(); 00068 void PrintSelf(std::ostream & os, Indent indent) const; 00070 00071 virtual void GenerateData(); 00072 00073 private: 00074 00075 ImageShapeModelEstimatorBase(const Self &); //purposely not implemented 00076 void operator=(const Self &); //purposely not implemented 00077 00079 InputImagePointer m_InputImage; 00080 00082 virtual void EstimateShapeModels() = 0; 00083 }; // class ImageShapeModelEstimator 00084 } // namespace itk 00085 00086 #ifndef ITK_MANUAL_INSTANTIATION 00087 #include "itkImageShapeModelEstimatorBase.hxx" 00088 #endif 00089 00090 #endif 00091