31#include <Eigen/Geometry>
35 using namespace Eigen;
39 inline Matrix3<g_type>
skew(
const Vector3<g_type>& v);
43 inline Vector3<g_type>
deltaR(
const Matrix3<g_type>& R);
47 inline Vector2<g_type>
project(
const Vector3<g_type>&);
51 inline Vector3<g_type>
project(
const Vector4<g_type>&);
55 inline Vector3<g_type>
unproject(
const Vector2<g_type>&);
59 inline Vector4<g_type>
unproject(
const Vector3<g_type>&);
The primary namespace for the NDEVR SDK.
Vector3< g_type > unproject(const Vector2< g_type > &)
Unprojects a 2D point to 3D by appending z=1.
Vector3< g_type > deltaR(const Matrix3< g_type > &R)
Extracts the rotation vector from a rotation matrix using the Rodrigues formula.
Matrix3< g_type > skew(const Vector3< g_type > &v)
Computes the 3x3 skew-symmetric matrix from a 3D vector.
Vector2< g_type > project(const Vector3< g_type > &)
Projects a 3D point to 2D by dividing by the z component.