VTK
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 =========================================================================*/
58 #ifndef __vtkProcrustesAlignmentFilter_h
59 #define __vtkProcrustesAlignmentFilter_h
60 
61 #include "vtkPointSetAlgorithm.h"
62 
64 class vtkPointSet;
65 class vtkPoints;
66 
68 {
69 public:
71 
73  void PrintSelf(ostream& os, vtkIndent indent);
74 
77 
79 
82  vtkGetObjectMacro(LandmarkTransform,vtkLandmarkTransform);
84 
86 
87  vtkGetObjectMacro(MeanPoints,vtkPoints);
89 
91  void SetNumberOfInputs(int n);
92 
94 
96  void SetInput(int idx, vtkPointSet* p);
97  void SetInput(int idx, vtkDataObject* input);
99 
101 
104  vtkSetMacro(StartFromCentroid, bool);
105  vtkGetMacro(StartFromCentroid, bool);
106  vtkBooleanMacro(StartFromCentroid, bool);
108 
111  vtkPointSet* GetInput(int idx);
112 
113 protected:
116 
119 
121 
123 
125 
127 
128 private:
130  void operator=(const vtkProcrustesAlignmentFilter&); // Not implemented.
131 };
132 
133 #endif
134 
135 
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store vtkAlgorithm input/output information.
void SetInput(vtkDataObject *)
aligns a set of pointsets together
vtkDataObject * GetInput()
abstract class for specifying dataset behavior
Definition: vtkPointSet.h:40
a simple class to control print indentation
Definition: vtkIndent.h:37
a linear transform specified by two corresponding point sets
Superclass for algorithms that produce output of the same type as input.
static vtkPointSetAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
virtual int FillInputPortInformation(int port, vtkInformation *info)
#define VTK_HYBRID_EXPORT
general representation of visualization data
Definition: vtkDataObject.h:70
represent and manipulate 3D points
Definition: vtkPoints.h:38