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

itkOrthogonallyCorrected2DParametricPath.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkOrthogonallyCorrected2DParametricPath.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:19 $ 00007 Version: $Revision: 1.6 $ 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 __itkOrthogonallyCorrected2DParametricPath_h 00019 #define __itkOrthogonallyCorrected2DParametricPath_h 00020 00021 #include "itkParametricPath.h" 00022 #include "itkVectorContainer.h" 00023 #include "itkContinuousIndex.h" 00024 #include "itkIndex.h" 00025 #include "itkOffset.h" 00026 #include "itkVector.h" 00027 00028 namespace itk 00029 { 00030 00047 class ITKCommon_EXPORT OrthogonallyCorrected2DParametricPath : public 00048 ParametricPath<2> 00049 { 00050 public: 00052 typedef OrthogonallyCorrected2DParametricPath Self; 00053 typedef ParametricPath<2> Superclass; 00054 typedef SmartPointer<Self> Pointer; 00055 typedef SmartPointer<const Self> ConstPointer; 00056 00058 itkTypeMacro(OrthogonallyCorrected2DParametricPath, ParametricPath); 00059 00061 typedef Superclass::InputType InputType; 00062 00064 typedef Superclass::OutputType OutputType; 00065 00066 00068 typedef ContinuousIndex<double,2> ContinuousIndexType; 00069 typedef Index<2> IndexType; 00070 typedef Offset<2> OffsetType; 00071 typedef Superclass::VectorType VectorType; 00072 typedef ParametricPath<2> OriginalPathType; 00073 typedef OriginalPathType::ConstPointer OriginalPathConstPointer; 00074 typedef VectorContainer<unsigned, double> OrthogonalCorrectionTableType; 00075 typedef OrthogonalCorrectionTableType::Pointer OrthogonalCorrectionTablePointer; 00076 00077 00079 virtual OutputType Evaluate( const InputType & input ) const; 00080 00085 // The usual itkSetObjectMacro can not be used here because 00086 // m_DefaultInputStepSize must also be copied over. 00087 void SetOriginalPath( const OriginalPathType *originalPath ); 00088 00090 itkSetObjectMacro( OrthogonalCorrectionTable, OrthogonalCorrectionTableType ) 00091 00092 00093 itkNewMacro( Self ); 00094 00096 virtual void Initialize(void) 00097 { 00098 this->m_OriginalPath = NULL; 00099 this->m_OrthogonalCorrectionTable = NULL; 00100 } 00101 00103 virtual inline InputType StartOfInput() const 00104 { 00105 return m_OriginalPath->StartOfInput(); 00106 } 00107 virtual inline InputType EndOfInput() const 00108 { 00109 return m_OriginalPath->EndOfInput(); 00110 } 00111 00112 00113 protected: 00114 OrthogonallyCorrected2DParametricPath(); 00115 ~OrthogonallyCorrected2DParametricPath(){} 00116 void PrintSelf(std::ostream& os, Indent indent) const; 00117 00118 private: 00119 OrthogonallyCorrected2DParametricPath(const Self&); //purposely not implemented 00120 void operator=(const Self&); //purposely not implemented 00121 00122 OriginalPathConstPointer m_OriginalPath; 00123 OrthogonalCorrectionTablePointer m_OrthogonalCorrectionTable; 00124 00125 }; 00126 00127 } // namespace itk 00128 00129 #endif

Generated at Sat Mar 31 02:26:42 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000