We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac3c01 commit acaee56Copy full SHA for acaee56
parser/include/modern/inteface_parser.hpp
@@ -26,6 +26,13 @@ namespace CloudParserLibrary {
26
27
class InterfaceParser {
28
public:
29
+ bool cloud_is_good(pcl::PointCloud<pcl::PointXYZRGB>::Ptr& cloud) {
30
+ if ((cloud->points.size() > 0) or
31
+ (cloud->points[0].x > 0 && cloud->points[0].y > 0 && cloud->points[0].z > 0)) {
32
+ return true;
33
+ }
34
+ return false;
35
36
virtual void load_cloudfile(std::string filename, pcl::PointCloud<pcl::PointXYZRGB>::Ptr& cloud) = 0;
37
};
38
0 commit comments