Loading...
Searching...
No Matches
Vertices.h
#pragma once
#include <pcl/memory.h>
#include <pcl/pcl_macros.h>
#include <pcl/types.h>
#include <ostream>
namespace pcl
{
/** \brief Describes a set of vertices in a polygon mesh, by basically
* storing an array of indices.
*/
struct Vertices
{
Vertices () = default;
Indices 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
memory.h
Defines functions, macros and traits for allocating and using memory.
pcl
Definition convolution.h:46
pcl::operator<<
std::ostream & operator<<(std::ostream &os, const BivariatePolynomialT< real > &p)
Definition bivariate_polynomial.hpp:238
pcl::Indices
IndicesAllocator<> Indices
Type used for indices in PCL.
Definition types.h:133
pcl::VerticesPtr
Vertices::Ptr VerticesPtr
Definition Vertices.h:26
pcl::VerticesConstPtr
Vertices::ConstPtr VerticesConstPtr
Definition Vertices.h:27
pcl_macros.h
Defines all the PCL and non-PCL macros used.
pcl::Vertices
Describes a set of vertices in a polygon mesh, by basically storing an array of indices.
Definition Vertices.h:15
pcl::Vertices::Vertices
Vertices()=default
pcl::Vertices::ConstPtr
shared_ptr< const Vertices > ConstPtr
Definition Vertices.h:22
pcl::Vertices::Ptr
shared_ptr< Vertices > Ptr
Definition Vertices.h:21
pcl::Vertices::vertices
Indices vertices
Definition Vertices.h:18
types.h
Defines basic non-point types used by PCL.