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

itkSymmetricSigmoidTransferFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkSymmetricSigmoidTransferFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007/08/17 13:10:57 $
00007   Version:   $Revision: 1.2 $
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 __itkSymmetricSigmoidTransferFunction_h
00018 #define __itkSymmetricSigmoidTransferFunction_h
00019 
00020 #include "itkTransferFunctionBase.h"
00021 
00022 namespace itk
00023 {
00024 namespace Statistics
00025 {
00026 
00027 template<class ScalarType>
00028 class SymmetricSigmoidTransferFunction : public TransferFunctionBase<ScalarType>
00029 {
00030 public:
00031 
00033   typedef SymmetricSigmoidTransferFunction Self;
00034   typedef TransferFunctionBase<ScalarType> Superclass;
00035   typedef SmartPointer<Self> Pointer;
00036   typedef SmartPointer<const Self> ConstPointer;
00037 
00039   itkTypeMacro(SymmetricSigmoidTransferFunction, TransferFunctionBase);
00040 
00042   itkNewMacro(Self) ;
00043 
00045   virtual ScalarType Evaluate(const ScalarType& input) const;
00046 
00048   virtual ScalarType EvaluateDerivative(const ScalarType& input) const;
00049 
00050 protected:
00051 
00052   SymmetricSigmoidTransferFunction();
00053   virtual ~SymmetricSigmoidTransferFunction();
00054 
00055   ScalarType m_Range;
00056   ScalarType m_Offset;
00057 
00059   virtual void PrintSelf( std::ostream& os, Indent indent ) const;
00060 };
00061 
00062 } // end namespace Statistics
00063 } // end namespace itk
00064 
00065 #ifndef ITK_MANUAL_INSTANTIATION
00066   #include "itkSymmetricSigmoidTransferFunction.txx"
00067 #endif
00068 
00069 
00070 #endif
00071 

Generated at Sun Sep 23 14:23:34 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000