CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
void updateFilter(std::string &)
void setPath(int, std::string &) override
FWGeoMaterialValidator * m_filterValidator
FWDoubleParameter m_regionRadius
FWGeometryTableView(TEveWindowSlot *iParent, FWColorManager *colMng)
FWBoolParameter m_selectRegion
std::string getFilter() const
bool isSelectedByRegion() const
FWBoolParameter m_disableTopNode
FWEnumParameter m_filterType
FWLongParameter m_visLevel
const FWGeometryTableView & operator=(const FWGeometryTableView &)
bool getIgnoreVisLevelWhenFilter() const
FWStringParameter m_filter
std::shared_ptr< FWParameterSetterBase > m_filterTypeSetter
FWEnumParameter m_mode
FWGeometryTableManager * m_tableManager
void setFrom(const FWConfiguration &) override
FWGeometryTableManagerBase * getTableManager() override
bool getVolumeMode() const
FWBoolParameter m_visLevelFilter
FWEnumParameter m_proximityAlgo
void populateController(ViewerParameterGUI &) const override
FWGUIValidatingTextEntry * m_filterEntry
ClassDefOverride(FWGeometryTableView, 0)