Classes | Defines | Functions
openni_io.cpp File Reference
#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/io/pcd_io.h>
#include <pcl/io/openni_camera/openni_driver.h>
#include <pcl/console/parse.h>
#include <pcl/common/time.h>
#include <pcl/console/time.h>
Include dependency graph for openni_io.cpp:

Go to the source code of this file.

Classes

class  OpenNIIO< PointType >

Defines

#define FPS_CALC(_WHAT_)

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 ();\
    if (++count == 100) \
    { \
      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 50 of file openni_io.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 170 of file openni_io.cpp.

void usage ( char **  argv)

Definition at line 149 of file openni_io.cpp.



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