CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 public:
32  ~FWGeometryTableViewManager() override;
33 
34  // dummy functions of FWViewManagerBase
36  void newItem(const FWEventItem*) override {}
37 
38  FWViewBase* buildView(TEveWindowSlot* iParent, const std::string& type);
39  void colorsChanged() override;
40 
41  TList* getListOfVolumes() const;
42  TGeoNode* getTopTGeoNode();
43 
44  static TGeoManager* getGeoMangeur();
45  static void setGeoManagerRuntime(TGeoManager*);
46 
47 protected:
48  // dummy functions of FWViewManagerBase
49  void modelChangesComing() override {}
50  void modelChangesDone() override {}
51 
52  std::vector<std::shared_ptr<FWGeometryTableViewBase> > m_views;
53 
54 private:
57  void beingDestroyed(const FWViewBase* iView);
58 
59  static TGeoManager* s_geoManager;
62  void setGeoManagerFromFile();
63 };
64 
65 #endif
TList * getListOfVolumes() const
void newItem(const FWEventItem *) override
std::vector< std::shared_ptr< FWGeometryTableViewBase > > m_views
FWTypeToRepresentations supportedTypesAndRepresentations() const override
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)