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 =========================================================================*/
00062 #ifndef __vtkProcrustesAlignmentFilter_h
00063 #define __vtkProcrustesAlignmentFilter_h
00064 
00065 #include "vtkSource.h"
00066 
00067 class vtkLandmarkTransform;
00068 class vtkPointSet;
00069 
00070 class VTK_HYBRID_EXPORT vtkProcrustesAlignmentFilter : public vtkSource
00071 {
00072 public:
00073   vtkTypeRevisionMacro(vtkProcrustesAlignmentFilter,vtkSource);
00074 
00076   void PrintSelf(ostream& os, vtkIndent indent);
00077 
00079   static vtkProcrustesAlignmentFilter *New();
00080 
00082 
00085   vtkGetObjectMacro(LandmarkTransform,vtkLandmarkTransform);
00087   
00089   void SetNumberOfInputs(int n);
00090 
00093   void SetInput(int idx,vtkPointSet* p);
00094 
00096   vtkPointSet* GetOutput(int idx);
00097 
00100   vtkPointSet* GetInput(int idx);
00101 
00102 protected:
00103   vtkProcrustesAlignmentFilter();
00104   ~vtkProcrustesAlignmentFilter();
00105 
00107   void Execute();
00108 
00109   vtkLandmarkTransform *LandmarkTransform;
00110 
00111 private:
00112   vtkProcrustesAlignmentFilter(const vtkProcrustesAlignmentFilter&);  // Not implemented.
00113   void operator=(const vtkProcrustesAlignmentFilter&);  // Not implemented.
00114 };
00115 
00116 #endif
00117 
00118