CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/Fireworks/Core/src/FWEveDetectorGeo.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWGeoEveDetectorGeo_h
00002 #define Fireworks_Core_FWGeoEveDetectorGeo_h
00003 
00004 #include "Fireworks/Core/interface/FWGeoTopNode.h"
00005 #include "TString.h"
00006 #include <Rtypes.h>
00007 
00008 class FWGeometryTableManagerBase;
00009 
00010 class FWEveDetectorGeo : public FWGeoTopNode
00011 {
00012 public:
00013 
00014    enum MenuOptions {
00015       kGeoSetTopNode,
00016       kGeoSetTopNodeCam,
00017       kGeoVisOn,
00018       kGeoVisOff,
00019       kGeoInspectMaterial,
00020       kGeoInspectShape,
00021       kGeoCamera
00022    };
00023 
00024    FWEveDetectorGeo(FWGeometryTableView* v); 
00025    virtual ~FWEveDetectorGeo() {}
00026 
00027    virtual void Paint(Option_t* option="");
00028 
00029    virtual TString     GetHighlightTooltip();
00030 
00031    virtual FWGeometryTableManagerBase* tableManager();
00032    virtual void popupMenu(int x, int y);
00033 private:
00034 #ifndef __CINT__
00035    void paintChildNodesRecurse(FWGeometryTableManagerBase::Entries_i pIt, Int_t idx,  const TGeoHMatrix& mtx);
00036 #endif
00037    FWGeometryTableView       *m_browser;
00038    int m_maxLevel;
00039    bool m_filterOff;
00040 
00041    ClassDef(FWEveDetectorGeo, 0);
00042 };
00043 
00044 #endif