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 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
FWGeometryTableViewManager::supportedTypesAndRepresentations
FWTypeToRepresentations supportedTypesAndRepresentations() const override
Definition: FWGeometryTableViewManager.h:35
FWGeometryTableViewManager::getTopTGeoNode
TGeoNode * getTopTGeoNode()
FWGUIManager
Definition: FWGUIManager.h:95
FWViewManagerBase
Definition: FWViewManagerBase.h:45
FWGeometryTableViewManager::getGeoMangeur
static TGeoManager * getGeoMangeur()
Definition: FWGeometryTableViewManager.cc:78
FWGeometryTableViewBase.h
FWGeometryTableViewManager::buildView
FWViewBase * buildView(TEveWindowSlot *iParent, const std::string &type)
Definition: FWGeometryTableViewManager.cc:43
MillePedeFileConverter_cfg.fileName
fileName
Definition: MillePedeFileConverter_cfg.py:32
FWGeometryTableViewManager::m_views
std::vector< std::shared_ptr< FWGeometryTableViewBase > > m_views
Definition: FWGeometryTableViewManager.h:52
FWGeometryTableViewManager::FWGeometryTableViewManager
FWGeometryTableViewManager(FWGUIManager *, std::string fileName, std::string geoName)
Definition: FWGeometryTableViewManager.cc:33
FWGeometryTableViewManager::setGeoManagerFromFile
void setGeoManagerFromFile()
Definition: FWGeometryTableViewManager.cc:93
FWGeometryTableViewManager::m_TGeoName
std::string m_TGeoName
Definition: FWGeometryTableViewManager.h:61
FWGeometryTableViewManager::getListOfVolumes
TList * getListOfVolumes() const
FWGeometryTableViewManager::operator=
const FWGeometryTableViewManager & operator=(const FWGeometryTableViewManager &)
FWViewManagerBase.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FWGeometryTableViewManager
Definition: FWGeometryTableViewManager.h:29
FWGeometryTableViewManager::colorsChanged
void colorsChanged() override
Definition: FWGeometryTableViewManager.cc:72
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
FWGeometryTableViewManager::modelChangesComing
void modelChangesComing() override
Definition: FWGeometryTableViewManager.h:49
FWGeometryTableViewManager::m_fileName
std::string m_fileName
Definition: FWGeometryTableViewManager.h:60
FWGeometryTableViewManager::newItem
void newItem(const FWEventItem *) override
Definition: FWGeometryTableViewManager.h:36
FWEventItem
Definition: FWEventItem.h:56
FWTypeToRepresentations
Definition: FWTypeToRepresentations.h:33
FWGeometryTableViewManager::s_geoManager
static TGeoManager * s_geoManager
Definition: FWGeometryTableViewManager.h:59
FWGeometryTableViewManager::setGeoManagerRuntime
static void setGeoManagerRuntime(TGeoManager *)
Definition: FWGeometryTableViewManager.cc:86
FWViewBase
Definition: FWViewBase.h:36
FWGeometryTableViewManager::beingDestroyed
void beingDestroyed(const FWViewBase *iView)
Definition: FWGeometryTableViewManager.cc:62
FWGeometryTableViewManager::~FWGeometryTableViewManager
~FWGeometryTableViewManager() override
Definition: FWGeometryTableViewManager.cc:41
FWGeometryTableViewManager::modelChangesDone
void modelChangesDone() override
Definition: FWGeometryTableViewManager.h:50