VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Hybrid
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
63
class
vtkLandmarkTransform
;
64
class
vtkPointSet
;
65
class
vtkPoints
;
66
67
class
VTK_HYBRID_EXPORT
vtkProcrustesAlignmentFilter
:
public
vtkPointSetAlgorithm
68
{
69
public
:
70
vtkTypeMacro(
vtkProcrustesAlignmentFilter
,
vtkPointSetAlgorithm
);
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
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
:
114
vtkProcrustesAlignmentFilter
();
115
~
vtkProcrustesAlignmentFilter
();
116
118
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
119
120
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
121
122
vtkLandmarkTransform
*
LandmarkTransform
;
123
124
bool
StartFromCentroid
;
125
126
vtkPoints
*
MeanPoints
;
127
128
private
:
129
vtkProcrustesAlignmentFilter
(
const
vtkProcrustesAlignmentFilter
&);
// Not implemented.
130
void
operator=(
const
vtkProcrustesAlignmentFilter
&);
// Not implemented.
131
};
132
133
#endif
134
135
Generated on Thu Mar 13 2014 08:10:14 for VTK by
1.8.1.2