Point Cloud Library (PCL)
1.7.0
|
Tracker represents the base tracker class. More...
#include <pcl/tracking/tracker.h>
Public Types | |
typedef PCLBase< PointInT > | BaseClass |
typedef boost::shared_ptr < Tracker< PointInT, StateT > > | Ptr |
typedef boost::shared_ptr < const Tracker< PointInT, StateT > > | ConstPtr |
typedef boost::shared_ptr < pcl::search::Search < PointInT > > | SearchPtr |
typedef boost::shared_ptr < const pcl::search::Search < PointInT > > | SearchConstPtr |
typedef pcl::PointCloud< PointInT > | PointCloudIn |
typedef PointCloudIn::Ptr | PointCloudInPtr |
typedef PointCloudIn::ConstPtr | PointCloudInConstPtr |
typedef pcl::PointCloud< StateT > | PointCloudState |
typedef PointCloudState::Ptr | PointCloudStatePtr |
typedef PointCloudState::ConstPtr | PointCloudStateConstPtr |
![]() | |
typedef pcl::PointCloud< PointInT > | PointCloud |
typedef PointCloud::Ptr | PointCloudPtr |
typedef PointCloud::ConstPtr | PointCloudConstPtr |
typedef boost::shared_ptr < PointIndices > | PointIndicesPtr |
typedef boost::shared_ptr < PointIndices const > | PointIndicesConstPtr |
Public Member Functions | |
Tracker () | |
Empty constructor. More... | |
void | compute () |
Base method for tracking for all points given in <setInputCloud (), setIndices ()> using the indices in setIndices () More... | |
![]() | |
PCLBase () | |
Empty constructor. More... | |
PCLBase (const PCLBase &base) | |
Copy constructor. More... | |
virtual | ~PCLBase () |
Destructor. More... | |
virtual void | setInputCloud (const PointCloudConstPtr &cloud) |
Provide a pointer to the input dataset. More... | |
PointCloudConstPtr const | getInputCloud () |
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 (size_t row_start, size_t col_start, size_t nb_rows, size_t nb_cols) |
Set the indices for the points laying within an interest region of the point cloud. More... | |
IndicesPtr const | getIndices () |
Get a pointer to the vector of indices used. More... | |
const PointInT & | operator[] (size_t pos) |
Override PointCloud operator[] to shorten code. More... | |
Protected Member Functions | |
const std::string & | getClassName () const |
Get a string representation of the name of this class. More... | |
virtual bool | initCompute () |
This method should get called before starting the actual computation. More... | |
void | setSearchMethod (const SearchPtr &search) |
Provide a pointer to a dataset to add additional information to estimate the features for every point in the input dataset. More... | |
SearchPtr | getSearchMethod () |
Get a pointer to the point cloud dataset. More... | |
virtual StateT | getResult () const =0 |
Get an instance of the result of tracking. More... | |
![]() | |
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... | |
Protected Attributes | |
std::string | tracker_name_ |
The tracker name. More... | |
SearchPtr | search_ |
A pointer to the spatial search object. More... | |
![]() | |
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... | |
Tracker represents the base tracker class.
typedef PCLBase<PointInT> pcl::tracking::Tracker< PointInT, StateT >::BaseClass |
typedef boost::shared_ptr< const Tracker<PointInT, StateT> > pcl::tracking::Tracker< PointInT, StateT >::ConstPtr |
typedef pcl::PointCloud<PointInT> pcl::tracking::Tracker< PointInT, StateT >::PointCloudIn |
typedef PointCloudIn::ConstPtr pcl::tracking::Tracker< PointInT, StateT >::PointCloudInConstPtr |
typedef PointCloudIn::Ptr pcl::tracking::Tracker< PointInT, StateT >::PointCloudInPtr |
typedef pcl::PointCloud<StateT> pcl::tracking::Tracker< PointInT, StateT >::PointCloudState |
typedef PointCloudState::ConstPtr pcl::tracking::Tracker< PointInT, StateT >::PointCloudStateConstPtr |
typedef PointCloudState::Ptr pcl::tracking::Tracker< PointInT, StateT >::PointCloudStatePtr |
typedef boost::shared_ptr< Tracker<PointInT, StateT> > pcl::tracking::Tracker< PointInT, StateT >::Ptr |
typedef boost::shared_ptr<const pcl::search::Search<PointInT> > pcl::tracking::Tracker< PointInT, StateT >::SearchConstPtr |
typedef boost::shared_ptr<pcl::search::Search<PointInT> > pcl::tracking::Tracker< PointInT, StateT >::SearchPtr |
|
inline |
void pcl::tracking::Tracker< PointInT, StateT >::compute | ( | ) |
Base method for tracking for all points given in <setInputCloud (), setIndices ()> using the indices in setIndices ()
Definition at line 31 of file tracker.hpp.
|
inlineprotected |
Get a string representation of the name of this class.
Definition at line 99 of file tracker.h.
References pcl::tracking::Tracker< PointInT, StateT >::tracker_name_.
|
protectedpure virtual |
Get an instance of the result of tracking.
Implemented in pcl::tracking::ParticleFilterTracker< PointInT, StateT >.
|
inlineprotected |
Get a pointer to the point cloud dataset.
Definition at line 117 of file tracker.h.
References pcl::tracking::Tracker< PointInT, StateT >::search_.
|
protectedvirtual |
This method should get called before starting the actual computation.
Reimplemented in pcl::tracking::ParticleFilterTracker< PointInT, StateT >, and pcl::tracking::KLDAdaptiveParticleFilterTracker< PointInT, StateT >.
Definition at line 10 of file tracker.hpp.
|
inlineprotected |
Provide a pointer to a dataset to add additional information to estimate the features for every point in the input dataset.
This is optional, if this is not set, it will only use the data in the input cloud to estimate the features. This is useful when you only need to compute the features for a downsampled cloud.
cloud | a pointer to a PointCloud message |
Definition at line 113 of file tracker.h.
References pcl::tracking::Tracker< PointInT, StateT >::search_.
|
protected |
A pointer to the spatial search object.
Definition at line 95 of file tracker.h.
Referenced by pcl::tracking::Tracker< PointInT, StateT >::getSearchMethod(), and pcl::tracking::Tracker< PointInT, StateT >::setSearchMethod().
|
protected |
The tracker name.
Definition at line 92 of file tracker.h.
Referenced by pcl::tracking::Tracker< PointInT, StateT >::getClassName(), pcl::tracking::KLDAdaptiveParticleFilterOMPTracker< PointInT, StateT >::KLDAdaptiveParticleFilterOMPTracker(), pcl::tracking::KLDAdaptiveParticleFilterTracker< PointInT, StateT >::KLDAdaptiveParticleFilterTracker(), pcl::tracking::ParticleFilterOMPTracker< PointInT, StateT >::ParticleFilterOMPTracker(), and pcl::tracking::ParticleFilterTracker< PointInT, StateT >::ParticleFilterTracker().