Main MRPT website > C++ reference for MRPT 1.5.9
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

◆ CHECK_FC2_ERROR

#define CHECK_FC2_ERROR (   _err)    { if (_err != PGRERROR_OK) { THROW_EXCEPTION_FMT("FlyCapture2 error:\n%s",_err.GetDescription()) } }

◆ CHECK_TRICLOPS_ERROR

#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().

◆ FC2_BUF_IMG

#define FC2_BUF_IMG   reinterpret_cast<FlyCapture2::Image*>(m_img_buffer)

◆ FC2_CAM

#define FC2_CAM   reinterpret_cast<FlyCapture2::Camera*>(m_camera)

◆ FC2_CAM_INFO

#define FC2_CAM_INFO   reinterpret_cast<FlyCapture2::CameraInfo*>(m_camera_info)

◆ TRI_CONTEXT

#define TRI_CONTEXT   reinterpret_cast<TriclopsContext*>(m_triclops)



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020