Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
pcl::filters::ConvolvingKernel< PointInT, PointOutT > Class Template Reference

Class ConvolvingKernel base class for all convolving kernels. More...

#include <convolution_3d.h>

Inheritance diagram for pcl::filters::ConvolvingKernel< PointInT, PointOutT >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr
< const ConvolvingKernel
< PointInT, PointOutT > > 
ConstPtr
typedef PointCloud< PointInT >
::ConstPtr 
PointCloudInConstPtr
typedef boost::shared_ptr
< ConvolvingKernel< PointInT,
PointOutT > > 
Ptr

Public Member Functions

 ConvolvingKernel ()
 empty constructor
virtual bool initCompute ()
 Must call this methode before doing any computation.
virtual PointOutT operator() (const std::vector< int > &indices, const std::vector< float > &distances)=0
 Convolve point at the center of this local information.
void setInputCloud (const PointCloudInConstPtr &input)
 Set input cloud.
virtual ~ConvolvingKernel ()
 empty destructor

Static Public Member Functions

static void makeInfinite (PointOutT &p)
 Utility function that annihilates a point making it fail the pcl::isFinite test.

Protected Attributes

PointCloudInConstPtr input_
 source cloud

Detailed Description

template<typename PointInT, typename PointOutT>
class pcl::filters::ConvolvingKernel< PointInT, PointOutT >

Class ConvolvingKernel base class for all convolving kernels.

Definition at line 55 of file convolution_3d.h.


Member Typedef Documentation

template<typename PointInT , typename PointOutT >
typedef boost::shared_ptr<const ConvolvingKernel<PointInT, PointOutT> > pcl::filters::ConvolvingKernel< PointInT, PointOutT >::ConstPtr
template<typename PointInT , typename PointOutT >
typedef PointCloud<PointInT>::ConstPtr pcl::filters::ConvolvingKernel< PointInT, PointOutT >::PointCloudInConstPtr

Definition at line 61 of file convolution_3d.h.

template<typename PointInT , typename PointOutT >
typedef boost::shared_ptr<ConvolvingKernel<PointInT, PointOutT> > pcl::filters::ConvolvingKernel< PointInT, PointOutT >::Ptr

Constructor & Destructor Documentation

template<typename PointInT , typename PointOutT >
pcl::filters::ConvolvingKernel< PointInT, PointOutT >::ConvolvingKernel ( ) [inline]

empty constructor

Definition at line 64 of file convolution_3d.h.

template<typename PointInT , typename PointOutT >
virtual pcl::filters::ConvolvingKernel< PointInT, PointOutT >::~ConvolvingKernel ( ) [inline, virtual]

empty destructor

Definition at line 67 of file convolution_3d.h.


Member Function Documentation

template<typename PointInT , typename PointOutT >
virtual bool pcl::filters::ConvolvingKernel< PointInT, PointOutT >::initCompute ( ) [inline, virtual]

Must call this methode before doing any computation.

Note:
make sure to override this with at least
 bool initCompute ()
 {
   return (true);
 }
in your kernel interface, else you are going nowhere!

Reimplemented in pcl::filters::GaussianKernel< PointInT, PointOutT >.

Definition at line 94 of file convolution_3d.h.

template<typename PointInT , typename PointOutT >
static void pcl::filters::ConvolvingKernel< PointInT, PointOutT >::makeInfinite ( PointOutT p) [inline, static]

Utility function that annihilates a point making it fail the pcl::isFinite test.

Parameters:
in/out]p point to annihilate

Definition at line 100 of file convolution_3d.h.

template<typename PointInT , typename PointOutT >
virtual PointOutT pcl::filters::ConvolvingKernel< PointInT, PointOutT >::operator() ( const std::vector< int > &  indices,
const std::vector< float > &  distances 
) [pure virtual]

Convolve point at the center of this local information.

Parameters:
[in]indicesindices of the point in the source point cloud
[in]distanceseuclidean distance squared from the query point
Returns:
the convolved point

Implemented in pcl::filters::GaussianKernelRGB< PointInT, PointOutT >, and pcl::filters::GaussianKernel< PointInT, PointOutT >.

template<typename PointInT , typename PointOutT >
void pcl::filters::ConvolvingKernel< PointInT, PointOutT >::setInputCloud ( const PointCloudInConstPtr input) [inline]

Set input cloud.

Parameters:
[in]inputsource point cloud

Definition at line 73 of file convolution_3d.h.


Member Data Documentation

template<typename PointInT , typename PointOutT >
PointCloudInConstPtr pcl::filters::ConvolvingKernel< PointInT, PointOutT >::input_ [protected]

source cloud

Definition at line 107 of file convolution_3d.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:43:55