-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathpreProcessing.h
More file actions
22 lines (16 loc) · 1004 Bytes
/
preProcessing.h
File metadata and controls
22 lines (16 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __SurfaceRegistration__preProcessing__
#define __SurfaceRegistration__preProcessing__
#include <stdio.h>
#include <iostream>
#include "common/PCAStatistics.h"
#include <vtkOctreePointLocator.h>
#include <vtkTransform.h>
#include <vtkTransformPolyDataFilter.h>
vtkSmartPointer<vtkPolyData> TransformScaleTranslate(vtkSmartPointer<vtkPolyData> polydata, double value);
vtkSmartPointer<vtkOctreePointLocator> buildOctree(vtkSmartPointer<vtkPolyData> newdata, vtkSmartPointer<vtkPoints> points,
vtkSmartPointer<vtkPolyData> olddata);
double applyPCA(int pointCountTarget, int pointCountTemplate,
vtkSmartPointer<vtkPolyData> dataTarget, vtkSmartPointer<vtkPolyData> dataTemplate,
vtkSmartPointer<vtkPolyData> polydataTarget, vtkSmartPointer<vtkPolyData> polydataTemplate, vtkSmartPointer<vtkPolyData> transformedTemplate,
int maxDistance);
#endif