CMS 3D CMS Logo

FWGeometryTableViewManager.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWGeometryTableViewManager_h
2 #define Fireworks_Core_FWGeometryTableViewManager_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWGeometryTableViewManager
7 //
16 //
17 // Original Author: Alja Mrak-Tadel
18 // Created: Fri Jul 8 00:40:50 CEST 2011
19 //
20 
21 class FWViewBase;
22 class FWGUIManager;
23 class TEveWindowSlot;
24 class TGeoManager;
25 
28 
30 {
31 public:
33  ~FWGeometryTableViewManager() override;
34 
35  // dummy functions of FWViewManagerBase
37  void newItem(const FWEventItem*) override {}
38 
39  FWViewBase *buildView (TEveWindowSlot *iParent, const std::string& type);
40  void colorsChanged() override;
41 
42  TList* getListOfVolumes() const;
43  TGeoNode* getTopTGeoNode();
44 
45  static TGeoManager* getGeoMangeur();
46  static void setGeoManagerRuntime(TGeoManager*);
47 
48 protected:
49  // dummy functions of FWViewManagerBase
50  void modelChangesComing() override {}
51  void modelChangesDone() override {}
52 
53  std::vector<std::shared_ptr<FWGeometryTableViewBase> > m_views;
54 
55 private:
58  void beingDestroyed(const FWViewBase* iView);
59 
60  static TGeoManager *s_geoManager;
63  void setGeoManagerFromFile();
64 };
65 
66 
67 #endif
type
Definition: HCALResponse.h:21
TList * getListOfVolumes() const
FWTypeToRepresentations supportedTypesAndRepresentations() const override
void newItem(const FWEventItem *) override
std::vector< std::shared_ptr< FWGeometryTableViewBase > > m_views
void beingDestroyed(const FWViewBase *iView)
FWGeometryTableViewManager(FWGUIManager *, std::string fileName, std::string geoName)
static void setGeoManagerRuntime(TGeoManager *)
const FWGeometryTableViewManager & operator=(const FWGeometryTableViewManager &)
FWViewBase * buildView(TEveWindowSlot *iParent, const std::string &type)