Go to the documentation of this file.
17 #include "TGeoManager.h"
18 #include "TGeoMatrix.h"
19 #include "TEveManager.h"
46 std::shared_ptr<FWGeometryTableViewBase> view;
55 view->setBackgroundColor();
56 m_views.push_back(std::shared_ptr<FWGeometryTableViewBase>(view));
65 if (it->get() == iView) {
74 (*it)->setBackgroundColor();
105 throw std::runtime_error(
"Can't find TGeoManager object in selected file.");
107 }
catch (std::runtime_error&
e) {
static const std::string & idToName(int)
static TGeoManager * getGeoMangeur()
void registerViewBuilder(const std::string &iName, ViewBuildFunctor &iBuilder)
FWColorManager & colorManager() const
FWViewBase * buildView(TEveWindowSlot *iParent, const std::string &type)
std::vector< std::shared_ptr< FWGeometryTableViewBase > > m_views
FWGeometryTableViewManager(FWGUIManager *, std::string fileName, std::string geoName)
void setGeoManagerFromFile()
static std::string sName[kTypeSize]
std::function< FWViewBase *(TEveWindowSlot *, const std::string &)> ViewBuildFunctor
void colorsChanged() override
static TFile * findFile(const char *fileName)
static TGeoManager * s_geoManager
static void setGeoManagerRuntime(TGeoManager *)
TGeoManager * FWGeometryTableViewManager_GetGeoManager()
void beingDestroyed(const FWViewBase *iView)
~FWGeometryTableViewManager() override