FeatureWithLocalReferenceFrames provides a public interface for descriptor extractor classes which need a local reference frame at each input keypoint. More...
#include <pcl/features/feature.h>
Public Types |
|
using | PointCloudLRF = pcl::PointCloud< PointRFT > |
using | PointCloudLRFPtr = typename PointCloudLRF::Ptr |
using | PointCloudLRFConstPtr = typename PointCloudLRF::ConstPtr |
Public Member Functions |
|
FeatureWithLocalReferenceFrames () | |
Empty constructor. More... |
|
virtual | ~FeatureWithLocalReferenceFrames () |
Empty destructor. More... |
|
void | setInputReferenceFrames (const PointCloudLRFConstPtr &frames) |
Provide a pointer to the input dataset that contains the local reference frames of the XYZ dataset. More... |
|
PointCloudLRFConstPtr | getInputReferenceFrames () const |
Get a pointer to the local reference frames. More... |
|
Protected Types |
|
using | LRFEstimationPtr = typename Feature< PointInT, PointRFT >::Ptr |
Check if frames_ has been correctly initialized and compute it if needed. More... |
|
Protected Member Functions |
|
virtual bool | initLocalReferenceFrames (const std::size_t &indices_size, const LRFEstimationPtr &lrf_estimation=LRFEstimationPtr()) |
Protected Attributes |
|
PointCloudLRFConstPtr | frames_ |
A boost shared pointer to the local reference frames. More... |
|
bool | frames_never_defined_ |
The user has never set the frames. More... |
|
Detailed Description
template<typename PointInT, typename PointRFT>
class pcl::FeatureWithLocalReferenceFrames< PointInT, PointRFT >
FeatureWithLocalReferenceFrames provides a public interface for descriptor extractor classes which need a local reference frame at each input keypoint.
- Attention
- This interface is for backward compatibility with existing code and in the future it could be merged with pcl::Feature. Subclasses should call the protected method initLocalReferenceFrames () to correctly initialize the frames_ member.
Member Typedef Documentation
LRFEstimationPtr
|
protected |
Check if frames_ has been correctly initialized and compute it if needed.
- Parameters
-
input the subclass' input cloud dataset. lrf_estimation a pointer to a local reference frame estimation class to be used as default.
- Returns
- true if frames_ has been correctly initialized.
PointCloudLRF
using pcl::FeatureWithLocalReferenceFrames< PointInT, PointRFT >::PointCloudLRF = pcl::PointCloud<PointRFT> |
PointCloudLRFConstPtr
using pcl::FeatureWithLocalReferenceFrames< PointInT, PointRFT >::PointCloudLRFConstPtr = typename PointCloudLRF::ConstPtr |
PointCloudLRFPtr
using pcl::FeatureWithLocalReferenceFrames< PointInT, PointRFT >::PointCloudLRFPtr = typename PointCloudLRF::Ptr |
Constructor & Destructor Documentation
FeatureWithLocalReferenceFrames()
|
inline |
~FeatureWithLocalReferenceFrames()
|
inlinevirtual |
Member Function Documentation
getInputReferenceFrames()
|
inline |
initLocalReferenceFrames()
|
protectedvirtual |
Definition at line 294 of file feature.hpp.
setInputReferenceFrames()
|
inline |
Provide a pointer to the input dataset that contains the local reference frames of the XYZ dataset.
In case of search surface is set to be different from the input cloud, local reference frames should correspond to the input cloud, not the search surface!
- Parameters
-
[in] frames the const boost shared pointer to a PointCloud of reference frames.
Member Data Documentation
frames_
|
protected |
A boost shared pointer to the local reference frames.
Definition at line 483 of file feature.h.
Referenced by pcl::FeatureWithLocalReferenceFrames< PointInT, pcl::ReferenceFrame >::getInputReferenceFrames(), and pcl::FeatureWithLocalReferenceFrames< PointInT, pcl::ReferenceFrame >::setInputReferenceFrames().
frames_never_defined_
|
protected |
The user has never set the frames.
Definition at line 485 of file feature.h.
Referenced by pcl::FeatureWithLocalReferenceFrames< PointInT, pcl::ReferenceFrame >::setInputReferenceFrames().
The documentation for this class was generated from the following files:
- pcl/features/feature.h
- pcl/features/impl/feature.hpp
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1_feature_with_local_reference_frames.html