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

vtkProcrustesAlignmentFilter.h

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