W3cubDocs

/PointCloudLibrary

VoxelGrid assembles a local 3D grid over a given PointCloud, and downsamples + filters the data. More...

#include </__w/1/s/cuda/filters/include/pcl/cuda/filters/voxel_grid.h>

Public Types

using PointCloud = typename PCLCUDABase< CloudT >::PointCloud
using PointCloudPtr = typename PointCloud::Ptr
using PointCloudConstPtr = typename PointCloud::ConstPtr
- Public Types inherited from pcl_cuda::Filter< CloudT >
using PointCloud = typename PCLCUDABase< CloudT >::PointCloud
using PointCloudPtr = typename PointCloud::Ptr
using PointCloudConstPtr = typename PointCloud::ConstPtr

Public Member Functions

VoxelGrid ()
Empty constructor. More...
- Public Member Functions inherited from pcl_cuda::Filter< CloudT >
Filter ()
Empty constructor. More...
void setFilterFieldName (const std::string &field_name)
Provide the name of the field to be used for filtering data. More...
const std::string getFilterFieldName ()
Get the name of the field used for filtering. More...
void setFilterLimits (const double &limit_min, const double &limit_max)
Set the field filter limits. More...
void getFilterLimits (double &limit_min, double &limit_max)
Get the field filter limits (min/max) set by the user. More...
void setFilterLimitsNegative (const bool limit_negative)
Set to true if we want to return the data outside the interval specified by setFilterLimits (min, max). More...
void getFilterLimitsNegative (bool &limit_negative)
Get whether the data outside the interval (min/max) is to be returned (true) or inside (false). More...
bool getFilterLimitsNegative ()
Get whether the data outside the interval (min/max) is to be returned (true) or inside (false). More...
void filter (PointCloud &output)
Calls the filtering method and returns the filtered dataset on the device. More...

Protected Member Functions

void applyFilter (PointCloud &output)
Filter a Point Cloud. More...
- Protected Member Functions inherited from pcl_cuda::Filter< CloudT >
const std::string & getClassName () const
Get a string representation of the name of this class. More...

Additional Inherited Members

- Protected Attributes inherited from pcl_cuda::Filter< CloudT >
std::string filter_name_
The filter name. More...
std::string filter_field_name_
The desired user filter field name. More...
double filter_limit_min_
The minimum allowed filter value a point will be considered from. More...
double filter_limit_max_
The maximum allowed filter value a point will be considered from. More...
bool filter_limit_negative_
Set to true if we want to return the data outside (filter_limit_min_;filter_limit_max_). More...

Detailed Description

template<typename CloudT>
class pcl_cuda::VoxelGrid< CloudT >

VoxelGrid assembles a local 3D grid over a given PointCloud, and downsamples + filters the data.

Definition at line 52 of file voxel_grid.h.

Member Typedef Documentation

PointCloud

template<typename CloudT >
using pcl_cuda::VoxelGrid< CloudT >::PointCloud = typename PCLCUDABase<CloudT>::PointCloud

Definition at line 57 of file voxel_grid.h.

PointCloudConstPtr

template<typename CloudT >
using pcl_cuda::VoxelGrid< CloudT >::PointCloudConstPtr = typename PointCloud::ConstPtr

Definition at line 59 of file voxel_grid.h.

PointCloudPtr

template<typename CloudT >
using pcl_cuda::VoxelGrid< CloudT >::PointCloudPtr = typename PointCloud::Ptr

Definition at line 58 of file voxel_grid.h.

Constructor & Destructor Documentation

VoxelGrid()

template<typename CloudT >
pcl_cuda::VoxelGrid< CloudT >::VoxelGrid ( )
inline

Empty constructor.

Definition at line 62 of file voxel_grid.h.

References pcl_cuda::Filter< CloudT >::filter_name_.

Member Function Documentation

applyFilter()

template<typename CloudT >
void pcl_cuda::VoxelGrid< CloudT >::applyFilter ( PointCloud & output )
inlineprotectedvirtual

Filter a Point Cloud.

Parameters
output the resultant point cloud message

Implements pcl_cuda::Filter< CloudT >.

Definition at line 72 of file voxel_grid.h.


The documentation for this class was generated from the following file:
  • /__w/1/s/cuda/filters/include/pcl/cuda/filters/voxel_grid.h

© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl__cuda_1_1_voxel_grid.html