MCPcopy Create free account
hub / github.com/LimHyungTae/patchwork / PointT2XYZI

Function PointT2XYZI

include/patchwork/utils.hpp:72–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 id))
71
72void PointT2XYZI(pcl::PointCloud<PointXYZILID> &src, pcl::PointCloud<pcl::PointXYZI>::Ptr dst) {
73 dst->points.clear();
74 for (const auto &pt : src.points) {
75 pcl::PointXYZI pt_xyzi;
76 pt_xyzi.x = pt.x;
77 pt_xyzi.y = pt.y;
78 pt_xyzi.z = pt.z;
79 pt_xyzi.intensity = pt.intensity;
80 dst->points.push_back(pt_xyzi);
81 }
82}
83std::vector<int> outlier_classes = {UNLABELED, OUTLIER};
84std::vector<int> ground_classes =
85 {ROAD, PARKING, SIDEWALKR, OTHER_GROUND, LANE_MARKING, VEGETATION, TERRAIN};

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected