#include "FWTEveViewer.h"
Public Member Functions | |
std::future< int > | CaptureAndSaveImage (const TString &file, int height=-1) |
FWTGLViewer * | fwGlViewer () |
FWTEveViewer (const char *n="FWTEveViewer", const char *t="") | |
FWTGLViewer * | SpawnFWTGLViewer () |
virtual | ~FWTEveViewer () |
Static Public Member Functions | |
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) |
Private Member Functions | |
FWTEveViewer (const FWTEveViewer &) | |
const FWTEveViewer & | operator= (const FWTEveViewer &) |
void | spawn_image_thread () |
Private Attributes | |
std::condition_variable | m_cnd |
FWTGLViewer * | m_fwGlViewer |
int | m_hh |
std::vector< unsigned char > | m_imgBuffer |
std::mutex | m_moo |
TString | m_name |
std::promise< int > | m_prom |
std::thread * | m_thr = 0 |
bool | m_thr_exit = false |
int | m_ww |
FWTEveViewer::FWTEveViewer | ( | const char * | n = "FWTEveViewer" , |
const char * | t = "" |
||
) |
Definition at line 41 of file FWTEveViewer.cc.
|
virtual |
|
private |
std::future< int > FWTEveViewer::CaptureAndSaveImage | ( | const TString & | file, |
int | height = -1 |
||
) |
Definition at line 136 of file FWTEveViewer.cc.
References mergeVDriftHistosByStation::file, m_cnd, m_fwGlViewer, m_hh, m_imgBuffer, m_moo, m_name, m_prom, m_thr, m_ww, FWTGLViewer::MakeFbo(), FWTGLViewer::MakeFboHeight(), and spawn_image_thread().
|
inline |
Definition at line 53 of file FWTEveViewer.h.
References m_fwGlViewer.
Referenced by FWEveView::fwViewerGL().
|
private |
|
static |
Definition at line 281 of file FWTEveViewer.cc.
References i, j, tablePrinter::rows, and TRUE.
Referenced by spawn_image_thread().
|
static |
Definition at line 201 of file FWTEveViewer.cc.
References i, j, NULL, and tablePrinter::rows.
Referenced by spawn_image_thread().
|
private |
Definition at line 83 of file FWTEveViewer.cc.
References m_cnd, m_hh, m_imgBuffer, m_moo, m_name, m_prom, m_thr, m_thr_exit, m_ww, SaveJpg(), and SavePng().
Referenced by CaptureAndSaveImage().
FWTGLViewer * FWTEveViewer::SpawnFWTGLViewer | ( | ) |
Definition at line 118 of file FWTEveViewer.cc.
References m_fwGlViewer.
Referenced by FWEveView::FWEveView().
|
private |
Definition at line 78 of file FWTEveViewer.h.
Referenced by CaptureAndSaveImage(), spawn_image_thread(), and ~FWTEveViewer().
|
private |
Definition at line 68 of file FWTEveViewer.h.
Referenced by CaptureAndSaveImage(), fwGlViewer(), and SpawnFWTGLViewer().
|
private |
Definition at line 73 of file FWTEveViewer.h.
Referenced by CaptureAndSaveImage(), and spawn_image_thread().
|
private |
Definition at line 70 of file FWTEveViewer.h.
Referenced by CaptureAndSaveImage(), and spawn_image_thread().
|
private |
Definition at line 77 of file FWTEveViewer.h.
Referenced by CaptureAndSaveImage(), spawn_image_thread(), and ~FWTEveViewer().
|
private |
Definition at line 72 of file FWTEveViewer.h.
Referenced by CaptureAndSaveImage(), and spawn_image_thread().
|
private |
Definition at line 76 of file FWTEveViewer.h.
Referenced by CaptureAndSaveImage(), and spawn_image_thread().
|
private |
Definition at line 75 of file FWTEveViewer.h.
Referenced by CaptureAndSaveImage(), spawn_image_thread(), and ~FWTEveViewer().
|
private |
Definition at line 74 of file FWTEveViewer.h.
Referenced by spawn_image_thread(), and ~FWTEveViewer().
|
private |
Definition at line 73 of file FWTEveViewer.h.
Referenced by CaptureAndSaveImage(), and spawn_image_thread().