38#ifndef PCL_GRAPH_VOXEL_GRID_GRAPH_BUILDER_H
39#define PCL_GRAPH_VOXEL_GRID_GRAPH_BUILDER_H
53 template <
typename Po
intT,
typename GraphT>
57 using PCLBase<PointT>::initCompute;
58 using PCLBase<PointT>::deinitCompute;
59 using PCLBase<PointT>::indices_;
60 using PCLBase<PointT>::input_;
75 virtual void compute(GraphT&
graph);
80 voxel_resolution_ = resolution;
86 return (voxel_resolution_);
91 float voxel_resolution_;
This is an abstract base class for building a BGL-compatible point cloud graph from a point cloud.
boost::graph_traits< GraphT >::vertex_descriptor VertexId
point_cloud_graph_traits< GraphT >::point_type PointOutT
Type of points in the output graph.
std::vector< VertexId > point_to_vertex_map_
PointT PointInT
Type of points in the input cloud.
float getVoxelResolution() const
void setVoxelResolution(float resolution)
VoxelGridGraphBuilder(float voxel_resolution)
Constructor.