CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/Fireworks/Core/interface/FWGlimpseView.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWGlimpseView_h
00002 #define Fireworks_Core_FWGlimpseView_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWGlimpseView
00007 //
00016 //
00017 // Original Author:  Chris Jones
00018 //         Created:  Thu Feb 21 11:22:37 EST 2008
00019 // $Id: FWGlimpseView.h,v 1.17 2010/09/02 18:10:10 amraktad Exp $
00020 //
00021 
00022 // system include files
00023 #include "Rtypes.h"
00024 
00025 // user include files
00026 #include "Fireworks/Core/interface/FWEveView.h"
00027 #include "Fireworks/Core/interface/FWBoolParameter.h"
00028 
00029 // forward declarations
00030 class TEveViewer;
00031 class TEveScene;
00032 class TEveElementList;
00033 class TEveWindowSlot;
00034 class TEveGeoShape;
00035 
00036 class FWGlimpseView : public FWEveView
00037 {
00038 public:
00039    FWGlimpseView(TEveWindowSlot*, FWViewType::EType);
00040    virtual ~FWGlimpseView();
00041 
00042    // ---------- const member functions ---------------------
00043 
00044    virtual void addTo(FWConfiguration&) const;
00045    virtual void setFrom(const FWConfiguration&);
00046 
00047    // ---------- static member functions --------------------
00048 
00049 private:
00050    FWGlimpseView(const FWGlimpseView&);    // stop default
00051    const FWGlimpseView& operator=(const FWGlimpseView&);    // stop default
00052 
00053    void createAxis();
00054    void showAxes( );
00055    void showCylinder( );
00056 
00057    // ---------- member data --------------------------------
00058    TEveGeoShape*  m_cylinder;
00059 
00060    // FWDoubleParameter m_scaleParam;
00061    FWBoolParameter   m_showAxes;
00062    FWBoolParameter   m_showCylinder;
00063 };
00064 
00065 
00066 #endif