From ff6f38402955bcaf7c62060e899ff09f84c48846 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu>
Date: Sat, 10 Mar 2018 00:16:00 +0100
Subject: [PATCH] rename pinholeTools.h --> pinhole_tools.h

---
 src/CMakeLists.txt                      | 2 +-
 src/constraint_AHP.h                    | 2 +-
 src/examples/test_constraint_AHP.cpp    | 2 +-
 src/examples/test_projection_points.cpp | 2 +-
 src/examples/test_simple_AHP.cpp        | 2 +-
 src/examples/test_yaml.cpp              | 2 +-
 src/{pinholeTools.h => pinhole_tools.h} | 2 +-
 src/processor_image_landmark.cpp        | 2 +-
 src/sensor_camera.cpp                   | 3 ++-
 src/test/gtest_pinhole.cpp              | 2 +-
 10 files changed, 11 insertions(+), 10 deletions(-)
 rename src/{pinholeTools.h => pinhole_tools.h} (99%)

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9adb71971..152595422 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -207,7 +207,7 @@ SET(HDRS_BASE
     map_base.h
     motion_buffer.h
     node_base.h
-    pinholeTools.h
+    pinhole_tools.h
     problem.h
     processor_base.h
     processor_capture_holder.h
diff --git a/src/constraint_AHP.h b/src/constraint_AHP.h
index d70ddd065..6cd28295e 100644
--- a/src/constraint_AHP.h
+++ b/src/constraint_AHP.h
@@ -5,8 +5,8 @@
 #include "constraint_autodiff.h"
 #include "landmark_AHP.h"
 #include "sensor_camera.h"
-#include "pinholeTools.h"
 #include "feature_point_image.h"
+#include "pinhole_tools.h"
 
 #include <iomanip> //setprecision
 
diff --git a/src/examples/test_constraint_AHP.cpp b/src/examples/test_constraint_AHP.cpp
index 91a2ba19e..edc6cdd44 100644
--- a/src/examples/test_constraint_AHP.cpp
+++ b/src/examples/test_constraint_AHP.cpp
@@ -1,10 +1,10 @@
+#include "pinhole_tools.h"
 #include "landmark_AHP.h"
 #include "constraint_AHP.h"
 #include "state_block.h"
 #include "state_quaternion.h"
 #include "sensor_camera.h"
 #include "capture_image.h"
-#include "pinholeTools.h"
 
 int main()
 {
diff --git a/src/examples/test_projection_points.cpp b/src/examples/test_projection_points.cpp
index 9033c4497..fd22caf16 100644
--- a/src/examples/test_projection_points.cpp
+++ b/src/examples/test_projection_points.cpp
@@ -7,7 +7,7 @@
 #include <iostream>
 
 //wolf includes
-#include "pinholeTools.h"
+#include "pinhole_tools.h"
 
 
 int main(int argc, char** argv)
diff --git a/src/examples/test_simple_AHP.cpp b/src/examples/test_simple_AHP.cpp
index 7429435a6..8c9a029a9 100644
--- a/src/examples/test_simple_AHP.cpp
+++ b/src/examples/test_simple_AHP.cpp
@@ -7,8 +7,8 @@
 
 #include "wolf.h"
 #include "frame_base.h"
+#include "pinhole_tools.h"
 #include "sensor_camera.h"
-#include "pinholeTools.h"
 #include "rotations.h"
 #include "capture_image.h"
 #include "landmark_AHP.h"
diff --git a/src/examples/test_yaml.cpp b/src/examples/test_yaml.cpp
index 5b4f9f553..217a5adac 100644
--- a/src/examples/test_yaml.cpp
+++ b/src/examples/test_yaml.cpp
@@ -5,7 +5,7 @@
  *      \author: jsola
  */
 
-#include "pinholeTools.h"
+#include "pinhole_tools.h"
 #include "yaml/yaml_conversion.h"
 #include "processor_image_feature.h"
 #include "factory.h"
diff --git a/src/pinholeTools.h b/src/pinhole_tools.h
similarity index 99%
rename from src/pinholeTools.h
rename to src/pinhole_tools.h
index eb8734075..bfb649787 100644
--- a/src/pinholeTools.h
+++ b/src/pinhole_tools.h
@@ -2,7 +2,7 @@
 #define PINHOLETOOLS_H
 
 /**
- * \file pinholeTools.h
+ * \file pinhole_tools.h
  *
  * \date 06/04/2010
  * \author jsola
diff --git a/src/processor_image_landmark.cpp b/src/processor_image_landmark.cpp
index e9bd3cff8..7429f8b2f 100644
--- a/src/processor_image_landmark.cpp
+++ b/src/processor_image_landmark.cpp
@@ -1,11 +1,11 @@
 #include "processor_image_landmark.h"
+#include "pinhole_tools.h"
 
 #include "landmark_corner_2D.h"
 #include "landmark_AHP.h"
 #include "constraint_corner_2D.h"
 #include "constraint_AHP.h"
 #include "sensor_camera.h"
-#include "pinholeTools.h"
 #include "trajectory_base.h"
 #include "map_base.h"
 
diff --git a/src/sensor_camera.cpp b/src/sensor_camera.cpp
index 79e6ae700..36e6c9ad5 100644
--- a/src/sensor_camera.cpp
+++ b/src/sensor_camera.cpp
@@ -1,7 +1,8 @@
 #include "sensor_camera.h"
+
+#include "pinhole_tools.h"
 #include "state_block.h"
 #include "state_quaternion.h"
-#include "pinholeTools.h"
 
 namespace wolf
 {
diff --git a/src/test/gtest_pinhole.cpp b/src/test/gtest_pinhole.cpp
index 68b951c00..b46e682ab 100644
--- a/src/test/gtest_pinhole.cpp
+++ b/src/test/gtest_pinhole.cpp
@@ -5,9 +5,9 @@
  *      Author: jsola
  */
 
+#include "pinhole_tools.h"
 #include "utils_gtest.h"
 
-#include "../pinholeTools.h"
 
 using namespace Eigen;
 using namespace wolf;
-- 
GitLab