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

itkTransformBase.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkTransformBase.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-11-28 15:53:16 $
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 __itkTransformBase_h
00018 #define __itkTransformBase_h
00019 
00020 #include "itkObject.h"
00021 #include "itkPoint.h"
00022 #include "itkVector.h"
00023 #include "itkCovariantVector.h"
00024 #include "vnl/vnl_vector_fixed.h"
00025 #include "itkArray.h"
00026 #include "itkArray2D.h"
00027 
00028 #include "itkObjectFactory.h"
00029 
00030 namespace itk
00031 {
00032   
00039 class ITK_EXPORT  TransformBase  : public Object
00040 {
00041 public:
00043   typedef TransformBase               Self;
00044   typedef Object                      Superclass;
00045   typedef SmartPointer< Self >        Pointer;
00046   typedef SmartPointer< const Self >  ConstPointer;
00047 
00049   typedef  double                          ParametersValueType;
00050   typedef  Array< ParametersValueType >    ParametersType;
00051 
00053   itkTypeMacro( TransformBase, Object );
00054 
00056   virtual unsigned int GetNumberOfParameters(void) const = 0;
00057 
00059   virtual const ParametersType& GetParameters(void) const = 0;
00060 
00062   virtual unsigned int GetInputSpaceDimension(void) const = 0;
00063 
00065   virtual unsigned int GetOutputSpaceDimension(void) const = 0;
00066 
00068   virtual void SetParameters( const ParametersType & ) = 0;
00069 
00077   virtual void SetParametersByValue ( const ParametersType & p ) = 0;
00078 
00080   virtual void SetFixedParameters( const ParametersType & ) = 0;
00081 
00083   virtual const ParametersType& GetFixedParameters( ) const = 0;
00084 
00086   virtual std::string GetTransformTypeAsString() const = 0;
00087 
00088 protected:
00089   TransformBase() {}; 
00090   virtual ~TransformBase() {};
00091 
00092 private:
00093   TransformBase(const Self&); //purposely not implemented
00094   void operator=(const Self&); //purposely not implemented
00095   
00096 
00097 };
00098 
00099 } // end namespace itk
00100 
00101 #endif
00102 

Generated at Mon Jul 12 2010 20:03:06 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000