00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkProcrustesAlignmentFilter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00072 #ifndef __vtkProcrustesAlignmentFilter_h 00073 #define __vtkProcrustesAlignmentFilter_h 00074 00075 #include "vtkSource.h" 00076 00077 class vtkLandmarkTransform; 00078 class vtkPointSet; 00079 00080 class VTK_HYBRID_EXPORT vtkProcrustesAlignmentFilter : public vtkSource 00081 { 00082 public: 00083 vtkTypeRevisionMacro(vtkProcrustesAlignmentFilter,vtkSource); 00084 00086 void PrintSelf(ostream& os, vtkIndent indent); 00087 00089 static vtkProcrustesAlignmentFilter *New(); 00090 00092 00095 vtkGetObjectMacro(LandmarkTransform,vtkLandmarkTransform); 00097 00099 void SetNumberOfInputs(int n); 00100 00103 void SetInput(int idx,vtkPointSet* p); 00104 00106 vtkPointSet* GetOutput(int idx); 00107 00110 vtkPointSet* GetInput(int idx); 00111 00112 protected: 00113 vtkProcrustesAlignmentFilter(); 00114 ~vtkProcrustesAlignmentFilter(); 00115 00117 void Execute(); 00118 00119 vtkLandmarkTransform *LandmarkTransform; 00120 00121 private: 00122 vtkProcrustesAlignmentFilter(const vtkProcrustesAlignmentFilter&); // Not implemented. 00123 void operator=(const vtkProcrustesAlignmentFilter&); // Not implemented. 00124 }; 00125 00126 #endif 00127 00128