File indexing completed on 2025-01-18 10:11:41
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TEveGeoNodeEditor
0013 #define ROOT_TEveGeoNodeEditor
0014
0015 #include "TGedFrame.h"
0016
0017 class TGCheckButton;
0018 class TGNumberEntry;
0019 class TGColorSelect;
0020
0021 class TEveGeoNode;
0022 class TEveGeoTopNode;
0023
0024 class TEveGValuator;
0025
0026 class TEveGeoNodeEditor : public TGedFrame
0027 {
0028 TEveGeoNodeEditor(const TEveGeoNodeEditor&);
0029 TEveGeoNodeEditor& operator=(const TEveGeoNodeEditor&);
0030
0031 protected:
0032 TEveGeoNode* fNodeRE;
0033
0034 TGCheckButton* fVizNode;
0035 TGCheckButton* fVizNodeDaughters;
0036 TGCheckButton* fVizVolume;
0037 TGCheckButton* fVizVolumeDaughters;
0038
0039 public:
0040 TEveGeoNodeEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
0041 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0042 ~TEveGeoNodeEditor() override {}
0043
0044 void SetModel(TObject* obj) override;
0045
0046 void DoVizNode();
0047 void DoVizNodeDaughters();
0048 void DoVizVolume();
0049 void DoVizVolumeDaughters();
0050
0051 ClassDefOverride(TEveGeoNodeEditor, 0);
0052 };
0053
0054
0055
0056 class TEveGeoTopNodeEditor : public TGedFrame
0057 {
0058 TEveGeoTopNodeEditor(const TEveGeoTopNodeEditor&);
0059 TEveGeoTopNodeEditor& operator=(const TEveGeoTopNodeEditor&);
0060
0061 protected:
0062 TEveGeoTopNode* fTopNodeRE;
0063
0064 TEveGValuator* fVisOption;
0065 TEveGValuator* fVisLevel;
0066 TEveGValuator* fMaxVisNodes;
0067
0068 public:
0069 TEveGeoTopNodeEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
0070 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0071 ~TEveGeoTopNodeEditor() override {}
0072
0073 void SetModel(TObject* obj) override;
0074
0075 void DoVisOption();
0076 void DoVisLevel();
0077 void DoMaxVisNodes();
0078
0079 ClassDefOverride(TEveGeoTopNodeEditor, 0);
0080 };
0081
0082 #endif