Classes | Defines | Functions
openni_viewer_simple.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/common/time.h>
#include <pcl/io/openni_grabber.h>
#include <pcl/visualization/cloud_viewer.h>
#include <pcl/visualization/image_viewer.h>
#include <pcl/io/openni_camera/openni_driver.h>
#include <pcl/console/parse.h>
#include <pcl/visualization/mouse_event.h>
#include <vtkImageViewer.h>
#include <vtkImageImport.h>
#include <vector>
#include <string>
Include dependency graph for openni_viewer_simple.cpp:

Go to the source code of this file.

Classes

class  SimpleOpenNIViewer< 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 60 of file openni_viewer_simple.cpp.

#define SHOW_FPS   1

Definition at line 58 of file openni_viewer_simple.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 287 of file openni_viewer_simple.cpp.

void usage ( char **  argv)

Definition at line 253 of file openni_viewer_simple.cpp.



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