Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef Fireworks_Core_FWGlimpseView_h
0002 #define Fireworks_Core_FWGlimpseView_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     Core
0006 // Class  :     FWGlimpseView
0007 //
0008 /**\class FWGlimpseView FWGlimpseView.h Fireworks/Core/interface/FWGlimpseView.h
0009 
0010    Description: <one line class summary>
0011 
0012    Usage:
0013     <usage>
0014 
0015  */
0016 //
0017 // Original Author:  Chris Jones
0018 //         Created:  Thu Feb 21 11:22:37 EST 2008
0019 //
0020 
0021 // system include files
0022 #include "Rtypes.h"
0023 
0024 // user include files
0025 #include "Fireworks/Core/interface/FWEveView.h"
0026 #include "Fireworks/Core/interface/FWBoolParameter.h"
0027 
0028 // forward declarations
0029 class TEveViewer;
0030 class TEveScene;
0031 class TEveElementList;
0032 class TEveWindowSlot;
0033 class TEveGeoShape;
0034 
0035 class FWGlimpseView : public FWEveView {
0036 public:
0037   FWGlimpseView(TEveWindowSlot*, FWViewType::EType);
0038   ~FWGlimpseView() override;
0039 
0040   // ---------- const member functions ---------------------
0041 
0042   void addTo(FWConfiguration&) const override;
0043   void setFrom(const FWConfiguration&) override;
0044 
0045   // ---------- static member functions --------------------
0046 
0047   FWGlimpseView(const FWGlimpseView&) = delete;                   // stop default
0048   const FWGlimpseView& operator=(const FWGlimpseView&) = delete;  // stop default
0049 
0050 private:
0051   void createAxis();
0052   void showAxes();
0053   void showCylinder();
0054 
0055   // ---------- member data --------------------------------
0056   TEveGeoShape* m_cylinder;
0057 
0058   // FWDoubleParameter m_scaleParam;
0059   FWBoolParameter m_showAxes;
0060   FWBoolParameter m_showCylinder;
0061 };
0062 
0063 #endif