VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkProcrustesAlignmentFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkProcrustesAlignmentFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
57 #ifndef __vtkProcrustesAlignmentFilter_h
58 #define __vtkProcrustesAlignmentFilter_h
59 
60 #include "vtkFiltersHybridModule.h" // For export macro
61 #include "vtkMultiBlockDataSetAlgorithm.h"
62 
63 class vtkLandmarkTransform;
64 class vtkPointSet;
65 class vtkPoints;
66 
67 class VTKFILTERSHYBRID_EXPORT vtkProcrustesAlignmentFilter : public vtkMultiBlockDataSetAlgorithm
68 {
69 public:
70  vtkTypeMacro(vtkProcrustesAlignmentFilter,vtkMultiBlockDataSetAlgorithm);
71 
73  void PrintSelf(ostream& os, vtkIndent indent);
74 
76  static vtkProcrustesAlignmentFilter *New();
77 
79 
82  vtkGetObjectMacro(LandmarkTransform,vtkLandmarkTransform);
84 
86 
87  vtkGetObjectMacro(MeanPoints,vtkPoints);
89 
91 
94  vtkSetMacro(StartFromCentroid, bool);
95  vtkGetMacro(StartFromCentroid, bool);
96  vtkBooleanMacro(StartFromCentroid, bool);
98 
99 protected:
102 
104  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
105 
106  vtkLandmarkTransform *LandmarkTransform;
107 
109 
110  vtkPoints *MeanPoints;
111 
112 private:
114  void operator=(const vtkProcrustesAlignmentFilter&); // Not implemented.
115 };
116 
117 #endif
118 
119 
aligns a set of pointsets together