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 TFile * findFile(const char *fileName)
TGeoManager * FWGeometryTableViewManager_GetGeoManager()
~FWGeometryTableViewManager() override
FWColorManager & colorManager() const
std::vector< std::shared_ptr< FWGeometryTableViewBase > > m_views
void registerViewBuilder(const std::string &iName, ViewBuildFunctor &iBuilder)
static std::string sName[kTypeSize]
void beingDestroyed(const FWViewBase *iView)
std::function< FWViewBase *(TEveWindowSlot *, const std::string &)> ViewBuildFunctor
static TGeoManager * s_geoManager
void colorsChanged() override
void setGeoManagerFromFile()
FWGeometryTableViewManager(FWGUIManager *, std::string fileName, std::string geoName)
static TGeoManager * getGeoMangeur()
static const std::string & idToName(int)
static void setGeoManagerRuntime(TGeoManager *)
FWViewBase * buildView(TEveWindowSlot *iParent, const std::string &type)