CMS 3D CMS Logo

FWGeometryTableView.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Core
4 // Class : FWGeometryTableView
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author:
10 // Created: Wed Jan 4 00:05:34 CET 2012
11 //
12 
13 // system include files
14 #include <functional>
15 
16 // user include files
27 
32 
33 #include "KeySymbols.h"
34 #include "TGButton.h"
35 #include "TGComboBox.h"
36 #include "TGLabel.h"
37 #include "TGListBox.h"
38 #include "TGLViewer.h"
39 #include "TGeoMatrix.h"
40 #include "TGeoBBox.h"
41 #include "TVirtualX.h"
42 #include "TEveViewer.h"
43 #include "TEveScene.h"
44 #include "TEveSceneInfo.h"
45 #include "TEveManager.h"
46 #include "TGeoManager.h"
47 #include "TGLCamera.h"
48 
49 //==============================================================================
50 //==============================================================================
51 //==============================================================================
52 //==============================================================================
53 
55 public:
57  mutable std::vector<const char*> m_list;
60 
61  virtual void addDaughtersRec(TGeoVolume* v) const {
62  switch (m_browser->getFilterType()) {
64  m_list.push_back(v->GetMaterial()->GetName());
65  break;
67  m_list.push_back(v->GetMaterial()->GetTitle());
68  break;
70  m_list.push_back(v->GetShape()->GetName());
71  break;
73  m_list.push_back(v->GetShape()->ClassName());
74  break;
75  default:
76  std::cerr << "FWGeoMaterialValidator unhandeled case. \n";
77  }
78 
79  for (int i = 0; i < v->GetNdaughters(); ++i)
80  addDaughtersRec(v->GetNode(i)->GetVolume());
81  }
82 
83  void fillOptions(const char* iBegin,
84  const char* iEnd,
85  std::vector<std::pair<std::shared_ptr<std::string>, std::string> >& oOptions) const override {
86  oOptions.clear();
87  m_list.clear();
88 
90  std::advance(tnit, m_browser->getTopNodeIdx());
92  addDaughtersRec(tnit->m_node->GetVolume());
93 
94  std::sort(m_list.begin(), m_list.end());
95  std::vector<const char*>::iterator ui = std::unique(m_list.begin(), m_list.end());
96  m_list.resize(ui - m_list.begin());
97 
98  std::string part(iBegin, iEnd);
99  unsigned int part_size = part.size();
100  std::string h = "";
101  // int cnt = 0;
102  oOptions.push_back(std::make_pair(std::make_shared<std::string>(*m_list.begin()), h));
103  std::vector<const char*>::iterator startIt = m_list.begin();
104  startIt++;
105  for (std::vector<const char*>::iterator i = startIt; i != m_list.end(); ++i) {
106  // std::cout << *i << " " << cnt++ << std::endl;
107  if ((strlen(*i) >= part_size) && strncmp(*i, part.c_str(), part_size) == 0) {
108  oOptions.push_back(std::make_pair(std::make_shared<std::string>((*i)), &((*i)[part_size])));
109  }
110  }
111  }
112 
114  std::cerr << "validation not used \n";
115  return false;
116  }
117 };
118 
119 //==============================================================================
120 //==============================================================================
121 //==============================================================================
122 //==============================================================================
124  : FWGeometryTableViewBase(iParent, FWViewType::kGeometryTable, colMng),
125  m_tableManager(nullptr),
126  m_filterEntry(nullptr),
127  m_filterValidator(nullptr),
128  m_mode(this, "Mode", 0l, 0l, 1l),
129  m_disableTopNode(this, "HideTopNode", true),
130  m_visLevel(this, "VisLevel", 3l, 1l, 100l),
131  m_filter(this, "Materials", std::string()),
132  m_filterType(this, "FilterType:", 0l, 0l, 3l),
133  m_visLevelFilter(this, "IgnoreVisLevelOnFilter", true),
134  m_selectRegion(this, "SelectNearCameraCenter", false),
135  m_regionRadius(this, "SphereRadius", 10.0, 1.0, 300.0),
136  m_proximityAlgo(this, "Proximity algorithm", 1l, 0l, 1l) {
137  FWGeoTopNodeGLScene* gls = new FWGeoTopNodeGLScene(nullptr);
138 #if ROOT_VERSION_CODE < ROOT_VERSION(5, 32, 0)
139  m_eveScene = new FWGeoTopNodeEveScene(gls, "TopGeoNodeScene", "");
140 #else
141  m_eveScene = new TEveScene(gls, "TopGeoNodeScene", "");
142 #endif
143  gEve->GetScenes()->AddElement(m_eveScene);
144 
145  m_eveTopNode = new FWEveDetectorGeo(this);
146  m_eveTopNode->IncDenyDestroy();
147  m_eveTopNode->SetPickable(true);
148  m_eveScene->AddElement(m_eveTopNode);
149 
150  gls->m_eveTopNode = m_eveTopNode;
151  m_eveTopNode->m_scene = gls;
152 
153  // top row
154  TGHorizontalFrame* hp = new TGHorizontalFrame(m_frame);
155  {
156  TGTextButton* rb = new TGTextButton(hp, "CdTop");
157  hp->AddFrame(rb, new TGLayoutHints(kLHintsNormal, 2, 2, 0, 0));
158  rb->Connect("Clicked()", "FWGeometryTableViewBase", this, "cdTop()");
159  }
160  {
161  TGTextButton* rb = new TGTextButton(hp, "CdUp");
162  hp->AddFrame(rb, new TGLayoutHints(kLHintsNormal, 2, 2, 0, 0));
163  rb->Connect("Clicked()", "FWGeometryTableViewBase", this, "cdUp()");
164  }
165  {
166  m_viewBox = new FWViewCombo(hp, this);
167  hp->AddFrame(m_viewBox, new TGLayoutHints(kLHintsExpandY, 2, 2, 0, 0));
168  }
169  {
170  m_filterType.addEntry(kFilterMaterialName, "MaterialName");
171  m_filterType.addEntry(kFilterMaterialTitle, "MaterialTitle");
172  m_filterType.addEntry(kFilterShapeName, "ShapeName");
173  m_filterType.addEntry(kFilterShapeClassName, "ShapeClassName");
174 
175  std::shared_ptr<FWParameterSetterBase> ptr(FWParameterSetterBase::makeSetterFor((FWParameterBase*)&m_filterType));
176  ptr->attach((FWParameterBase*)&m_filterType, this);
177 
178  TGFrame* pframe = ptr->build(hp, false);
179  hp->AddFrame(pframe, new TGLayoutHints(kLHintsLeft));
180  m_filterTypeSetter.swap(ptr);
181  }
182  {
183  hp->AddFrame(new TGLabel(hp, "FilterExp:"), new TGLayoutHints(kLHintsBottom, 0, 0, 0, 2));
185  m_filterEntry->SetHeight(20);
188  hp->AddFrame(m_filterEntry, new TGLayoutHints(kLHintsExpandX, 0, 2, 1, 0));
190  m_filterEntry->getListBox()->Connect("Selected(int)", "FWGeometryTableView", this, "filterListCallback()");
191  m_filterEntry->Connect("ReturnPressed()", "FWGeometryTableView", this, "filterTextEntryCallback()");
192 
193  gVirtualX->GrabKey(m_filterEntry->GetId(), gVirtualX->KeysymToKeycode((int)kKey_A), kKeyControlMask, true);
194  }
195  m_frame->AddFrame(hp, new TGLayoutHints(kLHintsLeft | kLHintsExpandX, 2, 2, 2, 0));
196 
198  {
199  TEveGeoManagerHolder gmgr(FWGeometryTableViewManager::getGeoMangeur());
200  m_tableManager->loadGeometry(gGeoManager->GetTopNode(), gGeoManager->GetListOfVolumes());
201  }
202  cdTop();
203 
204  m_mode.addEntry(kNode, "Node");
205  m_mode.addEntry(kVolume, "Volume");
206 
207  m_mode.changed_.connect(std::bind(&FWGeometryTableView::refreshTable3D, this));
209  m_visLevel.changed_.connect(std::bind(&FWGeometryTableView::refreshTable3D, this));
210 
212 
214  postConst();
215 
216  m_proximityAlgo.addEntry(kBBoxCenter, "BBox center");
217  m_proximityAlgo.addEntry(kBBoxSurface, "BBox surface");
218 
222 }
223 
225 
226 //______________________________________________________________________________
229 
230  m_topNodeIdx.set(parentIdx);
232  ->refEntries()
233  .at(getTopNodeIdx())
235  getTableManager()->setLevelOffset(getTableManager()->refEntries().at(getTopNodeIdx()).m_level);
236 
238  refreshTable3D();
239 }
240 
241 //______________________________________________________________________________
243 
244 //______________________________________________________________________________
246  if (!m_enableRedraw)
247  return;
249  getTableManager()->redrawTable(true);
250 }
251 
252 //______________________________________________________________________________
254  // std::cout << "text entry click ed \n" ;
255  std::string exp = m_filterEntry->GetText();
256  updateFilter(exp);
257 }
258 
259 //______________________________________________________________________________
261  // std::cout << "list click ed [" << m_filterEntry->GetText() << "] \n" ;
262 
263  std::string exp = m_filterEntry->GetText();
264  updateFilter(exp);
265 }
266 
267 //______________________________________________________________________________
269  // std::cout << "=FWGeometryTableViewBase::updateFilter()" << m_filterEntry->GetText() <<std::endl;
270 
271  if (exp.empty()) {
272  // std::cout << "FITLER OFF \n";
274  i != m_tableManager->refEntries().end();
275  ++i) {
276  m_tableManager->setVisibility(*i, true);
278  }
279 
280  // NOTE: entry should be cleared automatically
281  m_filterEntry->Clear();
282  }
283 
284  m_filter.set(exp);
286  refreshTable3D();
287 }
288 
289 //==============================================================================
290 
292  gui.requestTab("Style")
293  .addParam(&m_mode)
295  .separator()
301  .separator()
305  .separator();
306 
307  TGTextButton* butt = new TGTextButton(gui.getTabContainer(), "ReloadColors");
308  gui.getTabContainer()->AddFrame(butt);
309  butt->Connect("Clicked()", "FWGeometryTableViewBase", (FWGeometryTableViewBase*)this, "reloadColors()");
310 }
311 
312 //------------------------------------------------------------------------------
313 
314 /*
315 void FWGeometryTableView::setPath(int parentIdx, std::string& path)
316 {
317  // printf("Set Path to [%s], current node \n", path.c_str());
318  m_topNodeIdx.set(parentIdx);
319  getTableManager()->refEntries().at(getTopNodeIdx()).setBitVal(FWGeometryTableManagerBase::kVisNodeSelf,!m_disableTopNode.value() );
320  getTableManager()->setLevelOffset(getTableManager()->refEntries().at(getTopNodeIdx()).m_level);
321 
322  m_eveTopNode->clearSelection();
323 
324  checkExpandLevel();
325  refreshTable3D();
326  FWGUIManager::getGUIManager()->updateStatus(path.c_str());
327  }*/
328 
329 //--------------------------------------------------------------
330 bool viewIsChecked(TEveViewer* v, TEveElement* el) {
331  if (strstr(v->GetElementName(), "3D")) {
332  for (TEveElement::List_i eit = v->BeginChildren(); eit != v->EndChildren(); ++eit) {
333  TEveScene* s = ((TEveSceneInfo*)*eit)->GetScene();
334  if (el && s->HasChildren() && s->FirstChild() == el)
335  return true;
336  }
337  }
338  return false;
339 }
340 
342  if (m_selectRegion.value()) {
343  double* center = nullptr;
344  for (TEveElement::List_i it = gEve->GetViewers()->BeginChildren(); it != gEve->GetViewers()->EndChildren(); ++it) {
345  TEveViewer* v = ((TEveViewer*)(*it));
346  if (viewIsChecked(v, m_eveTopNode)) {
347  if (center) {
348  fwLog(fwlog::kWarning) << "Center picked from first view \n";
349  } else {
350  center = v->GetGLViewer()->CurrentCamera().GetCenterVec();
351  fwLog(fwlog::kInfo) << Form(
352  "Center picked (%.1f, %.1f, %.1f) from first selected 3D view \n", center[0], center[1], center[2]);
353  }
354  }
355  }
356 
357  if (!center) {
358  fwLog(fwlog::kError) << "No 3D view selected \n";
359  return;
360  }
361 
363  } else {
365  }
366 
367  refreshTable3D();
368 }
369 
370 //------------------------------------------------------------------------------
371 
373  m_enableRedraw = false;
374  for (const_iterator it = begin(), itEnd = end(); it != itEnd; ++it) {
375  // printf("set from %s \n",(*it)->name().c_str() );
376  if ((*it)->name() == m_topNodeIdx.name())
378  else
379  (*it)->setFrom(iFrom);
380  }
381 
383 
384  TGComboBox* cbox = ((FWEnumParameterSetter*)m_filterTypeSetter.get())->getWidget();
385  cbox->Select(m_filterType.value(), false);
386  m_viewersConfig = iFrom.valueForKey("Viewers");
387 
388  m_enableRedraw = true;
389  m_filterEntry->SetText(m_filter.value().c_str(), false);
392  refreshTable3D();
393  /*
394  getTableManager()->redrawTable();
395  m_eveTopNode->ElementChanged();
396  gEve->FullRedraw3D(false, true);
397  */
398 }
399 
400 //------------------------------------------------------------------------------
401 
404  ->refEntries()
405  .at(getTopNodeIdx())
407  refreshTable3D();
408 }
interactiveExample.ui
ui
Definition: interactiveExample.py:13
FWGeometryTableManager::updateFilter
void updateFilter(int)
Definition: FWGeometryTableManager.cc:185
FWGUIValidatingTextEntry::setValidator
void setValidator(FWValidatorBase *)
Definition: FWGUIValidatingTextEntry.cc:78
FWGeometryTableManager
Definition: FWGeometryTableManager.h:30
FWParameterizable::const_iterator
std::vector< FWParameterBase * >::const_iterator const_iterator
Definition: FWParameterizable.h:34
fwLog
#define fwLog(_level_)
Definition: fwLog.h:45
mps_fire.i
i
Definition: mps_fire.py:428
FWGeometryTableViewBase::m_viewersConfig
const FWConfiguration * m_viewersConfig
Definition: FWGeometryTableViewBase.h:133
FWEveDetectorGeo.h
FWGeoMaterialValidator::FWGeoMaterialValidator
FWGeoMaterialValidator(FWGeometryTableView *v)
Definition: FWGeometryTableView.cc:58
funct::false
false
Definition: Factorize.h:29
FWGeometryTableViewManager::getGeoMangeur
static TGeoManager * getGeoMangeur()
Definition: FWGeometryTableViewManager.cc:78
FWGeometryTableViewBase::m_eveTopNode
FWGeoTopNode * m_eveTopNode
Definition: FWGeometryTableViewBase.h:138
ViewerParameterGUI
Definition: CmsShowViewPopup.h:49
FWGeometryTableManager::resetRegionOfInterest
void resetRegionOfInterest()
Definition: FWGeometryTableManager.cc:533
FWGeometryTableView::kFilterMaterialTitle
Definition: FWGeometryTableView.h:32
FWGeometryTableView::m_proximityAlgo
FWEnumParameter m_proximityAlgo
Definition: FWGeometryTableView.h:87
FWGeometryTableView::getFilterType
int getFilterType() const
Definition: FWGeometryTableView.h:50
FWGeometryTableViewBase::refreshTable3D
virtual void refreshTable3D()
Definition: FWGeometryTableViewBase.cc:535
FWParameterBase
Definition: FWParameterBase.h:31
FWGeometryTableView::m_filter
FWStringParameter m_filter
Definition: FWGeometryTableView.h:81
FWGeometryTableViewBase::m_autoExpand
FWLongParameter m_autoExpand
Definition: FWGeometryTableViewBase.h:112
FWGeoMaterialValidator
Definition: FWGeometryTableView.cc:54
FWGeometryTableViewBase::postConst
void postConst()
Definition: FWGeometryTableViewBase.cc:183
FWEnumParameter::addEntry
bool addEntry(Long_t id, const std::string &txt)
Definition: FWEnumParameter.h:53
FWGeometryTableManager.h
FWParameterizable::end
const_iterator end() const
Definition: FWParameterizable.h:38
FWGeometryTableViewBase::m_minParentTransparency
FWLongParameter m_minParentTransparency
Definition: FWGeometryTableViewBase.h:117
FWGeometryTableView::m_filterEntry
FWGUIValidatingTextEntry * m_filterEntry
Definition: FWGeometryTableView.h:73
FWGeometryTableManager::setVisibilityChld
void setVisibilityChld(NodeInfo &nodeInfo, bool) override
Definition: FWGeometryTableManager.cc:411
FWGeoTopNode::clearSelection
void clearSelection()
Definition: FWGeoTopNode.h:76
FWGeometryTableView::kFilterShapeClassName
Definition: FWGeometryTableView.h:32
FWGeometryTableViewBase::setTopNodePathFromConfig
void setTopNodePathFromConfig(const FWConfiguration &iFrom)
Definition: FWGeometryTableViewBase.cc:573
FWGenericParameter::set
void set(T iValue)
Definition: FWGenericParameter.h:70
FWEveDetectorGeo
Definition: FWEveDetectorGeo.h:10
FWGeoMaterialValidator::addDaughtersRec
virtual void addDaughtersRec(TGeoVolume *v) const
Definition: FWGeometryTableView.cc:61
findQualityFiles.v
v
Definition: findQualityFiles.py:179
FWGeometryTableView::~FWGeometryTableView
~FWGeometryTableView() override
Definition: FWGeometryTableView.cc:224
FWGeoTopNodeGLScene::m_eveTopNode
FWGeoTopNode * m_eveTopNode
Definition: FWGeoTopNodeScene.h:16
FWGeometryTableManagerBase.h
FWParameterizable::begin
const_iterator begin() const
Definition: FWParameterizable.h:36
FWGUIValidatingTextEntry
Definition: FWGUIValidatingTextEntry.h:35
FWGeometryTableViewBase::checkExpandLevel
void checkExpandLevel()
Definition: FWGeometryTableViewBase.cc:266
FWGeometryTableManagerBase::setLevelOffset
void setLevelOffset(int x)
Definition: FWGeometryTableManagerBase.h:152
FWGeometryTableView::updateVisibilityTopNode
void updateVisibilityTopNode()
Definition: FWGeometryTableView.cc:402
FWGeometryTableView::m_filterValidator
FWGeoMaterialValidator * m_filterValidator
Definition: FWGeometryTableView.h:74
FWGeometryTableView::m_tableManager
FWGeometryTableManager * m_tableManager
Definition: FWGeometryTableView.h:71
FWGeometryTableManagerBase
Definition: FWGeometryTableManagerBase.h:36
FWEnumParameterSetter
Definition: FWEnumParameterSetter.h:31
alignCSCRings.s
s
Definition: alignCSCRings.py:92
part
part
Definition: HCALResponse.h:20
FWGeometryTableView::m_visLevelFilter
FWBoolParameter m_visLevelFilter
Definition: FWGeometryTableView.h:83
FWGenericParameter::changed_
sigc::signal< void, T > changed_
Definition: FWGenericParameter.h:75
FWGeometryTableViewBase::cdTop
virtual void cdTop()
Definition: FWGeometryTableViewBase.cc:237
FWGeometryTableManager::loadGeometry
void loadGeometry(TGeoNode *iGeoTopNode, TObjArray *iVolumes)
Definition: FWGeometryTableManager.cc:228
ViewerParameterGUI::separator
ViewerParameterGUI & separator()
Definition: CmsShowViewPopup.cc:232
trackingPlots.hp
hp
Definition: trackingPlots.py:1230
FWViewType.h
FWGeometryTableView::populateController
void populateController(ViewerParameterGUI &) const override
Definition: FWGeometryTableView.cc:291
FWGeometryTableView
Definition: FWGeometryTableView.h:28
FWGeometryTableView::autoExpandCallback
void autoExpandCallback()
Definition: FWGeometryTableView.cc:245
FWGeometryTableView::setFrom
void setFrom(const FWConfiguration &) override
Definition: FWGeometryTableView.cc:372
FWGeoMaterialValidator::isStringValid
bool isStringValid(std::string &exp)
Definition: FWGeometryTableView.cc:113
FWGeometryTableViewManager.h
FWGUIValidatingTextEntry.h
FWGeometryTableViewBase
Definition: FWGeometryTableViewBase.h:41
viewIsChecked
bool viewIsChecked(TEveViewer *v, TEveElement *el)
Definition: FWGeometryTableView.cc:330
FWValidatorBase
Definition: FWValidatorBase.h:30
FWGeometryTableView::getTableManager
FWGeometryTableManagerBase * getTableManager() override
Definition: FWGeometryTableView.cc:242
FWConfiguration::valueForKey
const FWConfiguration * valueForKey(const std::string &iKey) const
Definition: FWConfiguration.cc:122
FWGeometryTableViewBase::m_frame
TGCompositeFrame * m_frame
Definition: FWGeometryTableViewBase.h:129
h
FWGeometryTableViewBase::m_eveScene
TEveScene * m_eveScene
Definition: FWGeometryTableViewBase.h:139
FWGeoMaterialValidator::~FWGeoMaterialValidator
~FWGeoMaterialValidator() override
Definition: FWGeometryTableView.cc:59
FWGeometryTableView::m_filterType
FWEnumParameter m_filterType
Definition: FWGeometryTableView.h:82
FWGeometryTableView::kVolume
Definition: FWGeometryTableView.h:30
FWGeometryTableViewBase::cdNode
void cdNode(int)
Definition: FWGeometryTableViewBase.cc:231
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
funct::true
true
Definition: Factorize.h:173
FWGUIValidatingTextEntry::getListBox
TGListBox * getListBox() const
Definition: FWGUIValidatingTextEntry.h:50
ViewerParameterGUI::getTabContainer
TGCompositeFrame * getTabContainer()
Definition: CmsShowViewPopup.cc:240
FWGeometryTableViewBase::m_topNodeIdx
FWLongParameter m_topNodeIdx
Definition: FWGeometryTableViewBase.h:111
FWGeometryTableView::m_disableTopNode
FWBoolParameter m_disableTopNode
Definition: FWGeometryTableView.h:78
FWGeometryTableView::kBBoxCenter
Definition: FWGeometryTableView.h:31
jetUpdater_cfi.sort
sort
Definition: jetUpdater_cfi.py:29
FWGeometryTableManager::checkRegionOfInterest
void checkRegionOfInterest(double *center, double radius, long algo)
Definition: FWGeometryTableManager.cc:462
FWGeometryTableManagerBase::kVisNodeSelf
Definition: FWGeometryTableManagerBase.h:45
FWGeoTopNode::m_scene
FWGeoTopNodeGLScene * m_scene
Definition: FWGeoTopNode.h:66
FWGeoMaterialValidator::m_list
std::vector< const char * > m_list
Definition: FWGeometryTableView.cc:57
FWGeometryTableViewBase::m_enableRedraw
bool m_enableRedraw
Definition: FWGeometryTableViewBase.h:135
FWGeometryTableView::filterListCallback
void filterListCallback()
Definition: FWGeometryTableView.cc:260
FWParameterBase::name
const std::string & name() const
Definition: FWParameterBase.h:39
FWEnumParameter.h
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
FWGeoMaterialValidator::fillOptions
void fillOptions(const char *iBegin, const char *iEnd, std::vector< std::pair< std::shared_ptr< std::string >, std::string > > &oOptions) const override
Definition: FWGeometryTableView.cc:83
fwlog::kWarning
Definition: fwLog.h:35
fwLog.h
FWGeometryTableView::m_regionRadius
FWDoubleParameter m_regionRadius
Definition: FWGeometryTableView.h:86
FWColorManager
Definition: FWColorManager.h:45
FWValidatorBase.h
FWGeometryTableManagerBase::refEntries
Entries_v & refEntries()
Definition: FWGeometryTableManagerBase.h:143
FWParameterSetterBase::makeSetterFor
static std::shared_ptr< FWParameterSetterBase > makeSetterFor(FWParameterBase *)
Definition: FWParameterSetterBase.cc:83
FWGeometryTableViewBase::getTopNodeIdx
int getTopNodeIdx() const
Definition: FWGeometryTableViewBase.h:97
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
FWGeometryTableView::FWGeometryTableView
FWGeometryTableView(TEveWindowSlot *iParent, FWColorManager *colMng)
Definition: FWGeometryTableView.cc:123
FWGeometryTableView::m_visLevel
FWLongParameter m_visLevel
Definition: FWGeometryTableView.h:79
FWGenericParameter::value
T value() const
Definition: FWGenericParameter.h:50
fwlog::kInfo
Definition: fwLog.h:35
FWGeometryTableView::m_selectRegion
FWBoolParameter m_selectRegion
Definition: FWGeometryTableView.h:85
FWGeometryTableViewBase::m_minLeafTransparency
FWLongParameter m_minLeafTransparency
Definition: FWGeometryTableViewBase.h:118
FWGeometryTableView::checkRegionOfInterest
void checkRegionOfInterest()
Definition: FWGeometryTableView.cc:341
FWGeometryTableView::kBBoxSurface
Definition: FWGeometryTableView.h:31
std
Definition: JetResolutionObject.h:76
FWGeometryTableView::kNode
Definition: FWGeometryTableView.h:30
FWGeometryTableView::filterTextEntryCallback
void filterTextEntryCallback()
Definition: FWGeometryTableView.cc:253
tier0.unique
def unique(seq, keepstr=True)
Definition: tier0.py:24
FWGeometryTableManagerBase::redrawTable
void redrawTable(bool setExpand=false)
Definition: FWGeometryTableManagerBase.cc:177
CmsShowViewPopup.h
FWGeometryTableView::m_filterTypeSetter
std::shared_ptr< FWParameterSetterBase > m_filterTypeSetter
Definition: FWGeometryTableView.h:89
FWGUIValidatingTextEntry::setMaxListBoxHeight
void setMaxListBoxHeight(UInt_t x)
Definition: FWGUIValidatingTextEntry.h:51
FWGeometryTableView::updateFilter
void updateFilter(std::string &)
Definition: FWGeometryTableView.cc:268
FWGeometryTableView::setPath
void setPath(int, std::string &) override
Definition: FWGeometryTableView.cc:227
fwlog::kError
Definition: fwLog.h:35
FWGeometryTableView::kFilterMaterialName
Definition: FWGeometryTableView.h:32
FWGeometryTableView::m_mode
FWEnumParameter m_mode
Definition: FWGeometryTableView.h:77
FWGeometryTableViewBase::m_viewBox
FWViewCombo * m_viewBox
Definition: FWGeometryTableViewBase.h:131
FWConfiguration
Definition: FWConfiguration.h:31
FWGeometryTableManagerBase::Entries_i
Entries_v::iterator Entries_i
Definition: FWGeometryTableManagerBase.h:88
FWGeoMaterialValidator::m_browser
FWGeometryTableView * m_browser
Definition: FWGeometryTableView.cc:56
JetChargeProducer_cfi.exp
exp
Definition: JetChargeProducer_cfi.py:6
FWGeoTopNodeGLScene
Definition: FWGeoTopNodeScene.h:9
FWGeometryTableManager::setVisibility
void setVisibility(NodeInfo &nodeInfo, bool) override
Definition: FWGeometryTableManager.cc:398
FWViewType
Definition: FWViewType.h:22
FWGeoTopNodeScene.h
EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.cerr
cerr
Definition: EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0.py:8
FWEnumParameterSetter.h
FWGeometryTableView::kFilterShapeName
Definition: FWGeometryTableView.h:32
FWGeometryTableView.h
FWGeometryTableViewBase::FWViewCombo
Definition: FWGeometryTableViewBase.h:48
ViewerParameterGUI::addParam
ViewerParameterGUI & addParam(const FWParameterBase *)
Definition: CmsShowViewPopup.cc:212
FWGUIManager.h
ViewerParameterGUI::requestTab
ViewerParameterGUI & requestTab(const char *)
Definition: CmsShowViewPopup.cc:197