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);
std::condition_variable m_cnd
std::vector< unsigned char > m_imgBuffer
FWTEveViewer(const char *n="FWTEveViewer", const char *t="")
FWTGLViewer * fwGlViewer()
std::promise< int > m_prom
static bool SaveJpg(const TString &file, UChar_t *xx, int ww, int hh)
std::future< int > CaptureAndSaveImage(const TString &file, int height=-1)
FWTGLViewer * m_fwGlViewer
const FWTEveViewer & operator=(const FWTEveViewer &)=delete
static bool SavePng(const TString &file, UChar_t *xx, int ww, int hh)
FWTGLViewer * SpawnFWTGLViewer()
void spawn_image_thread()