38#ifndef PCL_GRAPH_POINT_CLOUD_GRAPH_CONCEPT_H
39#define PCL_GRAPH_POINT_CLOUD_GRAPH_CONCEPT_H
41#include <boost/concept/detail/concept_def.hpp>
42#include <boost/graph/graph_concepts.hpp>
106 BOOST_concept(PointCloudGraph, (G)) :
boost::concepts::Graph<G>
109 typedef typename boost::vertex_bundle_type<G>::type vertex_bundled;
110 typedef typename boost::graph_traits<G>::vertex_descriptor vertex_descriptor;
117 (boost::mpl::not_<boost::is_same<vertex_bundled, boost::no_property>>::value));
118 BOOST_STATIC_ASSERT((boost::is_same<vertex_bundled, point_type>::value));
120 BOOST_CONCEPT_USAGE(PointCloudGraph)
122 BOOST_CONCEPT_ASSERT(
123 (boost::concepts::PropertyGraph<G, vertex_descriptor, boost::vertex_bundle_t>));
127 const_constraints(g);
130 void const_constraints(
const G& cg)
138 point_cloud_const_ptr pc;
139 pcl::PointIndices::Ptr i;
146 using pcl::graph::concepts::PointCloudGraphConcept;
150#include <boost/concept/detail/concept_undef.hpp>
pcl::PointIndices::Ptr indices(const PCG &g)
Retrieve the indices of the points of the point cloud stored in a point cloud graph that actually bel...
pcl::PointCloud< P >::Ptr point_cloud(PCG &g)
Retrieve the point cloud stored in a point cloud graph.
Graph::point_cloud_ptr point_cloud_ptr
The type of a shared pointer to PCL point cloud the graph can be viewed as.
Graph::point_cloud_type point_cloud_type
The type of PCL point cloud the graph can be viewed as.
Graph::point_type point_type
The type of PCL points bundled in vertices.
Graph::point_cloud_const_ptr point_cloud_const_ptr
The type of a shared pointer to const PCL point cloud the graph can be viewed as.