#include "FWTGLViewer.h"
Public Member Functions | |
void | DrawHiLod (Bool_t swap_buffers) |
FWTGLViewer (const TGWindow *parent) | |
TGLFBO * | GenerateFbo (Int_t w, Int_t h, Float_t pixel_object_scale) |
void | JustSwap () |
TGLFBO * | MakeFbo () |
TGLFBO * | MakeFboHeight (Int_t height, Bool_t pixel_object_scale=kTRUE) |
TGLFBO * | MakeFboScale (Float_t scale, Bool_t pixel_object_scale=kTRUE) |
TGLFBO * | MakeFboWidth (Int_t width, Bool_t pixel_object_scale=kTRUE) |
~FWTGLViewer () override | |
Private Member Functions | |
FWTGLViewer (const FWTGLViewer &)=delete | |
const FWTGLViewer & | operator= (const FWTGLViewer &)=delete |
Private Attributes | |
TGLFBO * | m_fbo |
int | m_fbo_h |
int | m_fbo_w |
FWTGLViewer::FWTGLViewer | ( | const TGWindow * | parent | ) |
Definition at line 39 of file FWTGLViewer.cc.
|
override |
Definition at line 51 of file FWTGLViewer.cc.
References m_fbo.
|
privatedelete |
void FWTGLViewer::DrawHiLod | ( | Bool_t | swap_buffers | ) |
Definition at line 76 of file FWTGLViewer.cc.
TGLFBO * FWTGLViewer::GenerateFbo | ( | Int_t | w, |
Int_t | h, | ||
Float_t | pixel_object_scale | ||
) |
Definition at line 158 of file FWTGLViewer.cc.
References h, m_fbo, m_fbo_h, m_fbo_w, and w.
Referenced by MakeFbo(), MakeFboHeight(), MakeFboScale(), and MakeFboWidth().
void FWTGLViewer::JustSwap | ( | ) |
Definition at line 101 of file FWTGLViewer.cc.
TGLFBO * FWTGLViewer::MakeFbo | ( | ) |
Definition at line 111 of file FWTGLViewer.cc.
References GenerateFbo().
Referenced by FWTEveViewer::CaptureAndSaveImage().
TGLFBO * FWTGLViewer::MakeFboHeight | ( | Int_t | height, |
Bool_t | pixel_object_scale = kTRUE |
||
) |
Definition at line 132 of file FWTGLViewer.cc.
References GenerateFbo(), Scenarios_cff::scale, and ApeEstimator_cff::width.
Referenced by FWTEveViewer::CaptureAndSaveImage().
TGLFBO * FWTGLViewer::MakeFboScale | ( | Float_t | scale, |
Bool_t | pixel_object_scale = kTRUE |
||
) |
Definition at line 145 of file FWTGLViewer.cc.
References GenerateFbo(), and w.
TGLFBO * FWTGLViewer::MakeFboWidth | ( | Int_t | width, |
Bool_t | pixel_object_scale = kTRUE |
||
) |
Definition at line 119 of file FWTGLViewer.cc.
References GenerateFbo(), and Scenarios_cff::scale.
|
privatedelete |
|
private |
Definition at line 62 of file FWTGLViewer.h.
Referenced by GenerateFbo(), and ~FWTGLViewer().
|
private |
Definition at line 63 of file FWTGLViewer.h.
Referenced by GenerateFbo().
|
private |
Definition at line 63 of file FWTGLViewer.h.
Referenced by GenerateFbo().