CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/Fireworks/Core/src/FWOverlapTableView.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWOverlapTableView_h
00002 #define Fireworks_Core_FWOverlapTableView_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWOverlapTableView
00007 // 
00016 //
00017 // Original Author:  
00018 //         Created:  Wed Jan  4 00:06:31 CET 2012
00019 // $Id: FWOverlapTableView.h,v 1.5 2012/03/14 23:58:22 amraktad Exp $
00020 //
00021 
00022 #include "Fireworks/Core/interface/FWGeometryTableViewBase.h"
00023 
00024 
00025 class FWOverlapTableManager;
00026 class TEvePointSet;
00027 class FWEveOverlap;
00028 //class FWGUIValidatingTextEntry;
00029 //class FWGeoPathValidator;
00030 class TGNumberEntry;
00031 class RGTextButton;
00032 class TGCheckButton;
00033 
00034 class FWOverlapTableView : public FWGeometryTableViewBase
00035 {
00036 public:
00037 
00038    FWOverlapTableView(TEveWindowSlot* iParent, FWColorManager* colMng);
00039    virtual ~FWOverlapTableView();
00040 
00041    virtual  FWGeometryTableManagerBase*  getTableManager(); 
00042    
00043 
00044    void precisionCallback(Long_t);
00045    void recalculate();
00046 
00047    virtual void setFrom(const FWConfiguration&);
00048    virtual void populateController(ViewerParameterGUI&) const;
00049 
00050    virtual void cdTop();
00051    virtual void cdUp();
00052 
00053    void drawPoints();
00054    void pointSize();
00055 
00056    bool listAllNodes() const;
00057    void setListAllNodes();
00058    virtual void chosenItem(int x);
00059 
00060 protected:
00061    virtual TEveElement* getEveGeoElement() const;
00062 
00063 private:  
00064   
00065    FWOverlapTableView(const FWOverlapTableView&); // stop default
00066    const FWOverlapTableView& operator=(const FWOverlapTableView&); // stop default
00067    
00068    void setCheckerState(bool);
00069    TGTextButton* m_applyButton;
00070    TGCheckButton* m_listOptionButton;  
00071 
00072 public:
00073    // ---------- member data --------------------------------
00074 
00075    FWOverlapTableManager *m_tableManager;
00076    TGNumberEntry*  m_numEntry;
00077 
00078    bool            m_runChecker;
00079    virtual void    refreshTable3D();
00080 
00081    std::vector<float>  m_markerVertices;
00082    std::vector<int>    m_markerIndices;
00083   
00084 #ifndef __CINT__
00085    FWStringParameter       m_path; 
00086    FWDoubleParameter       m_precision;
00087 
00088    FWBoolParameter         m_listAllNodes;
00089 
00090    FWBoolParameter         m_rnrOverlap;
00091    FWBoolParameter         m_rnrExtrusion;
00092 
00093    FWBoolParameter         m_drawPoints;
00094    FWLongParameter         m_pointSize;
00095 
00096    
00097 #endif
00098    ClassDef(FWOverlapTableView, 0);
00099 };
00100 
00101 
00102 #endif