From 262fadf50b4463554d496f73573b7257a2abceec Mon Sep 17 00:00:00 2001 From: Miller Date: Mon, 3 Jul 2017 20:59:45 -0500 Subject: cc version --- src/types.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/types.h') diff --git a/src/types.h b/src/types.h index ac28f6f..ff0a089 100644 --- a/src/types.h +++ b/src/types.h @@ -1,7 +1,7 @@ #ifndef types_INC #define types_INC -#include +#include #include #include #define MAXLINE 8192 @@ -16,6 +16,7 @@ using Eigen::Vector2d; using Eigen::Vector3d; using Eigen::Vector4d; +typedef Eigen::Matrix UVector2d; // A struct for storing measurements. typedef enum {BOTH,REFLECTION,MONO,HEIGHT} measurement_type; typedef struct { @@ -23,7 +24,7 @@ typedef struct { int id; Vector3d source, reflection; double height; - Vector2d Ssrc, Sref; + UVector2d Ssrc, Sref; cv::Mat patch, refpatch; double xcorrmax; } measurement_t; -- cgit v1.1