#pragma once #include // Include the correct Header path here #include #include namespace pcl { struct PointIndices { using Ptr = shared_ptr< ::pcl::PointIndices>; using ConstPtr = shared_ptr; PointIndices () {} ::pcl::PCLHeader header; Indices indices; }; // struct PointIndices using PointIndicesPtr = PointIndices::Ptr; using PointIndicesConstPtr = PointIndices::ConstPtr; inline std::ostream& operator << (std::ostream& s, const ::pcl::PointIndices &v) { s << "header: " << std::endl; s << " " << v.header; s << "indices[]" << std::endl; for (std::size_t i = 0; i < v.indices.size (); ++i) { s << " indices[" << i << "]: "; s << " " << v.indices[i] << std::endl; } return (s); } } // namespace pcl