Rx roi zmq (#726) (#740)

adding rx_roi also in the zmq header for external guis to put the "yellow box".. sending full roi instead of -1, and sending for each zmq port. "(multiple yellow boxes)".
This commit is contained in:
2023-05-08 16:03:48 +02:00
committed by GitHub
parent e757e25fa1
commit d65825e9ef
6 changed files with 27 additions and 0 deletions

View File

@ -13,6 +13,7 @@
#include "sls/sls_detector_exceptions.h"
#include <map>
#include <array>
#include <memory>
// Selective suppression of warning in gcc,
@ -83,6 +84,8 @@ struct zmqHeader {
bool completeImage{false};
/** additional json header */
std::map<std::string, std::string> addJsonHeader;
/** (xmin, xmax, ymin, ymax) roi only in files written */
std::array<int,4> rx_roi{};
};
class ZmqSocket {