VoxelGridGraphBuilder< PointT, GraphT > Class Template Reference

This class builds a BGL graph representing an input dataset by using octree::OctreePointCloud. More...

#include <VisionX/libraries/PointCloudGraph/voxel_grid_graph_builder.h>

+ Inheritance diagram for VoxelGridGraphBuilder< PointT, GraphT >:

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< VertexIdpoint_to_vertex_map_
 

Detailed Description

template<typename PointT, typename GraphT>
class pcl::graph::VoxelGridGraphBuilder< PointT, GraphT >

This class builds a BGL graph representing an input dataset by using octree::OctreePointCloud.

For additional information see documentation for GraphBuilder.

Author
Sergey Alexandrov

Definition at line 54 of file voxel_grid_graph_builder.h.

Constructor & Destructor Documentation

◆ VoxelGridGraphBuilder()

VoxelGridGraphBuilder ( float  voxel_resolution)
inline

Constructor.

Parameters
[in]voxel_resolutionresolution of the voxel grid

Definition at line 72 of file voxel_grid_graph_builder.h.

Member Function Documentation

◆ compute()

void compute ( GraphT &  graph)
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.

+ Here is the call graph for this function:

◆ getVoxelResolution()

float getVoxelResolution ( ) const
inline

Definition at line 87 of file voxel_grid_graph_builder.h.

◆ setVoxelResolution()

void setVoxelResolution ( float  resolution)
inline

Definition at line 81 of file voxel_grid_graph_builder.h.


The documentation for this class was generated from the following files: