PointIndices.h
#ifndef PCL_MESSAGE_POINTINDICES_H
#define PCL_MESSAGE_POINTINDICES_H
#include <string>
#include <vector>
#include <ostream>
// Include the correct Header path here
#include <pcl/PCLHeader.h>
namespace pcl
{
struct PointIndices
{
PointIndices () : header (), indices ()
{}
::pcl::PCLHeader header;
std::vector<int> indices;
public:
typedef boost::shared_ptr< ::pcl::PointIndices> Ptr;
typedef boost::shared_ptr< ::pcl::PointIndices const> ConstPtr;
}; // struct PointIndices
typedef boost::shared_ptr< ::pcl::PointIndices> PointIndicesPtr;
typedef boost::shared_ptr< ::pcl::PointIndices const> PointIndicesConstPtr;
inline std::ostream& operator << (std::ostream& s, const ::pcl::PointIndices &v)
{
s << "header: " << std::endl;
s << " " << v.header;
s << "indices[]" << std::endl;
for (size_t i = 0; i < v.indices.size (); ++i)
{
s << " indices[" << i << "]: ";
s << " " << v.indices[i] << std::endl;
}
return (s);
}
} // namespace pcl
#endif // PCL_MESSAGE_POINTINDICES_H
pcl
Definition: cloud_iterator.h:46
pcl::PointIndices::PointIndices
PointIndices()
Definition: PointIndices.h:14
pcl::PointIndices::indices
std::vector< int > indices
Definition: PointIndices.h:19
pcl::operator<<
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
Definition: bivariate_polynomial.hpp:230
pcl::PointIndices
Definition: PointIndices.h:12
pcl::PointIndices::header
::pcl::PCLHeader header
Definition: PointIndices.h:17
pcl::PointIndicesConstPtr
boost::shared_ptr< ::pcl::PointIndices const > PointIndicesConstPtr
Definition: PointIndices.h:27
pcl::PointIndices::Ptr
boost::shared_ptr< ::pcl::PointIndices > Ptr
Definition: PointIndices.h:22
pcl::PointIndicesPtr
boost::shared_ptr< ::pcl::PointIndices > PointIndicesPtr
Definition: PointIndices.h:26
pcl::PointIndices::ConstPtr
boost::shared_ptr< ::pcl::PointIndices const > ConstPtr
Definition: PointIndices.h:23
pcl::PCLHeader
Definition: PCLHeader.h:16