38 #ifndef PCL_COMMON_CONCATENATE_H_
39 #define PCL_COMMON_CONCATENATE_H_
41 #include <pcl/conversions.h>
45 #ifdef BUILD_Maintainer
47 # if __GNUC__ == 4 && __GNUC_MINOR__ > 3
48 # pragma GCC diagnostic ignored "-Weffc++"
49 # pragma GCC diagnostic ignored "-pedantic"
51 # pragma GCC system_header
53 # elif defined _MSC_VER
54 # pragma warning(push, 1)
63 template<
typename Po
intInT,
typename Po
intOutT>
70 : p1_ (reinterpret_cast<const
PodIn&> (p1))
71 , p2_ (reinterpret_cast<
PodOut&> (p2)) { }
73 template<
typename Key>
inline void
81 BOOST_MPL_ASSERT_MSG ((boost::is_same<InT, OutT>::value),
82 POINT_IN_AND_POINT_OUT_HAVE_DIFFERENT_TYPES_FOR_FIELD,
83 (Key, PointInT&, InT, PointOutT&, OutT));
95 #ifdef BUILD_Maintainer
97 # if __GNUC__ == 4 && __GNUC_MINOR__ > 3
98 # pragma GCC diagnostic warning "-Weffc++"
99 # pragma GCC diagnostic warning "-pedantic"
101 # elif defined _MSC_VER
102 # pragma warning(pop)
106 #endif // PCL_COMMON_CONCATENATE_H_
NdConcatenateFunctor(const PointInT &p1, PointOutT &p2)
traits::POD< PointOutT >::type PodOut
traits::POD< PointInT >::type PodIn
A point structure representing Euclidean xyz coordinates, and the RGB color.
Helper functor structure for concatenate.