Vertices.h
#pragma once
#include <string>
#include <vector>
#include <ostream>
#include <boost/shared_ptr.hpp>
#include <pcl/pcl_macros.h>
namespace pcl
{
/** \brief Describes a set of vertices in a polygon mesh, by basically
* storing an array of indices.
*/
struct Vertices
{
Vertices ()
{}
std::vector<std::uint32_t> vertices;
public:
using Ptr = shared_ptr<Vertices>;
using ConstPtr = shared_ptr<const Vertices>;
}; // struct Vertices
using VerticesPtr = Vertices::Ptr;
using VerticesConstPtr = Vertices::ConstPtr;
inline std::ostream& operator<<(std::ostream& s, const ::pcl::Vertices & v)
{
s << "vertices[]" << std::endl;
for (std::size_t i = 0; i < v.vertices.size (); ++i)
{
s << " vertices[" << i << "]: ";
s << " " << v.vertices[i] << std::endl;
}
return (s);
}
} // namespace pcl
pcl_macros.h
Defines all the PCL and non-PCL macros used.
pcl
This file defines compatibility wrappers for low level I/O functions.
Definition: convolution.h:45
pcl::Vertices::Vertices
Vertices()
Definition: Vertices.h:16
pcl::Vertices::vertices
std::vector< std::uint32_t > vertices
Definition: Vertices.h:19
pcl::VerticesConstPtr
Vertices::ConstPtr VerticesConstPtr
Definition: Vertices.h:28
pcl::VerticesPtr
Vertices::Ptr VerticesPtr
Definition: Vertices.h:27
pcl::operator<<
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
Definition: bivariate_polynomial.hpp:229
pcl::Vertices::Ptr
shared_ptr< Vertices > Ptr
Definition: Vertices.h:22
pcl::Vertices
Describes a set of vertices in a polygon mesh, by basically storing an array of indices.
Definition: Vertices.h:14
pcl::Vertices::ConstPtr
shared_ptr< const Vertices > ConstPtr
Definition: Vertices.h:23
pcl::shared_ptr
boost::shared_ptr< T > shared_ptr
Alias for boost::shared_ptr.
Definition: pcl_macros.h:90