CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWTGLViewer.h
Go to the documentation of this file.
1 #ifndef Subsystem_Package_FWTGLViewer_h
2 #define Subsystem_Package_FWTGLViewer_h
3 // -*- C++ -*-
4 //
5 // Package: Subsystem/Package
6 // Class : FWTGLViewer
7 //
16 //
17 // Original Author:
18 // Created: Tue, 03 Feb 2015 21:45:22 GMT
19 //
20 
21 // system include files
22 
23 // user include files
24 
25 #include "TGLEmbeddedViewer.h"
26 
27 // forward declarations
28 
29 class TGWindow;
30 class TGLFBO;
31 
32 class FWTGLViewer : public TGLEmbeddedViewer
33 {
34 
35 public:
36  FWTGLViewer(const TGWindow *parent);
37  virtual ~FWTGLViewer();
38 
39  // ---------- const member functions ---------------------
40 
41  // ---------- static member functions --------------------
42 
43  // ---------- member functions ---------------------------
44 
45  void DrawHiLod(Bool_t swap_buffers);
46  void JustSwap();
47 
48  TGLFBO* MakeFbo();
49  TGLFBO* MakeFboWidth (Int_t width, Bool_t pixel_object_scale=kTRUE);
50  TGLFBO* MakeFboHeight(Int_t height, Bool_t pixel_object_scale=kTRUE);
51  TGLFBO* MakeFboScale (Float_t scale, Bool_t pixel_object_scale=kTRUE);
52 
53  TGLFBO* GenerateFbo(Int_t w, Int_t h, Float_t pixel_object_scale);
54 
55 private:
56  FWTGLViewer(const FWTGLViewer&); // stop default
57 
58  const FWTGLViewer& operator=(const FWTGLViewer&); // stop default
59 
60  // ---------- member data --------------------------------
61 
62  TGLFBO *m_fbo;
64 };
65 
66 
67 #endif
const FWTGLViewer & operator=(const FWTGLViewer &)
TGLFBO * MakeFboScale(Float_t scale, Bool_t pixel_object_scale=kTRUE)
Definition: FWTGLViewer.cc:145
TGLFBO * MakeFboWidth(Int_t width, Bool_t pixel_object_scale=kTRUE)
Definition: FWTGLViewer.cc:119
TGLFBO * MakeFboHeight(Int_t height, Bool_t pixel_object_scale=kTRUE)
Definition: FWTGLViewer.cc:132
TGLFBO * GenerateFbo(Int_t w, Int_t h, Float_t pixel_object_scale)
Definition: FWTGLViewer.cc:158
const double w
Definition: UKUtility.cc:23
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
parent
Definition: confdb.py:1052
TGLFBO * m_fbo
Definition: FWTGLViewer.h:62
FWTGLViewer(const TGWindow *parent)
Definition: FWTGLViewer.cc:39
virtual ~FWTGLViewer()
Definition: FWTGLViewer.cc:51
void JustSwap()
Definition: FWTGLViewer.cc:101
void DrawHiLod(Bool_t swap_buffers)
Definition: FWTGLViewer.cc:76
TGLFBO * MakeFbo()
Definition: FWTGLViewer.cc:111