CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/Fireworks/Core/interface/FW3DViewBase.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FW3DViewBase_h
00002 #define Fireworks_Core_FW3DViewBase_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FW3DViewBase
00007 //
00016 //
00017 // Original Author:  Chris Jones
00018 //         Created:  Thu Feb 21 11:22:37 EST 2008
00019 // $Id: FW3DViewBase.h,v 1.9 2010/09/15 11:48:41 amraktad Exp $
00020 //
00021 
00022 // system include files
00023 
00024 // user include files
00025 #include "Rtypes.h"
00026 #include "Fireworks/Core/interface/FWEveView.h"
00027 #include "Fireworks/Core/interface/FWLongParameter.h"
00028 #include "Fireworks/Core/interface/FWBoolParameter.h"
00029 
00030 // forward declarations
00031 class TEveElementList;
00032 class TEveGeoShape;
00033 class TEveWindowSlot;
00034 
00035 class FW3DViewGeometry;
00036 class FWColorManager;
00037 
00038 class FW3DViewBase : public FWEveView
00039 {
00040 public:
00041    FW3DViewBase(TEveWindowSlot*, FWViewType::EType);
00042    virtual ~FW3DViewBase();
00043 
00044    // ---------- const member functions ---------------------
00045 
00046    virtual void addTo(FWConfiguration&) const;
00047    virtual void populateController(ViewerParameterGUI&) const;
00048 
00049    // ---------- static member functions --------------------
00050 
00051    // ---------- member functions ---------------------------
00052    virtual void setContext(const fireworks::Context&);
00053    virtual void setFrom(const FWConfiguration&);
00054 
00055    // To be fixed.
00056    void updateGlobalSceneScaleParameters();
00057 
00058 private:
00059    FW3DViewBase(const FW3DViewBase&);    // stop default
00060 
00061    const FW3DViewBase& operator=(const FW3DViewBase&);    // stop default
00062 
00063    // ---------- member data --------------------------------
00064    FW3DViewGeometry*  m_geometry;
00065 
00066    // parameters
00067    FWBoolParameter m_showMuonBarrel;
00068    FWBoolParameter m_showMuonEndcap;
00069    FWBoolParameter m_showPixelBarrel;
00070    FWBoolParameter m_showPixelEndcap;
00071    FWBoolParameter m_showTrackerBarrel;
00072    FWBoolParameter m_showTrackerEndcap;
00073    FWBoolParameter m_showWireFrame;
00074    
00075    void showWireFrame( bool );
00076 };
00077 
00078 
00079 #endif