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