Point Cloud Library (PCL)  1.14.0-dev
List of all members | Classes | Public Types | Public Member Functions | Protected Member Functions
pcl::ColorGradientDOTModality< PointInT > Class Template Reference

#include <pcl/recognition/color_gradient_dot_modality.h>

+ Inheritance diagram for pcl::ColorGradientDOTModality< PointInT >:
+ Collaboration diagram for pcl::ColorGradientDOTModality< PointInT >:

Classes

struct  Candidate
 

Public Types

using PointCloudIn = pcl::PointCloud< PointInT >
 
- Public Types inherited from pcl::PCLBase< PointInT >
using PointCloud = pcl::PointCloud< PointInT >
 
using PointCloudPtr = typename PointCloud::Ptr
 
using PointCloudConstPtr = typename PointCloud::ConstPtr
 
using PointIndicesPtr = PointIndices::Ptr
 
using PointIndicesConstPtr = PointIndices::ConstPtr
 

Public Member Functions

 ColorGradientDOTModality (std::size_t bin_size)
 
virtual ~ColorGradientDOTModality ()=default
 
void setGradientMagnitudeThreshold (const float threshold)
 
QuantizedMapgetDominantQuantizedMap ()
 
QuantizedMap computeInvariantQuantizedMap (const MaskMap &mask, const RegionXY &region)
 
virtual void setInputCloud (const typename PointCloudIn::ConstPtr &cloud)
 Provide a pointer to the input dataset (overwrites the PCLBase::setInputCloud method) More...
 
virtual void processInputData ()
 
- Public Member Functions inherited from pcl::DOTModality
virtual ~DOTModality ()=default
 
- Public Member Functions inherited from pcl::PCLBase< PointInT >
 PCLBase ()
 Empty constructor. More...
 
 PCLBase (const PCLBase &base)
 Copy constructor. More...
 
virtual ~PCLBase ()=default
 Destructor. More...
 
virtual void setInputCloud (const PointCloudConstPtr &cloud)
 Provide a pointer to the input dataset. More...
 
PointCloudConstPtr const getInputCloud () const
 Get a pointer to the input point cloud dataset. More...
 
virtual void setIndices (const IndicesPtr &indices)
 Provide a pointer to the vector of indices that represents the input data. More...
 
virtual void setIndices (const IndicesConstPtr &indices)
 Provide a pointer to the vector of indices that represents the input data. More...
 
virtual void setIndices (const PointIndicesConstPtr &indices)
 Provide a pointer to the vector of indices that represents the input data. More...
 
virtual void setIndices (std::size_t row_start, std::size_t col_start, std::size_t nb_rows, std::size_t nb_cols)
 Set the indices for the points laying within an interest region of the point cloud. More...
 
IndicesPtr getIndices ()
 Get a pointer to the vector of indices used. More...
 
IndicesConstPtr const getIndices () const
 Get a pointer to the vector of indices used. More...
 
const PointInT & operator[] (std::size_t pos) const
 Override PointCloud operator[] to shorten code. More...
 

Protected Member Functions

void computeMaxColorGradients ()
 
void computeDominantQuantizedGradients ()
 
- Protected Member Functions inherited from pcl::PCLBase< PointInT >
bool initCompute ()
 This method should get called before starting the actual computation. More...
 
bool deinitCompute ()
 This method should get called after finishing the actual computation. More...
 

Additional Inherited Members

- Protected Attributes inherited from pcl::PCLBase< PointInT >
PointCloudConstPtr input_
 The input point cloud dataset. More...
 
IndicesPtr indices_
 A pointer to the vector of point indices to use. More...
 
bool use_indices_
 Set to true if point indices are used. More...
 
bool fake_indices_
 If no set of indices are given, we construct a set of fake indices that mimic the input PointCloud. More...
 

Detailed Description

template<typename PointInT>
class pcl::ColorGradientDOTModality< PointInT >

Definition at line 52 of file color_gradient_dot_modality.h.

Member Typedef Documentation

◆ PointCloudIn

template<typename PointInT >
using pcl::ColorGradientDOTModality< PointInT >::PointCloudIn = pcl::PointCloud<PointInT>

Definition at line 72 of file color_gradient_dot_modality.h.

Constructor & Destructor Documentation

◆ ColorGradientDOTModality()

template<typename PointInT >
pcl::ColorGradientDOTModality< PointInT >::ColorGradientDOTModality ( std::size_t  bin_size)

Definition at line 139 of file color_gradient_dot_modality.h.

◆ ~ColorGradientDOTModality()

template<typename PointInT >
virtual pcl::ColorGradientDOTModality< PointInT >::~ColorGradientDOTModality ( )
virtualdefault

Member Function Documentation

◆ computeDominantQuantizedGradients()

template<typename PointInT >
void pcl::ColorGradientDOTModality< PointInT >::computeDominantQuantizedGradients
protected

Definition at line 239 of file color_gradient_dot_modality.h.

◆ computeInvariantQuantizedMap()

template<typename PointInT >
pcl::QuantizedMap pcl::ColorGradientDOTModality< PointInT >::computeInvariantQuantizedMap ( const MaskMap mask,
const RegionXY region 
)
virtual

◆ computeMaxColorGradients()

template<typename PointInT >
void pcl::ColorGradientDOTModality< PointInT >::computeMaxColorGradients
protected

◆ getDominantQuantizedMap()

template<typename PointInT >
QuantizedMap& pcl::ColorGradientDOTModality< PointInT >::getDominantQuantizedMap ( )
inlinevirtual

Implements pcl::DOTModality.

Definition at line 91 of file color_gradient_dot_modality.h.

◆ processInputData()

template<typename PointInT >
void pcl::ColorGradientDOTModality< PointInT >::processInputData
virtual

Definition at line 148 of file color_gradient_dot_modality.h.

◆ setGradientMagnitudeThreshold()

template<typename PointInT >
void pcl::ColorGradientDOTModality< PointInT >::setGradientMagnitudeThreshold ( const float  threshold)
inline

Definition at line 79 of file color_gradient_dot_modality.h.

◆ setInputCloud()

template<typename PointInT >
virtual void pcl::ColorGradientDOTModality< PointInT >::setInputCloud ( const typename PointCloudIn::ConstPtr cloud)
inlinevirtual

Provide a pointer to the input dataset (overwrites the PCLBase::setInputCloud method)

Parameters
cloudthe const boost shared pointer to a PointCloud message

Definition at line 104 of file color_gradient_dot_modality.h.

References pcl::PCLBase< PointInT >::input_.


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