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 // $Id: FWGeometryTableViewManager.h,v 1.8 2012/04/21 00:30:21 amraktad Exp $
20 //
21 
22 class FWViewBase;
23 class FWGUIManager;
24 class TEveWindowSlot;
25 class TGeoManager;
26 
29 
31 {
32 public:
35 
36  // dummy functions of FWViewManagerBase
38  virtual void newItem(const FWEventItem*) {}
39 
40  FWViewBase *buildView (TEveWindowSlot *iParent, const std::string& type);
41  virtual void colorsChanged();
42 
43  TList* getListOfVolumes() const;
44  TGeoNode* getTopTGeoNode();
45 
46  static TGeoManager* getGeoMangeur();
47  static void setGeoManagerRuntime(TGeoManager*);
48 
49 protected:
50  // dummy functions of FWViewManagerBase
51  virtual void modelChangesComing() {}
52  virtual void modelChangesDone() {}
53 
54  std::vector<boost::shared_ptr<FWGeometryTableViewBase> > m_views;
55 
56 private:
59  void beingDestroyed(const FWViewBase* iView);
60 
61  static TGeoManager *s_geoManager;
63  void setGeoManagerFromFile();
64 };
65 
66 
67 #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)