-
Notifications
You must be signed in to change notification settings - Fork 8
/
vtkPCA_ICP_Transform.h
47 lines (33 loc) · 1.14 KB
/
vtkPCA_ICP_Transform.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef __VTK_PCA_ICP_TRANSFORM_H__
#define __VTK_PCA_ICP_TRANSFORM_H__
#include "vtkIterativeClosestPointTransform.h"
class vtkMatrix4x4;
class vtkPolyData;
class vtkPCA_ICP_Transform : public vtkIterativeClosestPointTransform
{
public:
static vtkPCA_ICP_Transform* New();
vtkTypeMacro(vtkPCA_ICP_Transform, vtkIterativeClosestPointTransform);
virtual void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
vtkGetMacro(RMS, double);
vtkGetObjectMacro(TransformPolyData, vtkPolyData);
vtkGetVector3Macro(SourceCenter, double);
vtkGetVector3Macro(TargetCenter, double);
vtkGetVector3Macro(SourceDirection0, double);
vtkGetVector3Macro(TargetDirection0, double);
vtkGetVector3Macro(SourceDirection1, double);
vtkGetVector3Macro(TargetDirection1, double);
protected:
vtkPCA_ICP_Transform();
virtual ~vtkPCA_ICP_Transform() VTK_OVERRIDE;
virtual void InternalUpdate() VTK_OVERRIDE;
double RMS;
vtkPolyData* TransformPolyData;
double SourceCenter[3];
double TargetCenter[3];
double SourceDirection0[3];
double SourceDirection1[3];
double TargetDirection0[3];
double TargetDirection1[3];
};
#endif // !__VTK_PCA_ICP_TRANSFORM_H__