Go to the documentation of this file.00001
00063 #ifndef COB_MESH_CONVERSION_H
00064 #define COB_MESH_CONVERSION_H
00065
00066 #include <cob_3d_mapping_common/sensor_model.h>
00067
00068 namespace cob_3d_meshing
00069 {
00070 template<typename SensorT = cob_3d_mapping::PrimeSense>
00071 class MeshConversion
00072 {
00073 public:
00074 static inline bool isNeighbor(const Eigen::Vector3f& a, const Eigen::Vector3f& b)
00075 {
00076 return SensorT::areNeighbors(a,b);
00077 }
00078
00079 template<typename PointT, typename MeshT>
00080 static void fromPointCloud(
00081 const typename pcl::PointCloud<PointT>::ConstPtr& pc, MeshT& mesh);
00082 };
00083 }
00084
00085 #include "cob_3d_meshing/impl/mesh_conversion.hpp"
00086
00087 #endif