#include <boost/thread/thread.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/io/openni_grabber.h>
#include <pcl/visualization/cloud_viewer.h>
#include <pcl/io/openni_camera/openni_driver.h>
#include <pcl/keypoints/uniform_sampling.h>
#include <pcl/console/parse.h>
#include <pcl/common/time.h>
Go to the source code of this file.
Classes | |
class | OpenNIUniformSampling |
Defines | |
#define | FPS_CALC(_WHAT_) |
Functions | |
int | main (int argc, char **argv) |
void | usage (char **argv) |
#define FPS_CALC | ( | _WHAT_ | ) |
do \ { \ static unsigned count = 0;\ static double last = pcl::getTime ();\ double now = pcl::getTime (); \ ++count; \ if (now - last >= 1.0) \ { \ std::cout << "Average framerate("<< _WHAT_ << "): " << double(count)/double(now - last) << " Hz" << std::endl; \ count = 0; \ last = now; \ } \ }while(false)
Definition at line 47 of file openni_uniform_sampling.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 170 of file openni_uniform_sampling.cpp.
void usage | ( | char ** | argv | ) |
Definition at line 147 of file openni_uniform_sampling.cpp.