Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Hybrid/vtkProcrustesAlignmentFilter.h

Go to the documentation of this file.
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 =========================================================================*/
00073 #ifndef __vtkProcrustesAlignmentFilter_h
00074 #define __vtkProcrustesAlignmentFilter_h
00075 
00076 #include "vtkSource.h"
00077 
00078 class vtkLandmarkTransform;
00079 class vtkPointSet;
00080 
00081 class VTK_HYBRID_EXPORT vtkProcrustesAlignmentFilter : public vtkSource
00082 {
00083 public:
00084   vtkTypeRevisionMacro(vtkProcrustesAlignmentFilter,vtkSource);
00085 
00087   void PrintSelf(ostream& os, vtkIndent indent);
00088 
00090   static vtkProcrustesAlignmentFilter *New();
00091 
00093 
00096   vtkGetObjectMacro(LandmarkTransform,vtkLandmarkTransform);
00098   
00100   void SetNumberOfInputs(int n);
00101 
00104   void SetInput(int idx,vtkPointSet* p);
00105 
00107   vtkPointSet* GetOutput(int idx);
00108 
00111   vtkPointSet* GetInput(int idx);
00112 
00113 protected:
00114   vtkProcrustesAlignmentFilter();
00115   ~vtkProcrustesAlignmentFilter();
00116 
00118   void Execute();
00119 
00120   vtkLandmarkTransform *LandmarkTransform;
00121 
00122 private:
00123   vtkProcrustesAlignmentFilter(const vtkProcrustesAlignmentFilter&);  // Not implemented.
00124   void operator=(const vtkProcrustesAlignmentFilter&);  // Not implemented.
00125 };
00126 
00127 #endif
00128 
00129