Removes points with x, y, or z equal to NaN. More...
#include </__w/1/s/cuda/filters/include/pcl/cuda/filters/filter.h>
Public Types |
|
using | PointCloud = typename PCLCUDABase< CloudT >::PointCloud |
using | PointCloudPtr = typename PointCloud::Ptr |
using | PointCloudConstPtr = typename PointCloud::ConstPtr |
Public Member Functions |
|
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 |
|
virtual void | applyFilter (PointCloud &output)=0 |
Abstract filter method. More... |
|
const std::string & | getClassName () const |
Get a string representation of the name of this class. More... |
|
Protected Attributes |
|
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::Filter< CloudT >
Removes points with x, y, or z equal to NaN.
- Parameters
-
cloud_in the input point cloud cloud_out the input point cloud index the mapping (ordered): cloud_out[i] = cloud_in[index[i]]
- Note
- The density of the point cloud is lost.
- Can be called with cloud_in == cloud_out
Filter represents the base filter class. Some generic 3D operations that are applicable to all filters are defined here as static methods.
Member Typedef Documentation
PointCloud
using pcl_cuda::Filter< CloudT >::PointCloud = typename PCLCUDABase<CloudT>::PointCloud |
PointCloudConstPtr
using pcl_cuda::Filter< CloudT >::PointCloudConstPtr = typename PointCloud::ConstPtr |
PointCloudPtr
using pcl_cuda::Filter< CloudT >::PointCloudPtr = typename PointCloud::Ptr |
Constructor & Destructor Documentation
Filter()
|
inline |
Member Function Documentation
applyFilter()
|
protectedpure virtual |
Abstract filter method.
The implementation needs to set output.{points, width, height, is_dense}.
Implemented in pcl_cuda::PassThrough< PointCloudSOA< Device > >, pcl_cuda::VoxelGrid< PointCloudSOA< Device > >, pcl_cuda::PassThrough< PointCloudAOS< Device > >, pcl_cuda::PassThrough< CloudT >, pcl_cuda::VoxelGrid< PointCloudAOS< Device > >, and pcl_cuda::VoxelGrid< CloudT >.
Referenced by pcl_cuda::Filter< PointCloudAOS< Device > >::filter().
filter()
|
inline |
getClassName()
|
inlineprotected |
getFilterFieldName()
|
inline |
getFilterLimits()
|
inline |
getFilterLimitsNegative() [1/2]
|
inline |
getFilterLimitsNegative() [2/2]
|
inline |
Get whether the data outside the interval (min/max) is to be returned (true) or inside (false).
- Parameters
-
limit_negative the limit_negative flag
- Deprecated:
-
Scheduled for removal in version 1 . 16 : "use bool getFilterLimitsNegative() instead"
setFilterFieldName()
|
inline |
setFilterLimits()
|
inline |
setFilterLimitsNegative()
|
inline |
Member Data Documentation
filter_field_name_
|
protected |
The desired user filter field name.
Definition at line 161 of file filter.h.
Referenced by pcl_cuda::Filter< PointCloudAOS< Device > >::getFilterFieldName(), and pcl_cuda::Filter< PointCloudAOS< Device > >::setFilterFieldName().
filter_limit_max_
|
protected |
The maximum allowed filter value a point will be considered from.
Definition at line 167 of file filter.h.
Referenced by pcl_cuda::Filter< PointCloudAOS< Device > >::getFilterLimits(), and pcl_cuda::Filter< PointCloudAOS< Device > >::setFilterLimits().
filter_limit_min_
|
protected |
The minimum allowed filter value a point will be considered from.
Definition at line 164 of file filter.h.
Referenced by pcl_cuda::Filter< PointCloudAOS< Device > >::getFilterLimits(), and pcl_cuda::Filter< PointCloudAOS< Device > >::setFilterLimits().
filter_limit_negative_
|
protected |
Set to true if we want to return the data outside (filter_limit_min_;filter_limit_max_).
Default: false.
Definition at line 170 of file filter.h.
Referenced by pcl_cuda::Filter< PointCloudAOS< Device > >::getFilterLimitsNegative(), and pcl_cuda::Filter< PointCloudAOS< Device > >::setFilterLimitsNegative().
filter_name_
|
protected |
The filter name.
Definition at line 158 of file filter.h.
Referenced by pcl_cuda::Filter< PointCloudAOS< Device > >::getClassName(), pcl_cuda::PassThrough< CloudT >::PassThrough(), pcl_cuda::PassThrough< PointCloudAOS< Device > >::PassThrough(), pcl_cuda::PassThrough< PointCloudSOA< Device > >::PassThrough(), pcl_cuda::VoxelGrid< CloudT >::VoxelGrid(), pcl_cuda::VoxelGrid< PointCloudAOS< Device > >::VoxelGrid(), and pcl_cuda::VoxelGrid< PointCloudSOA< Device > >::VoxelGrid().
The documentation for this class was generated from the following file:
- /__w/1/s/cuda/filters/include/pcl/cuda/filters/filter.h
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl__cuda_1_1_filter.html