CMS 3D CMS Logo

FWGeometryTableView.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWGeometryTableView_h
2 #define Fireworks_Core_FWGeometryTableView_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWGeometryTableView
7 //
16 //
17 // Original Author:
18 // Created: Wed Jan 4 00:05:38 CET 2012
19 //
20 
26 class FWEveDetectorGeo;
27 
29 public:
30  enum EMode { kNode, kVolume };
33 
34 public:
35  FWGeometryTableView(TEveWindowSlot* iParent, FWColorManager* colMng);
36  ~FWGeometryTableView() override;
37  void populateController(ViewerParameterGUI&) const override;
39 
40  void filterListCallback();
43 
44  bool getVolumeMode() const { return m_mode.value() == kVolume; }
45  std::string getFilter() const { return m_filter.value(); }
46  int getAutoExpand() const { return m_autoExpand.value(); }
47  int getVisLevel() const { return m_visLevel.value(); }
49 
50  int getFilterType() const { return m_filterType.value(); }
51 
52  bool drawTopNode() const { return !m_disableTopNode.value(); }
53  void autoExpandCallback();
54  void setPath(int, std::string&) override;
55  void setFrom(const FWConfiguration&) override;
56 
57  // void chosenItem(int);
59 
60  void checkRegionOfInterest();
61  bool isSelectedByRegion() const { return m_selectRegion.value(); }
62 
63 protected:
64  // virtual void initGeometry(TGeoNode* iGeoTopNode, TObjArray* iVolumes);
65 
66 private:
67  FWGeometryTableView(const FWGeometryTableView&); // stop default
68  const FWGeometryTableView& operator=(const FWGeometryTableView&); // stop default
69 
70  // ---------- member data --------------------------------
72 
75 
76 #ifndef __CINT__
80 
84 
88 
89  std::shared_ptr<FWParameterSetterBase> m_filterTypeSetter;
90 
91 #endif
92 
94 };
95 
96 #endif
FWGeometryTableView::EMode
EMode
Definition: FWGeometryTableView.h:30
FWEnumParameter
Definition: FWEnumParameter.h:30
FWGeometryTableManager
Definition: FWGeometryTableManager.h:30
FWGenericParameterWithRange
Definition: FWGenericParameterWithRange.h:27
ViewerParameterGUI
Definition: CmsShowViewPopup.h:49
FWGeometryTableView::kFilterMaterialTitle
Definition: FWGeometryTableView.h:32
FWGeometryTableViewBase.h
FWGeometryTableView::m_proximityAlgo
FWEnumParameter m_proximityAlgo
Definition: FWGeometryTableView.h:87
FWGeometryTableView::getFilterType
int getFilterType() const
Definition: FWGeometryTableView.h:50
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
FWGeometryTableView::m_filterEntry
FWGUIValidatingTextEntry * m_filterEntry
Definition: FWGeometryTableView.h:73
FWGeometryTableView::getAutoExpand
int getAutoExpand() const
Definition: FWGeometryTableView.h:46
FWGeometryTableView::ClassDefOverride
ClassDefOverride(FWGeometryTableView, 0)
FWGeometryTableView::kFilterShapeClassName
Definition: FWGeometryTableView.h:32
FWEveDetectorGeo
Definition: FWEveDetectorGeo.h:10
FWGeometryTableView::~FWGeometryTableView
~FWGeometryTableView() override
Definition: FWGeometryTableView.cc:224
FWGenericParameter
Definition: FWGenericParameter.h:31
FWGUIValidatingTextEntry
Definition: FWGUIValidatingTextEntry.h:35
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
FWGeometryTableView::getIgnoreVisLevelWhenFilter
bool getIgnoreVisLevelWhenFilter() const
Definition: FWGeometryTableView.h:48
FWGeometryTableView::m_visLevelFilter
FWBoolParameter m_visLevelFilter
Definition: FWGeometryTableView.h:83
FWGeometryTableView::populateController
void populateController(ViewerParameterGUI &) const override
Definition: FWGeometryTableView.cc:291
FWGeometryTableView
Definition: FWGeometryTableView.h:28
FWGeometryTableView::getVisLevel
int getVisLevel() const
Definition: FWGeometryTableView.h:47
FWGeometryTableView::autoExpandCallback
void autoExpandCallback()
Definition: FWGeometryTableView.cc:245
FWGeometryTableView::setFrom
void setFrom(const FWConfiguration &) override
Definition: FWGeometryTableView.cc:372
FWGeometryTableViewBase
Definition: FWGeometryTableViewBase.h:41
FWGeometryTableView::isSelectedByRegion
bool isSelectedByRegion() const
Definition: FWGeometryTableView.h:61
FWGeometryTableView::getTableManager
FWGeometryTableManagerBase * getTableManager() override
Definition: FWGeometryTableView.cc:242
FWGeometryTableView::m_filterType
FWEnumParameter m_filterType
Definition: FWGeometryTableView.h:82
FWGeometryTableView::kVolume
Definition: FWGeometryTableView.h:30
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FWGeometryTableView::drawTopNode
bool drawTopNode() const
Definition: FWGeometryTableView.h:52
FWGeometryTableView::m_disableTopNode
FWBoolParameter m_disableTopNode
Definition: FWGeometryTableView.h:78
FWGeometryTableView::kBBoxCenter
Definition: FWGeometryTableView.h:31
FWGeometryTableView::filterListCallback
void filterListCallback()
Definition: FWGeometryTableView.cc:260
FWGeometryTableView::getVolumeMode
bool getVolumeMode() const
Definition: FWGeometryTableView.h:44
FWGeometryTableView::m_regionRadius
FWDoubleParameter m_regionRadius
Definition: FWGeometryTableView.h:86
FWColorManager
Definition: FWColorManager.h:45
FWGeometryTableView::EFiterType
EFiterType
Definition: FWGeometryTableView.h:32
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
FWGeometryTableView::m_selectRegion
FWBoolParameter m_selectRegion
Definition: FWGeometryTableView.h:85
FWGeometryTableView::checkRegionOfInterest
void checkRegionOfInterest()
Definition: FWGeometryTableView.cc:341
FWGeometryTableView::kBBoxSurface
Definition: FWGeometryTableView.h:31
FWGeometryTableView::kNode
Definition: FWGeometryTableView.h:30
FWGeometryTableView::filterTextEntryCallback
void filterTextEntryCallback()
Definition: FWGeometryTableView.cc:253
FWGeometryTableView::m_filterTypeSetter
std::shared_ptr< FWParameterSetterBase > m_filterTypeSetter
Definition: FWGeometryTableView.h:89
FWGeometryTableView::EProximityAlgo
EProximityAlgo
Definition: FWGeometryTableView.h:31
FWGeometryTableView::updateFilter
void updateFilter(std::string &)
Definition: FWGeometryTableView.cc:268
FWGeometryTableView::setPath
void setPath(int, std::string &) override
Definition: FWGeometryTableView.cc:227
FWGeometryTableView::kFilterMaterialName
Definition: FWGeometryTableView.h:32
FWGeometryTableView::m_mode
FWEnumParameter m_mode
Definition: FWGeometryTableView.h:77
FWConfiguration
Definition: FWConfiguration.h:31
FWGeometryTableView::getFilter
std::string getFilter() const
Definition: FWGeometryTableView.h:45
FWGeometryTableView::kFilterShapeName
Definition: FWGeometryTableView.h:32
FWGeometryTableView::operator=
const FWGeometryTableView & operator=(const FWGeometryTableView &)