Main MRPT website > C++ reference for MRPT 1.9.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)
 
#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)
Value:
{ \
if (_err != PGRERROR_OK) \
{ \
THROW_EXCEPTION_FMT( \
"FlyCapture2 error:\n%s", _err.GetDescription()) \
} \
}

Definition at line 33 of file CImageGrabber_FlyCapture2.cpp.

◆ CHECK_TRICLOPS_ERROR

#define CHECK_TRICLOPS_ERROR (   _err)
Value:
{ \
if (_err != TriclopsErrorOk) \
{ \
THROW_EXCEPTION_FMT( \
"Triclops Error:\n'%s'", triclopsErrorToString(_err)) \
} \
}

Definition at line 41 of file CImageGrabber_FlyCapture2.cpp.

◆ FC2_BUF_IMG

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

Definition at line 51 of file CImageGrabber_FlyCapture2.cpp.

◆ FC2_CAM

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

Definition at line 49 of file CImageGrabber_FlyCapture2.cpp.

◆ FC2_CAM_INFO

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

Definition at line 50 of file CImageGrabber_FlyCapture2.cpp.

◆ TRI_CONTEXT

#define TRI_CONTEXT   reinterpret_cast<TriclopsContext*>(m_triclops)

Definition at line 52 of file CImageGrabber_FlyCapture2.cpp.




Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST