Orfeo Toolbox  3.16
itkFunctionBase.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkFunctionBase.h,v $
5  Language: C++
6  Date: $Date: 2008-10-16 23:25:41 $
7  Version: $Revision: 1.11 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkFunctionBase_h
18 #define __itkFunctionBase_h
19 
20 #include "itkObject.h"
21 #include "itkObjectFactory.h"
22 
23 namespace itk
24 {
25 
42 template < class TInput, class TOutput >
44 {
45 public:
47  typedef FunctionBase Self;
48  typedef Object Superclass;
51 
53  itkTypeMacro(FunctionBase, Object);
54 
56  typedef TInput InputType;
57 
59  typedef TOutput OutputType;
60 
62  virtual OutputType Evaluate( const InputType& input ) const = 0;
63 
64 protected:
67 
68 private:
69  FunctionBase(const Self& ); //purposely not implemented
70  void operator=(const Self& ); //purposely not implemented
71 
72 };
73 
74 } // end namespace itk
75 
76 #endif

Generated at Sat Jun 15 2013 23:39:52 for Orfeo Toolbox with doxygen 1.8.3.1