| 107 | |
| 108 | template <typename PointT> |
| 109 | struct Patch { |
| 110 | bool is_close_to_origin_ = false; // If so, we can set threshold more conservatively |
| 111 | int ring_idx_ = NOT_ASSIGNED; |
| 112 | int sector_idx_ = NOT_ASSIGNED; |
| 113 | |
| 114 | int status_ = NOT_ASSIGNED; |
| 115 | |
| 116 | PCAFeature feature_; |
| 117 | |
| 118 | pcl::PointCloud<PointT> cloud_; |
| 119 | pcl::PointCloud<PointT> ground_; |
| 120 | pcl::PointCloud<PointT> non_ground_; |
| 121 | |
| 122 | void clear() { |
| 123 | if (!cloud_.empty()) cloud_.clear(); |
| 124 | if (!ground_.empty()) ground_.clear(); |
| 125 | if (!non_ground_.empty()) non_ground_.clear(); |
| 126 | } |
| 127 | }; |
| 128 | |
| 129 | template <typename PointT> |
| 130 | class PatchWork { |
nothing calls this directly
no outgoing calls
no test coverage detected