Skip to content

Commit

Permalink
batch add eigen_base.h to files containing PCL_MAKE_ALIGNED_OPERATOR_NEW
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Ponza committed Feb 18, 2020
1 parent d84853f commit d46cba9
Show file tree
Hide file tree
Showing 128 changed files with 479 additions and 354 deletions.
1 change: 1 addition & 0 deletions 2d/include/pcl/2d/convolution.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#pragma once

#include <pcl/filters/filter.h>
#include <pcl/eigen_base.h>
#include <pcl/pcl_base.h>
#include <pcl/pcl_macros.h>
#include <pcl/point_types.h>
Expand Down
1 change: 1 addition & 0 deletions 2d/include/pcl/2d/edge.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

#include <pcl/2d/convolution.h>
#include <pcl/2d/kernel.h>
#include <pcl/eigen_base.h>
#include <pcl/pcl_base.h>
#include <pcl/pcl_macros.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include <QDebug>

#include <pcl/apps/cloud_composer/items/cloud_composer_item.h>
#include <pcl/eigen_base.h>
#include <pcl/pcl_macros.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/search/kdtree.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

#include <limits>

#include <pcl/eigen_base.h>
#include <pcl/pcl_macros.h>

namespace pcl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

#pragma once

#include <pcl/eigen_base.h>
#include <pcl/pcl_exports.h>
#include <pcl/pcl_macros.h>
#include <pcl/apps/in_hand_scanner/boost.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

#pragma once

#include <pcl/eigen_base.h>
#include <pcl/pcl_exports.h>
#include <pcl/pcl_macros.h>
#include <pcl/common/time.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

#pragma once

#include <pcl/eigen_base.h>
#include <pcl/pcl_exports.h>
#include <pcl/pcl_macros.h>
#include <pcl/common/time.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

#include <cstdint>

#include <pcl/eigen_base.h>
#include <pcl/pcl_exports.h>
#include <pcl/pcl_macros.h>
#include <pcl/apps/in_hand_scanner/eigen.h>
Expand Down
1 change: 1 addition & 0 deletions common/include/pcl/common/centroid.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

#pragma once

#include <pcl/eigen_base.h>
#include <pcl/pcl_macros.h>
#include <pcl/point_cloud.h>
#include <pcl/point_traits.h>
Expand Down
1 change: 1 addition & 0 deletions common/include/pcl/common/impl/accumulators.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#include <boost/fusion/include/as_vector.hpp>
#include <boost/fusion/include/filter_if.hpp>

#include <pcl/eigen_base.h>
#include <pcl/pcl_macros.h>
#include <pcl/point_types.h>

Expand Down
1 change: 1 addition & 0 deletions common/include/pcl/common/poses_from_matches.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

#pragma once

#include <pcl/eigen_base.h>
#include <pcl/pcl_macros.h>
#include <pcl/correspondence.h>

Expand Down
1 change: 1 addition & 0 deletions common/include/pcl/common/vector_average.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

#pragma once

#include <pcl/eigen_base.h>
#include <pcl/pcl_macros.h>
#include <pcl/common/eigen.h>

Expand Down
11 changes: 6 additions & 5 deletions common/include/pcl/correspondence.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@
#pragma once

#ifdef __GNUC__
#pragma GCC system_header
#pragma GCC system_header
#endif

#include <pcl/eigen_base.h>
#include <pcl/make_shared.h>
#include <Eigen/StdVector>
#include <Eigen/Geometry>
Expand All @@ -50,7 +51,7 @@

namespace pcl
{
/** \brief Correspondence represents a match between two entities (e.g., points, descriptors, etc). This is
/** \brief Correspondence represents a match between two entities (e.g., points, descriptors, etc). This is
* represented via the indices of a \a source point and a \a target point, and the distance between them.
*
* \author Dirk Holz, Radu B. Rusu, Bastian Steder
Expand All @@ -68,14 +69,14 @@ namespace pcl
float distance = std::numeric_limits<float>::max();
float weight;
};
/** \brief Standard constructor.

/** \brief Standard constructor.
* Sets \ref index_query to 0, \ref index_match to -1, and \ref distance to FLT_MAX.
*/
inline Correspondence () = default;

/** \brief Constructor. */
inline Correspondence (int _index_query, int _index_match, float _distance) :
inline Correspondence (int _index_query, int _index_match, float _distance) :
index_query (_index_query), index_match (_index_match), distance (_distance)
{}

Expand Down
1 change: 1 addition & 0 deletions common/include/pcl/impl/point_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

#include <Eigen/Core>

#include <pcl/eigen_base.h>
#include <pcl/pcl_macros.h>

// Define all PCL point types
Expand Down
1 change: 1 addition & 0 deletions common/include/pcl/pcl_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#endif

// Include PCL macros such as PCL_ERROR, PCL_MAKE_ALIGNED_OPERATOR_NEW, etc
#include <pcl/eigen_base.h>
#include <pcl/pcl_macros.h>

#include <boost/shared_ptr.hpp>
Expand Down
1 change: 1 addition & 0 deletions common/include/pcl/point_cloud.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#include <Eigen/StdVector>
#include <Eigen/Geometry>
#include <pcl/PCLHeader.h>
#include <pcl/eigen_base.h>
#include <pcl/exceptions.h>
#include <pcl/pcl_macros.h>
#include <pcl/point_traits.h>
Expand Down
3 changes: 2 additions & 1 deletion common/include/pcl/point_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
#pragma GCC system_header
#endif

#include "pcl/pcl_macros.h"
#include <pcl/eigen_base.h>
#include <pcl/pcl_macros.h>

#include <pcl/PCLPointField.h>
#include <boost/mpl/assert.hpp>
Expand Down
Loading

0 comments on commit d46cba9

Please sign in to comment.