42 #include <pcl/tracking/tracking.h>
43 #include <pcl/memory.h>
44 #include <pcl/pcl_base.h>
45 #include <pcl/pcl_macros.h>
46 #include <pcl/search/search.h>
56 template <
typename Po
intInT,
typename StateT>
67 using Ptr = shared_ptr< Tracker<PointInT, StateT> >;
68 using ConstPtr = shared_ptr< const Tracker<PointInT, StateT> >;
99 inline const std::string&
127 computeTracking () = 0;
135 #include <pcl/tracking/impl/tracker.hpp>
typename PointCloudIn::ConstPtr PointCloudInConstPtr
typename PointCloudIn::Ptr PointCloudInPtr
shared_ptr< Tracker< PointInT, Eigen::Affine3f > > Ptr
shared_ptr< const Tracker< PointInT, Eigen::Affine3f > > ConstPtr
shared_ptr< const pcl::search::Search< PointT > > ConstPtr
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
Tracker()
Empty constructor.
typename PointCloudState::ConstPtr PointCloudStateConstPtr
void setSearchMethod(const SearchPtr &search)
Provide a pointer to a dataset to add additional information to estimate the features for every point...
shared_ptr< PointCloud< PointInT > > Ptr
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 ...
shared_ptr< const PointCloud< PointInT > > ConstPtr
typename pcl::search::Search< PointInT >::ConstPtr SearchConstPtr
Tracker represents the base tracker class.
SearchPtr getSearchMethod()
Get a pointer to the point cloud dataset.
shared_ptr< pcl::search::Search< PointT > > Ptr
const std::string & getClassName() const
Get a string representation of the name of this class.
typename PointCloudState::Ptr PointCloudStatePtr
typename pcl::search::Search< PointInT >::Ptr SearchPtr
std::string tracker_name_
The tracker name.