#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/io/openni_grabber.h>
#include <pcl/visualization/cloud_viewer.h>
#include <pcl/console/parse.h>
#include <pcl/common/time.h>
#include <pcl/filters/passthrough.h>
#include <pcl/compression/octree_pointcloud_compression.h>
#include <iostream>
#include <vector>
#include <stdio.h>
#include <sstream>
#include <stdlib.h>
#include <string>
#include <boost/asio.hpp>
Go to the source code of this file.
Classes | |
struct | EventHelper |
class | SimpleOpenNIViewer< PointType > |
Defines | |
#define | FPS_CALC(_WHAT_) |
Functions | |
int | main (int argc, char **argv) |
void | print_usage (std::string msg) |
Variables | |
char | usage [] = "\n" |
#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 109 of file openni_stream_compression.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 237 of file openni_stream_compression.cpp.
void print_usage | ( | std::string | msg | ) |
Definition at line 125 of file openni_stream_compression.cpp.
char usage[] = "\n" |
Definition at line 67 of file openni_stream_compression.cpp.