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

itkFunctionBase.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkFunctionBase.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:08 $ 00007 Version: $Revision: 1.9 $ 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 _itkFunctionBase_h 00018 #define _itkFunctionBase_h 00019 00020 #include "itkObject.h" 00021 #include "itkObjectFactory.h" 00022 00023 namespace itk 00024 { 00025 00042 template < class TInput, class TOutput > 00043 class ITK_EXPORT FunctionBase : public Object 00044 { 00045 public: 00047 typedef FunctionBase Self; 00048 typedef Object Superclass; 00049 typedef SmartPointer<Self> Pointer; 00050 typedef SmartPointer<const Self> ConstPointer; 00051 00053 itkTypeMacro(FunctionBase, Object); 00054 00056 typedef TInput InputType; 00057 00059 typedef TOutput OutputType; 00060 00062 virtual OutputType Evaluate( const InputType& input ) const = 0; 00063 00064 protected: 00065 FunctionBase(){}; 00066 ~FunctionBase(){}; 00067 00068 private: 00069 FunctionBase(const Self& ); //purposely not implemented 00070 void operator=(const Self& ); //purposely not implemented 00071 00072 }; 00073 00074 } // namespace itk 00075 00076 #endif

Generated at Sun Apr 1 02:29:18 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000