Class ConvolvingKernel base class for all convolving kernels. More...
#include <pcl/filters/convolution_3d.h>
Public Types |
|
using | Ptr = shared_ptr< ConvolvingKernel< PointInT, PointOutT > > |
using | ConstPtr = shared_ptr< const ConvolvingKernel< PointInT, PointOutT > > |
using | PointCloudInConstPtr = typename PointCloud< PointInT >::ConstPtr |
Public Member Functions |
|
ConvolvingKernel () | |
empty constructor More... |
|
virtual | ~ConvolvingKernel () |
empty destructor More... |
|
void | setInputCloud (const PointCloudInConstPtr &input) |
Set input cloud. More... |
|
virtual PointOutT | operator() (const Indices &indices, const std::vector< float > &distances)=0 |
Convolve point at the center of this local information. More... |
|
virtual bool | initCompute () |
Must call this method before doing any computation. More... |
|
Static Public Member Functions |
|
static void | makeInfinite (PointOutT &p) |
Utility function that annihilates a point making it fail the pcl::isFinite test. More... |
|
Protected Attributes |
|
PointCloudInConstPtr | input_ |
source cloud More... |
|
Detailed Description
template<typename PointInT, typename PointOutT>
class pcl::filters::ConvolvingKernel< PointInT, PointOutT >
Class ConvolvingKernel base class for all convolving kernels.
Definition at line 52 of file convolution_3d.h.
Member Typedef Documentation
ConstPtr
using pcl::filters::ConvolvingKernel< PointInT, PointOutT >::ConstPtr = shared_ptr<const ConvolvingKernel<PointInT, PointOutT> > |
Definition at line 56 of file convolution_3d.h.
PointCloudInConstPtr
using pcl::filters::ConvolvingKernel< PointInT, PointOutT >::PointCloudInConstPtr = typename PointCloud<PointInT>::ConstPtr |
Definition at line 58 of file convolution_3d.h.
Ptr
using pcl::filters::ConvolvingKernel< PointInT, PointOutT >::Ptr = shared_ptr<ConvolvingKernel<PointInT, PointOutT> > |
Definition at line 55 of file convolution_3d.h.
Constructor & Destructor Documentation
ConvolvingKernel()
|
inline |
empty constructor
Definition at line 61 of file convolution_3d.h.
~ConvolvingKernel()
|
inlinevirtual |
empty destructor
Definition at line 64 of file convolution_3d.h.
Member Function Documentation
initCompute()
|
inlinevirtual |
Must call this method before doing any computation.
- Note
- make sure to override this with at least in your kernel interface, else you are going nowhere!
Reimplemented in pcl::filters::GaussianKernel< PointInT, PointOutT >.
Definition at line 91 of file convolution_3d.h.
makeInfinite()
|
inlinestatic |
Utility function that annihilates a point making it fail the pcl::isFinite test.
- Parameters
-
p point to annihilate
Definition at line 97 of file convolution_3d.h.
operator()()
|
pure virtual |
Convolve point at the center of this local information.
- Parameters
-
[in] indices indices of the point in the source point cloud [in] distances euclidean distance squared from the query point
- Returns
- the convolved point
Implemented in pcl::filters::GaussianKernelRGB< PointInT, PointOutT >, and pcl::filters::GaussianKernel< PointInT, PointOutT >.
setInputCloud()
|
inline |
Set input cloud.
- Parameters
-
[in] input source point cloud
Definition at line 70 of file convolution_3d.h.
References pcl::filters::ConvolvingKernel< PointInT, PointOutT >::input_.
Member Data Documentation
input_
|
protected |
source cloud
Definition at line 104 of file convolution_3d.h.
Referenced by pcl::filters::ConvolvingKernel< PointInT, PointOutT >::setInputCloud().
The documentation for this class was generated from the following file:
- pcl/filters/convolution_3d.h
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1filters_1_1_convolving_kernel.html