Main MRPT website > C++ reference for MRPT 1.5.6
Macros
CImageGrabber_FlyCapture2.cpp File Reference
#include "hwdrivers-precomp.h"
#include <mrpt/hwdrivers/CImageGrabber_FlyCapture2.h>
#include <mrpt/system/string_utils.h>
#include <mrpt/system/datetime.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/imgproc/imgproc_c.h>
Include dependency graph for CImageGrabber_FlyCapture2.cpp:

Go to the source code of this file.

Macros

#define CHECK_FC2_ERROR(_err)   { if (_err != PGRERROR_OK) { THROW_EXCEPTION_FMT("FlyCapture2 error:\n%s",_err.GetDescription()) } }
 
#define CHECK_TRICLOPS_ERROR(_err)
 
#define FC2_CAM   reinterpret_cast<FlyCapture2::Camera*>(m_camera)
 
#define FC2_CAM_INFO   reinterpret_cast<FlyCapture2::CameraInfo*>(m_camera_info)
 
#define FC2_BUF_IMG   reinterpret_cast<FlyCapture2::Image*>(m_img_buffer)
 
#define TRI_CONTEXT   reinterpret_cast<TriclopsContext*>(m_triclops)
 

Macro Definition Documentation

#define CHECK_FC2_ERROR (   _err)    { if (_err != PGRERROR_OK) { THROW_EXCEPTION_FMT("FlyCapture2 error:\n%s",_err.GetDescription()) } }
#define CHECK_TRICLOPS_ERROR (   _err)
Value:
{ if( _err != TriclopsErrorOk ) \
{ THROW_EXCEPTION_FMT("Triclops Error:\n'%s'",triclopsErrorToString( _err )) } \
}
#define THROW_EXCEPTION_FMT(_FORMAT_STRING,...)

Definition at line 34 of file CImageGrabber_FlyCapture2.cpp.

Referenced by mrpt::hwdrivers::CImageGrabber_FlyCapture2::getObservation(), and mrpt::hwdrivers::CImageGrabber_FlyCapture2::open().

#define FC2_BUF_IMG   reinterpret_cast<FlyCapture2::Image*>(m_img_buffer)
#define FC2_CAM   reinterpret_cast<FlyCapture2::Camera*>(m_camera)
#define FC2_CAM_INFO   reinterpret_cast<FlyCapture2::CameraInfo*>(m_camera_info)
#define TRI_CONTEXT   reinterpret_cast<TriclopsContext*>(m_triclops)



Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018