> Though I do not understand why. pcl::PointIndices is a different type and it does not have a cast to vector<int> operator.
Yes, this annoys me too. Honestly, I don't really understand the need for the class at all. I have a feeling the only reason it exists is some archaic ROS association that is no longer needed.