Tracker represents the base tracker class. More...
#include <tracker.h>
Public Types | |
typedef PCLBase< PointInT > | BaseClass |
typedef boost::shared_ptr < const Tracker< PointInT, StateT > > | ConstPtr |
typedef pcl::PointCloud< PointInT > | PointCloudIn |
typedef PointCloudIn::ConstPtr | PointCloudInConstPtr |
typedef PointCloudIn::Ptr | PointCloudInPtr |
typedef pcl::PointCloud< StateT > | PointCloudState |
typedef PointCloudState::ConstPtr | PointCloudStateConstPtr |
typedef PointCloudState::Ptr | PointCloudStatePtr |
typedef boost::shared_ptr < Tracker< PointInT, StateT > > | Ptr |
typedef boost::shared_ptr < const pcl::search::Search < PointInT > > | SearchConstPtr |
typedef boost::shared_ptr < pcl::search::Search < PointInT > > | SearchPtr |
Public Member Functions | |
void | compute () |
Base method for tracking for all points given in <setInputCloud (), setIndices ()> using the indices in setIndices () | |
Tracker () | |
Empty constructor. | |
Protected Member Functions | |
const std::string & | getClassName () const |
Get a string representation of the name of this class. | |
virtual StateT | getResult () const =0 |
Get an instance of the result of tracking. | |
SearchPtr | getSearchMethod () |
Get a pointer to the point cloud dataset. | |
virtual bool | initCompute () |
This method should get called before starting the actual computation. | |
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. 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. | |
Protected Attributes | |
SearchPtr | search_ |
A pointer to the spatial search object. | |
std::string | tracker_name_ |
The tracker name. | |
Private Member Functions | |
virtual void | computeTracking ()=0 |
Abstract tracking method. |
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 |
pcl::tracking::Tracker< PointInT, StateT >::Tracker | ( | ) | [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.
virtual void pcl::tracking::Tracker< PointInT, StateT >::computeTracking | ( | ) | [private, pure virtual] |
Abstract tracking method.
Implemented in pcl::tracking::ParticleFilterTracker< PointInT, StateT >.
const std::string& pcl::tracking::Tracker< PointInT, StateT >::getClassName | ( | ) | const [inline, protected] |
virtual StateT pcl::tracking::Tracker< PointInT, StateT >::getResult | ( | ) | const [protected, pure virtual] |
Get an instance of the result of tracking.
Implemented in pcl::tracking::ParticleFilterTracker< PointInT, StateT >.
SearchPtr pcl::tracking::Tracker< PointInT, StateT >::getSearchMethod | ( | ) | [inline, protected] |
bool pcl::tracking::Tracker< PointInT, StateT >::initCompute | ( | ) | [protected, virtual] |
This method should get called before starting the actual computation.
Reimplemented from pcl::PCLBase< PointInT >.
Reimplemented in pcl::tracking::ParticleFilterTracker< PointInT, StateT >, and pcl::tracking::KLDAdaptiveParticleFilterTracker< PointInT, StateT >.
Definition at line 9 of file tracker.hpp.
void pcl::tracking::Tracker< PointInT, StateT >::setSearchMethod | ( | const SearchPtr & | search | ) | [inline, protected] |
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 |
SearchPtr pcl::tracking::Tracker< PointInT, StateT >::search_ [protected] |
std::string pcl::tracking::Tracker< PointInT, StateT >::tracker_name_ [protected] |