CMS 3D CMS Logo

FWGeoTopNodeScene.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWGeoTopNodeScene_h
2 #define Fireworks_Core_FWGeoTopNodeScene_h
3 
4 #include "TGLScenePad.h"
5 
6 class FWGeoTopNode;
7 class TGLViewer;
8 
9 class FWGeoTopNodeGLScene : public TGLScenePad {
10 private:
11  FWGeoTopNodeGLScene(const FWGeoTopNodeGLScene&) = delete; // Not implemented
12  FWGeoTopNodeGLScene& operator=(const FWGeoTopNodeGLScene&) = delete; // Not implemented
13 protected:
14 public:
15  // UInt_t fNextCompositeID;
17 
18  FWGeoTopNodeGLScene(TVirtualPad* pad);
19  ~FWGeoTopNodeGLScene() override {}
20 
21  void SetPad(TVirtualPad* p) { fPad = p; }
22 
23  void GeoPopupMenu(Int_t gx, Int_t gy, TGLViewer*);
24 
25  using TGLScenePad::ResolveSelectRecord;
26  Bool_t ResolveSelectRecord(TGLSelectRecord& rec, Int_t curIdx) override;
27 
28  bool OpenCompositeWithPhyID(UInt_t phyID, const TBuffer3D& buffer);
29 
30  // virtual DestroyPhysicals() ... call m_eveTopNode->ClearSelectionHighlight;
31  // There: if selected => gEve->GetSelection()->Remove(this) or sth
32  // if highlighted .... "" .....
33 
34  using TGLScenePad::DestroyPhysicals;
35  Int_t DestroyPhysicals() override;
36  using TGLScenePad::DestroyPhysical;
37  virtual Bool_t DestroyPhysical(Int_t);
38 
39  using TGLScenePad::AddObject;
40  Int_t AddObject(const TBuffer3D& buffer, Bool_t* addChildren = nullptr) override;
41 };
42 
43 //==============================================================================
44 //==============================================================================
45 //==============================================================================
46 #if ROOT_VERSION_CODE < ROOT_VERSION(5, 32, 0)
47 
48 #include "TEveScene.h"
49 class FWGeoTopNodeEveScene : public TEveScene {
50 public:
51  FWGeoTopNodeEveScene(FWGeoTopNodeGLScene* gl_scene, const char* n = "TEveScene", const char* t = "");
52 
53  ~FWGeoTopNodeEveScene() {}
54 };
55 #endif
56 
57 #endif
FWGeoTopNodeGLScene::operator=
FWGeoTopNodeGLScene & operator=(const FWGeoTopNodeGLScene &)=delete
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
FWGeoTopNodeGLScene::~FWGeoTopNodeGLScene
~FWGeoTopNodeGLScene() override
Definition: FWGeoTopNodeScene.h:19
FWGeoTopNodeGLScene::OpenCompositeWithPhyID
bool OpenCompositeWithPhyID(UInt_t phyID, const TBuffer3D &buffer)
Definition: FWGeoTopNodeScene.cc:23
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
FWGeoTopNodeGLScene::m_eveTopNode
FWGeoTopNode * m_eveTopNode
Definition: FWGeoTopNodeScene.h:16
edmScanValgrind.buffer
buffer
Definition: edmScanValgrind.py:171
FWGeoTopNodeGLScene::ResolveSelectRecord
Bool_t ResolveSelectRecord(TGLSelectRecord &rec, Int_t curIdx) override
Definition: FWGeoTopNodeScene.cc:60
FWGeoTopNodeGLScene::DestroyPhysical
virtual Bool_t DestroyPhysical(Int_t)
Definition: FWGeoTopNodeScene.cc:106
FWGeoTopNodeGLScene::SetPad
void SetPad(TVirtualPad *p)
Definition: FWGeoTopNodeScene.h:21
FWGeoTopNodeGLScene::FWGeoTopNodeGLScene
FWGeoTopNodeGLScene(const FWGeoTopNodeGLScene &)=delete
FWGeoTopNode
Definition: FWGeoTopNode.h:41
FWGeoTopNodeGLScene::GeoPopupMenu
void GeoPopupMenu(Int_t gx, Int_t gy, TGLViewer *)
Definition: FWGeoTopNodeScene.cc:112
FWGeoTopNodeGLScene
Definition: FWGeoTopNodeScene.h:9
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644
FWGeoTopNodeGLScene::AddObject
Int_t AddObject(const TBuffer3D &buffer, Bool_t *addChildren=nullptr) override
Definition: FWGeoTopNodeScene.cc:48
FWGeoTopNodeGLScene::DestroyPhysicals
Int_t DestroyPhysicals() override
Definition: FWGeoTopNodeScene.cc:92