1 #ifndef Subsystem_Package_FWTEveViewer_h 2 #define Subsystem_Package_FWTEveViewer_h 26 #include <condition_variable> 30 #include "TEveViewer.h" 48 static bool SavePng(
const TString&
file, UChar_t*
xx,
int ww,
int hh);
49 static bool SaveJpg(
const TString& file, UChar_t* xx,
int ww,
int hh);
std::condition_variable m_cnd
static boost::mutex mutex
std::vector< unsigned char > m_imgBuffer
const FWTEveViewer & operator=(const FWTEveViewer &)
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
static bool SavePng(const TString &file, UChar_t *xx, int ww, int hh)
FWTGLViewer * SpawnFWTGLViewer()
void spawn_image_thread()