PointIndices.h
#pragma once
#include <string>
#include <vector>
#include <ostream>
// Include the correct Header path here
#include <pcl/PCLHeader.h>
namespace pcl
{
struct PointIndices
{
PointIndices ()
{}
::pcl::PCLHeader header;
std::vector<int> indices;
public:
using Ptr = shared_ptr< ::pcl::PointIndices>;
using ConstPtr = shared_ptr<const ::pcl::PointIndices>;
}; // 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
pcl
This file defines compatibility wrappers for low level I/O functions.
Definition: convolution.h:45
pcl::PointIndicesPtr
PointIndices::Ptr PointIndicesPtr
Definition: PointIndices.h:26
pcl::PointIndices::header
::pcl::PCLHeader header
Definition: PointIndices.h:17
pcl::operator<<
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
Definition: bivariate_polynomial.hpp:229
pcl::PointIndices::ConstPtr
shared_ptr< const ::pcl::PointIndices > ConstPtr
Definition: PointIndices.h:23
pcl::PointIndicesConstPtr
PointIndices::ConstPtr PointIndicesConstPtr
Definition: PointIndices.h:27
pcl::PointIndices::indices
std::vector< int > indices
Definition: PointIndices.h:19
pcl::PointIndices
Definition: PointIndices.h:12
pcl::PointIndices::Ptr
shared_ptr< ::pcl::PointIndices > Ptr
Definition: PointIndices.h:22
pcl::PointIndices::PointIndices
PointIndices()
Definition: PointIndices.h:14
pcl::PCLHeader
Definition: PCLHeader.h:15
pcl::shared_ptr
boost::shared_ptr< T > shared_ptr
Alias for boost::shared_ptr.
Definition: pcl_macros.h:90