VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkProcrustesAlignmentFilter.h 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 =========================================================================*/ 00057 #ifndef __vtkProcrustesAlignmentFilter_h 00058 #define __vtkProcrustesAlignmentFilter_h 00059 00060 #include "vtkFiltersHybridModule.h" // For export macro 00061 #include "vtkMultiBlockDataSetAlgorithm.h" 00062 00063 class vtkLandmarkTransform; 00064 class vtkPointSet; 00065 class vtkPoints; 00066 00067 class VTKFILTERSHYBRID_EXPORT vtkProcrustesAlignmentFilter : public vtkMultiBlockDataSetAlgorithm 00068 { 00069 public: 00070 vtkTypeMacro(vtkProcrustesAlignmentFilter,vtkMultiBlockDataSetAlgorithm); 00071 00073 void PrintSelf(ostream& os, vtkIndent indent); 00074 00076 static vtkProcrustesAlignmentFilter *New(); 00077 00079 00082 vtkGetObjectMacro(LandmarkTransform,vtkLandmarkTransform); 00084 00086 00087 vtkGetObjectMacro(MeanPoints,vtkPoints); 00089 00091 00094 vtkSetMacro(StartFromCentroid, bool); 00095 vtkGetMacro(StartFromCentroid, bool); 00096 vtkBooleanMacro(StartFromCentroid, bool); 00098 00100 00107 vtkSetMacro(OutputPointsPrecision,int); 00108 vtkGetMacro(OutputPointsPrecision,int); 00110 00111 protected: 00112 vtkProcrustesAlignmentFilter(); 00113 ~vtkProcrustesAlignmentFilter(); 00114 00116 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00117 00118 vtkLandmarkTransform *LandmarkTransform; 00119 00120 bool StartFromCentroid; 00121 00122 vtkPoints *MeanPoints; 00123 int OutputPointsPrecision; 00124 00125 private: 00126 vtkProcrustesAlignmentFilter(const vtkProcrustesAlignmentFilter&); // Not implemented. 00127 void operator=(const vtkProcrustesAlignmentFilter&); // Not implemented. 00128 }; 00129 00130 #endif 00131 00132