CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 {
30 public:
31  enum EMode { kNode, kVolume };
34 
35 public:
36  FWGeometryTableView(TEveWindowSlot* iParent, FWColorManager* colMng);
37  virtual ~FWGeometryTableView();
38  virtual void populateController(ViewerParameterGUI&) const;
40 
41  void filterListCallback();
44 
45  bool getVolumeMode() const { return m_mode.value() == kVolume; }
46  std::string getFilter() const { return m_filter.value(); }
47  int getAutoExpand() const { return m_autoExpand.value(); }
48  int getVisLevel() const { return m_visLevel.value(); }
50 
51  int getFilterType() const { return m_filterType.value(); }
52 
53  bool drawTopNode() const { return ! m_disableTopNode.value(); }
54  void autoExpandCallback();
55  virtual void setPath(int, std::string&);
56  virtual void setFrom(const FWConfiguration&);
57 
58  // void chosenItem(int);
60 
61  void checkRegionOfInterest();
62  bool isSelectedByRegion() const { return m_selectRegion.value(); }
63 
64 protected:
65  // virtual void initGeometry(TGeoNode* iGeoTopNode, TObjArray* iVolumes);
66 
67 private:
68  FWGeometryTableView(const FWGeometryTableView&); // stop default
69  const FWGeometryTableView& operator=(const FWGeometryTableView&); // stop default
70 
71  // ---------- member data --------------------------------
73 
76 
77 #ifndef __CINT__
81 
85 
89 
90 
91  boost::shared_ptr<FWParameterSetterBase> m_filterTypeSetter;
92 
93 #endif
94 
96 };
97 
98 #endif
virtual void setFrom(const FWConfiguration &)
void updateFilter(std::string &)
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
virtual void populateController(ViewerParameterGUI &) const
ClassDef(FWGeometryTableView, 0)
FWEnumParameter m_mode
FWGeometryTableManager * m_tableManager
boost::shared_ptr< FWParameterSetterBase > m_filterTypeSetter
bool getVolumeMode() const
FWBoolParameter m_visLevelFilter
FWEnumParameter m_proximityAlgo
FWGUIValidatingTextEntry * m_filterEntry
virtual void setPath(int, std::string &)
virtual FWGeometryTableManagerBase * getTableManager()