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 // $Id: FWGeometryTableView.h,v 1.11 2012/05/09 04:51:05 amraktad Exp $
20 //
21 
27 class FWEveDetectorGeo;
28 
30 {
31 public:
32  enum EMode { kNode, kVolume };
35 
36 public:
37  FWGeometryTableView(TEveWindowSlot* iParent, FWColorManager* colMng);
38  virtual ~FWGeometryTableView();
39  virtual void populateController(ViewerParameterGUI&) const;
41 
42  void filterListCallback();
45 
46  bool getVolumeMode() const { return m_mode.value() == kVolume; }
47  std::string getFilter() const { return m_filter.value(); }
48  int getAutoExpand() const { return m_autoExpand.value(); }
49  int getVisLevel() const { return m_visLevel.value(); }
51 
52  int getFilterType() const { return m_filterType.value(); }
53 
54  bool drawTopNode() const { return ! m_disableTopNode.value(); }
55  void autoExpandCallback();
56  virtual void setPath(int, std::string&);
57  virtual void setFrom(const FWConfiguration&);
58 
59  // void chosenItem(int);
61 
62  void checkRegionOfInterest();
63  bool isSelectedByRegion() const { return m_selectRegion.value(); }
64 
65 protected:
66  // virtual void initGeometry(TGeoNode* iGeoTopNode, TObjArray* iVolumes);
67 
68 private:
69  FWGeometryTableView(const FWGeometryTableView&); // stop default
70  const FWGeometryTableView& operator=(const FWGeometryTableView&); // stop default
71 
72  // ---------- member data --------------------------------
74 
77 
78 #ifndef __CINT__
82 
86 
90 
91 
92  boost::shared_ptr<FWParameterSetterBase> m_filterTypeSetter;
93 
94 #endif
95 
97 };
98 
99 #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()