00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 #ifndef ROOT_TEveGeoNodeEditor
00013 #define ROOT_TEveGeoNodeEditor
00014 
00015 #include "TGedFrame.h"
00016 
00017 class TGCheckButton;
00018 class TGNumberEntry;
00019 class TGColorSelect;
00020 
00021 class TEveGeoNode;
00022 class TEveGeoTopNode;
00023 
00024 class TEveGValuator;
00025 
00026 class TEveGeoNodeEditor : public TGedFrame
00027 {
00028    TEveGeoNodeEditor(const TEveGeoNodeEditor&);            
00029    TEveGeoNodeEditor& operator=(const TEveGeoNodeEditor&); 
00030 
00031 protected:
00032    TEveGeoNode*    fNodeRE;
00033 
00034    TGCheckButton*  fVizNode;
00035    TGCheckButton*  fVizNodeDaughters;
00036    TGCheckButton*  fVizVolume;
00037    TGCheckButton*  fVizVolumeDaughters;
00038 
00039 public:
00040    TEveGeoNodeEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
00041                      UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
00042    virtual ~TEveGeoNodeEditor() {}
00043 
00044    virtual void SetModel(TObject* obj);
00045 
00046    void DoVizNode();
00047    void DoVizNodeDaughters();
00048    void DoVizVolume();
00049    void DoVizVolumeDaughters();
00050 
00051    ClassDef(TEveGeoNodeEditor, 0); 
00052 };
00053 
00054 
00055 
00056 class TEveGeoTopNodeEditor : public TGedFrame
00057 {
00058    TEveGeoTopNodeEditor(const TEveGeoTopNodeEditor&);            
00059    TEveGeoTopNodeEditor& operator=(const TEveGeoTopNodeEditor&); 
00060 
00061 protected:
00062    TEveGeoTopNode* fTopNodeRE;
00063 
00064    TEveGValuator*  fVisOption;
00065    TEveGValuator*  fVisLevel;
00066    TEveGValuator*  fMaxVisNodes;
00067 
00068 public:
00069    TEveGeoTopNodeEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
00070                         UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
00071    virtual ~TEveGeoTopNodeEditor() {}
00072 
00073    virtual void SetModel(TObject* obj);
00074 
00075    void DoVisOption();
00076    void DoVisLevel();
00077    void DoMaxVisNodes();
00078 
00079    ClassDef(TEveGeoTopNodeEditor, 0); 
00080 };
00081 
00082 #endif