#include <FWGeometryTableViewBase.h>
Definition at line 48 of file FWGeometryTableViewBase.h.
◆ FWViewCombo()
Definition at line 54 of file FWGeometryTableViewBase.h.
58 TGButton::GetDefaultGC()(),
59 TGTextButton::GetDefaultFontStruct(),
60 kRaisedFrame | kDoubleBorder),
FWGeometryTableViewBase * m_tableView
◆ ~FWViewCombo()
FWGeometryTableViewBase::FWViewCombo::~FWViewCombo |
( |
| ) |
|
|
inlineoverride |
◆ HandleButton()
Bool_t FWGeometryTableViewBase::FWViewCombo::HandleButton |
( |
Event_t * |
event | ) |
|
|
override |
Definition at line 51 of file FWGeometryTableViewBase.cc.
References fwLog, heavyIonCSV_trainingSettings::idx, fwlog::kInfo, m_el, m_tableView, genParticles_cff::map, alignCSCRings::s, and findQualityFiles::v.
52 if (
event->fType == kButtonPress) {
57 TEveElementList* views = gEve->GetViewers();
60 for (TEveElement::List_i it = views->BeginChildren(); it != views->EndChildren(); ++it) {
61 TEveViewer*
v = ((TEveViewer*)(*it));
62 if (strstr(
v->GetElementName(),
"3D")) {
64 m_viewPopup->AddEntry(
v->GetElementName(),
idx);
66 for (TEveElement::List_i eit =
v->BeginChildren(); eit !=
v->EndChildren(); ++eit) {
67 TEveScene*
s = ((TEveSceneInfo*)*eit)->GetScene();
68 if (
m_el &&
s->HasChildren() &&
s->FirstChild() ==
m_el) {
75 m_viewPopup->CheckEntry(
idx);
83 gVirtualX->TranslateCoordinates(GetId(),
84 gClient->GetDefaultRoot()->GetId(),
91 m_viewPopup->PlaceMenu(ax, ay,
true,
true);
92 m_viewPopup->Connect(
"Activated(Int_t)",
93 "FWGeometryTableViewBase",
FWGeometryTableViewBase * m_tableView
◆ setElement()
void FWGeometryTableViewBase::FWViewCombo::setElement |
( |
TEveElement * |
x | ) |
|
|
inline |
◆ m_el
TEveElement* FWGeometryTableViewBase::FWViewCombo::m_el |
|
private |
◆ m_tableView