#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/io/openni_grabber.h>
#include <pcl/console/parse.h>
#include <pcl/common/time.h>
#include <pcl/common/centroid.h>
#include <pcl/visualization/cloud_viewer.h>
#include <pcl/visualization/pcl_visualizer.h>
#include <pcl/io/pcd_io.h>
#include <pcl/filters/passthrough.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/filters/approximate_voxel_grid.h>
#include <pcl/sample_consensus/method_types.h>
#include <pcl/sample_consensus/model_types.h>
#include <pcl/search/pcl_search.h>
#include <pcl/common/transforms.h>
#include <boost/format.hpp>
#include <pcl/tracking/tracking.h>
#include <pcl/tracking/particle_filter.h>
#include <pcl/tracking/kld_adaptive_particle_filter_omp.h>
#include <pcl/tracking/particle_filter_omp.h>
#include <pcl/tracking/coherence.h>
#include <pcl/tracking/distance_coherence.h>
#include <pcl/tracking/hsv_color_coherence.h>
#include <pcl/tracking/approx_nearest_pair_point_cloud_coherence.h>
#include <pcl/tracking/nearest_pair_point_cloud_coherence.h>
Go to the source code of this file.
Typedefs | |
typedef pcl::PointCloud < pcl::PointXYZRGBA > | Cloud |
typedef Cloud::ConstPtr | CloudConstPtr |
typedef Cloud::Ptr | CloudPtr |
typedef ParticleFilterTracker < RefPointType, ParticleT > | ParticleFilter |
typedef ParticleXYZRPY | ParticleT |
typedef pcl::PointXYZRGBA | RefPointType |
Functions | |
void | cloud_cb (const CloudConstPtr &cloud) |
bool | drawParticles (pcl::visualization::PCLVisualizer &viz) |
void | drawResult (pcl::visualization::PCLVisualizer &viz) |
void | filterPassThrough (const CloudConstPtr &cloud, Cloud &result) |
void | gridSampleApprox (const CloudConstPtr &cloud, Cloud &result, double leaf_size) |
int | main (int argc, char **argv) |
void | viz_cb (pcl::visualization::PCLVisualizer &viz) |
Variables | |
CloudPtr | cloud_pass_ |
CloudPtr | cloud_pass_downsampled_ |
int | counter |
double | downsampling_grid_size_ |
boost::mutex | mtx_ |
bool | new_cloud_ |
CloudPtr | target_cloud |
boost::shared_ptr< ParticleFilter > | tracker_ |
typedef pcl::PointCloud<pcl::PointXYZRGBA> Cloud |
Definition at line 38 of file tracking_sample.cpp.
typedef Cloud::ConstPtr CloudConstPtr |
Definition at line 40 of file tracking_sample.cpp.
typedef Cloud::Ptr CloudPtr |
Definition at line 39 of file tracking_sample.cpp.
Definition at line 41 of file tracking_sample.cpp.
typedef ParticleXYZRPY ParticleT |
Definition at line 37 of file tracking_sample.cpp.
typedef pcl::PointXYZRGBA RefPointType |
Definition at line 36 of file tracking_sample.cpp.
void cloud_cb | ( | const CloudConstPtr & | cloud | ) |
Definition at line 162 of file tracking_sample.cpp.
bool drawParticles | ( | pcl::visualization::PCLVisualizer & | viz | ) |
Definition at line 77 of file tracking_sample.cpp.
void drawResult | ( | pcl::visualization::PCLVisualizer & | viz | ) |
Definition at line 111 of file tracking_sample.cpp.
void filterPassThrough | ( | const CloudConstPtr & | cloud, |
Cloud & | result | ||
) |
Definition at line 55 of file tracking_sample.cpp.
void gridSampleApprox | ( | const CloudConstPtr & | cloud, |
Cloud & | result, | ||
double | leaf_size | ||
) |
Definition at line 66 of file tracking_sample.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 181 of file tracking_sample.cpp.
void viz_cb | ( | pcl::visualization::PCLVisualizer & | viz | ) |
Definition at line 132 of file tracking_sample.cpp.
Definition at line 43 of file tracking_sample.cpp.
Definition at line 44 of file tracking_sample.cpp.
int counter |
Definition at line 51 of file tracking_sample.cpp.
double downsampling_grid_size_ |
Definition at line 50 of file tracking_sample.cpp.
boost::mutex mtx_ |
Definition at line 47 of file tracking_sample.cpp.
bool new_cloud_ |
Definition at line 49 of file tracking_sample.cpp.
Definition at line 45 of file tracking_sample.cpp.
boost::shared_ptr<ParticleFilter> tracker_ |
Definition at line 48 of file tracking_sample.cpp.