Classes | Defines | Functions | Variables
openni_pcd_recorder.cpp File Reference
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/io/openni_grabber.h>
#include <boost/thread/condition.hpp>
#include <boost/circular_buffer.hpp>
#include <csignal>
#include <limits>
#include <pcl/io/pcd_io.h>
#include <pcl/console/print.h>
#include <pcl/console/parse.h>
#include <pcl/common/time.h>
Include dependency graph for openni_pcd_recorder.cpp:

Go to the source code of this file.

Classes

class  Consumer< PointT >
class  PCDBuffer< PointT >
class  Producer< PointT >

Defines

#define FPS_CALC(_WHAT_, buff)

Functions

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

Variables

const int BUFFER_SIZE = 200
boost::mutex io_mutex
bool is_done = false

Define Documentation

#define FPS_CALC (   _WHAT_,
  buff 
)
Value:
do \
{ \
    static unsigned count = 0;\
    static double last = getTime ();\
    double now = getTime (); \
    ++count; \
    if (now - last >= 1.0) \
    { \
      cerr << "Average framerate("<< _WHAT_ << "): " << double(count)/double(now - last) << " Hz. Queue size: " << buff.getSize () << "\n"; \
      count = 0; \
      last = now; \
    } \
}while(false)

Definition at line 175 of file openni_pcd_recorder.cpp.


Function Documentation

void ctrlC ( int  )

Definition at line 315 of file openni_pcd_recorder.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 324 of file openni_pcd_recorder.cpp.


Variable Documentation

const int BUFFER_SIZE = 200

Definition at line 78 of file openni_pcd_recorder.cpp.

boost::mutex io_mutex

Definition at line 53 of file openni_pcd_recorder.cpp.

bool is_done = false

Definition at line 52 of file openni_pcd_recorder.cpp.



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