Skip to content

Commit

Permalink
Merge pull request #2205 from VelazcoJD/patch-1
Browse files Browse the repository at this point in the history
Public access to VoxelGrid boost pointer.
  • Loading branch information
SergioRAgostinho authored Feb 9, 2018
2 parents ec03687 + 1b8a78e commit 917e4f8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions filters/include/pcl/filters/voxel_grid.h
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,12 @@ namespace pcl
typedef typename Filter<PointT>::PointCloud PointCloud;
typedef typename PointCloud::Ptr PointCloudPtr;
typedef typename PointCloud::ConstPtr PointCloudConstPtr;

public:

typedef boost::shared_ptr< VoxelGrid<PointT> > Ptr;
typedef boost::shared_ptr< const VoxelGrid<PointT> > ConstPtr;


public:

/** \brief Empty constructor. */
VoxelGrid () :
leaf_size_ (Eigen::Vector4f::Zero ()),
Expand Down

0 comments on commit 917e4f8

Please sign in to comment.