Go to the documentation of this file. 1 #ifndef Subsystem_Package_FWTEveViewer_h
2 #define Subsystem_Package_FWTEveViewer_h
26 #include <condition_variable>
30 #include "TEveViewer.h"
45 static bool SavePng(
const TString&
file, UChar_t*
xx,
int ww,
int hh);
46 static bool SaveJpg(
const TString&
file, UChar_t*
xx,
int ww,
int hh);
static bool SavePng(const TString &file, UChar_t *xx, int ww, int hh)
std::promise< int > m_prom
FWTGLViewer * m_fwGlViewer
std::condition_variable m_cnd
const FWTEveViewer & operator=(const FWTEveViewer &)=delete
static boost::mutex mutex
void spawn_image_thread()
FWTGLViewer * fwGlViewer()
std::future< int > CaptureAndSaveImage(const TString &file, int height=-1)
std::vector< unsigned char > m_imgBuffer
FWTGLViewer * SpawnFWTGLViewer()
static bool SaveJpg(const TString &file, UChar_t *xx, int ww, int hh)
FWTEveViewer(const char *n="FWTEveViewer", const char *t="")