Classes | Defines | Functions
openni_grab_frame.cpp File Reference
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/io/openni_grabber.h>
#include <pcl/io/pcd_io.h>
#include <pcl/common/time.h>
#include <pcl/console/print.h>
#include <pcl/console/parse.h>
#include <boost/filesystem.hpp>
#include <pcl/visualization/pcl_visualizer.h>
Include dependency graph for openni_grab_frame.cpp:

Go to the source code of this file.

Classes

class  OpenNIGrabFrame< PointType >

Defines

#define FPS_CALC(_WHAT_)
#define SHOW_FPS   1

Functions

int main (int argc, char **argv)
void usage (char **argv)

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 52 of file openni_grab_frame.cpp.

#define SHOW_FPS   1

Definition at line 50 of file openni_grab_frame.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 297 of file openni_grab_frame.cpp.

void usage ( char **  argv)

Definition at line 281 of file openni_grab_frame.cpp.



pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:46