Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:42

0001 #ifndef Fireworks_Core_FWOverlapTableView_h
0002 #define Fireworks_Core_FWOverlapTableView_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWOverlapTableView
0007 //
0008 /**\class FWOverlapTableView FWOverlapTableView.h Fireworks/Core/interface/FWOverlapTableView.h
0009 
0010  Description: [one line class summary]
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:
0018 //         Created:  Wed Jan  4 00:06:31 CET 2012
0019 //
0020 
0021 #include "Fireworks/Core/interface/FWGeometryTableViewBase.h"
0022 
0023 class FWOverlapTableManager;
0024 class TEvePointSet;
0025 class FWEveOverlap;
0026 //class FWGUIValidatingTextEntry;
0027 //class FWGeoPathValidator;
0028 class TGNumberEntry;
0029 class RGTextButton;
0030 class TGCheckButton;
0031 
0032 class FWOverlapTableView : public FWGeometryTableViewBase {
0033 public:
0034   FWOverlapTableView(TEveWindowSlot* iParent, FWColorManager* colMng);
0035   ~FWOverlapTableView() override;
0036 
0037   FWGeometryTableManagerBase* getTableManager() override;
0038 
0039   void precisionCallback(Long_t);
0040   void recalculate();
0041 
0042   void setFrom(const FWConfiguration&) override;
0043   void populateController(ViewerParameterGUI&) const override;
0044 
0045   void cdTop() override;
0046   void cdUp() override;
0047 
0048   void drawPoints();
0049   void pointSize();
0050 
0051   bool listAllNodes() const;
0052   void setListAllNodes();
0053   void chosenItem(int x) override;
0054 
0055 protected:
0056   virtual TEveElement* getEveGeoElement() const;
0057 
0058 private:
0059   FWOverlapTableView(const FWOverlapTableView&);                   // stop default
0060   const FWOverlapTableView& operator=(const FWOverlapTableView&);  // stop default
0061 
0062   void setCheckerState(bool);
0063   TGTextButton* m_applyButton;
0064   TGCheckButton* m_listOptionButton;
0065 
0066 public:
0067   // ---------- member data --------------------------------
0068 
0069   FWOverlapTableManager* m_tableManager;
0070   TGNumberEntry* m_numEntry;
0071 
0072   bool m_runChecker;
0073   void refreshTable3D() override;
0074 
0075 #ifndef __CINT__
0076   FWStringParameter m_path;
0077   FWDoubleParameter m_precision;
0078 
0079   FWBoolParameter m_listAllNodes;
0080 
0081   FWBoolParameter m_rnrOverlap;
0082   FWBoolParameter m_rnrExtrusion;
0083 
0084   FWBoolParameter m_drawPoints;
0085   FWLongParameter m_pointSize;
0086   FWLongParameter m_extrusionMarkerColor;
0087   FWLongParameter m_overlapMarkerColor;
0088 
0089 #endif
0090   ClassDefOverride(FWOverlapTableView, 0);
0091 };
0092 
0093 #endif