plane_fitting_ransac.cpp
Go to the documentation of this file.
1 #include "plane_fitting_ransac.h"
2 
4 
5 
6 using namespace visionx;
7 
8 
9 #define DEFINE_fitPlaneRansac_PointT(PointT) \
10  std::optional<tools::PlaneFittingResult> \
11  tools::fitPlaneRansac(pcl::PointCloud< PointT >::Ptr cloud, double distanceThreshold, \
12  pcl::PointIndices::Ptr indices) \
13  { \
14  return fitPlaneRansac< PointT >(cloud, distanceThreshold, indices); \
15  }
16 
17 DEFINE_fitPlaneRansac_PointT(pcl::PointXYZ)
18 DEFINE_fitPlaneRansac_PointT(pcl::PointXYZRGB)
19 DEFINE_fitPlaneRansac_PointT(pcl::PointXYZRGBA)
20 DEFINE_fitPlaneRansac_PointT(pcl::PointXYZRGBL)
21 
22 
23 #undef DEFINE_fitPlaneRansac_PointT
DEFINE_fitPlaneRansac_PointT
#define DEFINE_fitPlaneRansac_PointT(PointT)
Definition: plane_fitting_ransac.cpp:9
visionx
ArmarX headers.
Definition: OpenPoseStressTest.h:38
plane_fitting_ransac.h
plane_fitting_ransac.hpp