|
This class builds a BGL graph representing an input dataset by using octree::OctreePointCloud. More...
#include <VisionX/libraries/PointCloudGraph/voxel_grid_graph_builder.h>
Public Member Functions | |
virtual void | compute (GraphT &graph) |
Build a graph based on the provided input data. More... | |
float | getVoxelResolution () const |
void | setVoxelResolution (float resolution) |
VoxelGridGraphBuilder (float voxel_resolution) | |
Constructor. More... | |
Public Member Functions inherited from GraphBuilder< PointT, GraphT > | |
const std::vector< VertexId > & | getPointToVertexMap () const |
Get a mapping between points in the input cloud and the vertices in the output graph. More... | |
Additional Inherited Members | |
Public Types inherited from GraphBuilder< PointT, GraphT > | |
typedef PointT | PointInT |
Type of points in the input cloud. More... | |
typedef point_cloud_graph_traits< GraphT >::point_type | PointOutT |
Type of points in the output graph. More... | |
typedef boost::shared_ptr< GraphBuilder< PointT, GraphT > > | Ptr |
typedef boost::graph_traits< GraphT >::vertex_descriptor | VertexId |
Protected Attributes inherited from GraphBuilder< PointT, GraphT > | |
std::vector< VertexId > | point_to_vertex_map_ |
This class builds a BGL graph representing an input dataset by using octree::OctreePointCloud.
For additional information see documentation for GraphBuilder.
Definition at line 54 of file voxel_grid_graph_builder.h.
|
inline |
Constructor.
[in] | voxel_resolution | resolution of the voxel grid |
Definition at line 72 of file voxel_grid_graph_builder.h.
|
virtual |
Build a graph based on the provided input data.
Implements GraphBuilder< PointT, GraphT >.
Definition at line 81 of file voxel_grid_graph_builder.hpp.
|
inline |
Definition at line 87 of file voxel_grid_graph_builder.h.
|
inline |
Definition at line 81 of file voxel_grid_graph_builder.h.