Classes | Defines | Functions | Variables
openni_stream_compression.cpp File Reference
#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>
Include dependency graph for openni_stream_compression.cpp:

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 Documentation

#define FPS_CALC (   _WHAT_)
Value:
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.


Function Documentation

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.


Variable Documentation

char usage[] = "\n"

Definition at line 67 of file openni_stream_compression.cpp.



pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:13