test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 {
31 public:
34 
35  // dummy functions of FWViewManagerBase
37  virtual void newItem(const FWEventItem*) {}
38 
39  FWViewBase *buildView (TEveWindowSlot *iParent, const std::string& type);
40  virtual void colorsChanged();
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  virtual void modelChangesComing() {}
51  virtual void modelChangesDone() {}
52 
53  std::vector<boost::shared_ptr<FWGeometryTableViewBase> > m_views;
54 
55 private:
58  void beingDestroyed(const FWViewBase* iView);
59 
60  static TGeoManager *s_geoManager;
62  void setGeoManagerFromFile();
63 };
64 
65 
66 #endif
type
Definition: HCALResponse.h:21
virtual void newItem(const FWEventItem *)
TList * getListOfVolumes() const
FWGeometryTableViewManager(FWGUIManager *, std::string fileName)
void beingDestroyed(const FWViewBase *iView)
virtual FWTypeToRepresentations supportedTypesAndRepresentations() const
std::vector< boost::shared_ptr< FWGeometryTableViewBase > > m_views
static void setGeoManagerRuntime(TGeoManager *)
const FWGeometryTableViewManager & operator=(const FWGeometryTableViewManager &)
FWViewBase * buildView(TEveWindowSlot *iParent, const std::string &type)