TEveGeoNodeEditor.h

Go to the documentation of this file.
00001 // @(#)root/eve:$Id: TEveGeoNodeEditor.h 26034 2008-10-31 14:01:05Z matevz $
00002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
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&);            // Not implemented
00029    TEveGeoNodeEditor& operator=(const TEveGeoNodeEditor&); // Not implemented
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); // Editor for TEveGeoNode class.
00052 };
00053 
00054 /******************************************************************************/
00055 
00056 class TEveGeoTopNodeEditor : public TGedFrame
00057 {
00058    TEveGeoTopNodeEditor(const TEveGeoTopNodeEditor&);            // Not implemented
00059    TEveGeoTopNodeEditor& operator=(const TEveGeoTopNodeEditor&); // Not implemented
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); // Editor for TEveGeoTopNode class.
00080 };
00081 
00082 #endif

Generated on Tue Jul 5 14:14:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1