Vertices.h
#ifndef PCL_MESSAGE_VERTICES_H
#define PCL_MESSAGE_VERTICES_H
#include <string>
#include <vector>
#include <ostream>
#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 () : vertices ()
{}
std::vector<uint32_t> vertices;
public:
typedef boost::shared_ptr<Vertices> Ptr;
typedef boost::shared_ptr<Vertices const> ConstPtr;
}; // struct Vertices
typedef boost::shared_ptr<Vertices> VerticesPtr;
typedef boost::shared_ptr<Vertices const> VerticesConstPtr;
inline std::ostream& operator<<(std::ostream& s, const ::pcl::Vertices & v)
{
s << "vertices[]" << std::endl;
for (size_t i = 0; i < v.vertices.size (); ++i)
{
s << " vertices[" << i << "]: ";
s << " " << v.vertices[i] << std::endl;
}
return (s);
}
} // namespace pcl
#endif // PCL_MESSAGE_VERTICES_H
pcl::VerticesPtr
boost::shared_ptr< Vertices > VerticesPtr
Definition: Vertices.h:26
pcl::Vertices::ConstPtr
boost::shared_ptr< Vertices const > ConstPtr
Definition: Vertices.h:22
pcl::Vertices::Vertices
Vertices()
Definition: Vertices.h:15
pcl::Vertices::vertices
std::vector< uint32_t > vertices
Definition: Vertices.h:18
pcl
Definition: cloud_iterator.h:46
pcl::operator<<
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
Definition: bivariate_polynomial.hpp:230
pcl::Vertices
Describes a set of vertices in a polygon mesh, by basically storing an array of indices.
Definition: Vertices.h:13
pcl::VerticesConstPtr
boost::shared_ptr< Vertices const > VerticesConstPtr
Definition: Vertices.h:27
pcl::Vertices::Ptr
boost::shared_ptr< Vertices > Ptr
Definition: Vertices.h:21