40 #ifndef PCL_TRACKING_TRACKER_H_
41 #define PCL_TRACKING_TRACKER_H_
43 #include <pcl/tracking/tracking.h>
44 #include <pcl/pcl_base.h>
45 #include <pcl/search/search.h>
55 template <
typename Po
intInT,
typename StateT>
66 typedef boost::shared_ptr< Tracker<PointInT, StateT> >
Ptr;
67 typedef boost::shared_ptr< const Tracker<PointInT, StateT> >
ConstPtr;
69 typedef boost::shared_ptr<pcl::search::Search<PointInT> >
SearchPtr;
70 typedef boost::shared_ptr<const pcl::search::Search<PointInT> >
SearchConstPtr;
98 inline const std::string&
126 computeTracking () = 0;
129 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
134 #include <pcl/tracking/impl/tracker.hpp>
boost::shared_ptr< PointCloud< PointInT > > Ptr
PointCloudIn::ConstPtr PointCloudInConstPtr
boost::shared_ptr< pcl::search::Search< PointInT > > SearchPtr
boost::shared_ptr< const pcl::search::Search< PointInT > > SearchConstPtr
PointCloudState::Ptr PointCloudStatePtr
Tracker()
Empty constructor.
boost::shared_ptr< Tracker< PointInT, StateT > > Ptr
boost::shared_ptr< const PointCloud< PointInT > > ConstPtr
void setSearchMethod(const SearchPtr &search)
Provide a pointer to a dataset to add additional information to estimate the features for every point...
PointCloudIn::Ptr PointCloudInPtr
virtual bool initCompute()
This method should get called before starting the actual computation.
virtual StateT getResult() const =0
Get an instance of the result of tracking.
SearchPtr search_
A pointer to the spatial search object.
void compute()
Base method for tracking for all points given in using the indices ...
pcl::PointCloud< PointInT > PointCloudIn
PointCloudState::ConstPtr PointCloudStateConstPtr
Tracker represents the base tracker class.
pcl::PointCloud< StateT > PointCloudState
SearchPtr getSearchMethod()
Get a pointer to the point cloud dataset.
boost::shared_ptr< const Tracker< PointInT, StateT > > ConstPtr
const std::string & getClassName() const
Get a string representation of the name of this class.
PCLBase< PointInT > BaseClass
std::string tracker_name_
The tracker name.