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

itkHardLimitTransferFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkHardLimitTransferFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/08/02 19:17:37 $
00007   Version:   $Revision: 1.1 $
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 
00018 #ifndef __itkHardLimitTransferFunction_h
00019 #define __itkHardLimitTransferFunction_h
00020 
00021 #include "itkTransferFunctionBase.h"
00022 
00023 namespace itk
00024 {
00025 namespace Statistics
00026 {
00027 template<class ScalarType>
00028 class HardLimitTransferFunction : public TransferFunctionBase<ScalarType>
00029 {
00030 public:
00032   typedef HardLimitTransferFunction Self;
00033   typedef TransferFunctionBase<ScalarType> Superclass;
00034   typedef SmartPointer<Self> Pointer;
00035   typedef SmartPointer<const Self> ConstPointer;
00036 
00038   itkTypeMacro(HardLimitTransferFunction, TransferFunctionBase);
00039 
00041   itkNewMacro(Self) ;
00042 
00044   ScalarType Evaluate(const ScalarType& input) const;
00045 
00047   ScalarType EvaluateDerivative(const ScalarType& input) const;
00048 
00049 protected:
00050 
00051   HardLimitTransferFunction();
00052   ~HardLimitTransferFunction();
00053 
00055   virtual void PrintSelf( std::ostream& os, Indent indent ) const;
00056 
00057 };//class
00058 
00059 } // end namespace Statistics
00060 } // end namespace itk
00061 
00062 #ifndef ITK_MANUAL_INSTANTIATION
00063   #include "itkHardLimitTransferFunction.txx"
00064 #endif
00065 
00066 
00067 #endif

Generated at Wed May 24 23:15:02 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000