-
Notifications
You must be signed in to change notification settings - Fork 10
/
FA3R.h
40 lines (32 loc) · 827 Bytes
/
FA3R.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
#ifndef __FA3R_H__
#define __FA3R_H__
#pragma once
#include <time.h>
#include <iostream>
#include <vector>
#include <map>
#include "Eigen/Core"
#include "Eigen/LU"
#include "Eigen/Dense"
#include "Eigen/Geometry"
#include "Eigen/SVD"
using namespace std;
using namespace Eigen;
void FA3R_int(const vector<Vector3d>* P,
const vector<Vector3d>* Q,
Matrix3d * sigma,
int num,
Matrix3d * rRes,
Vector3d * tRes);
void FA3R_double(const vector<Vector3d>* P,
const vector<Vector3d>* Q,
Matrix3d * sigma,
int num,
Matrix3d * rRes,
Vector3d * tRes);
void eig3D_eig(const vector<Vector3d>* P,
const vector<Vector3d>* Q,
Matrix3d * sigma,
Matrix3d * rRes,
Vector3d * tRes);
#endif