#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/common/time.h>
#include <pcl/io/oni_grabber.h>
#include <pcl/visualization/cloud_viewer.h>
#include <vector>
#include <pcl/common/time_trigger.h>
Go to the source code of this file.
Classes | |
class | SimpleONIViewer< PointType > |
Defines | |
#define | FPS_CALC(_WHAT_) |
#define | SHOW_FPS 1 |
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 ();\ ++count; \ if (pcl::getTime() - last >= 1.0) \ { \ double now = pcl::getTime (); \ std::cout << "Average framerate("<< _WHAT_ << "): " << double(count)/double(now - last) << " Hz" << std::endl; \ count = 0; \ last = now; \ } \ }while(false)
Definition at line 52 of file oni_viewer_simple.cpp.
#define SHOW_FPS 1 |
Definition at line 50 of file oni_viewer_simple.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 156 of file oni_viewer_simple.cpp.
void usage | ( | char ** | argv | ) |
Definition at line 148 of file oni_viewer_simple.cpp.