CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWGeoTopNode_h
00002 #define Fireworks_Core_FWGeoTopNode_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     Core
00006 // Class  :     FWGeoTopNode
00007 // 
00016 //
00017 // Original Author:  Matevz Tadel, Alja Mrak Tadel
00018 //         Created:  Thu Jun 23 01:25:00 CEST 2011
00019 // $Id: FWGeoTopNode.h,v 1.9 2011/07/08 04:39:58 amraktad Exp $
00020 //
00021 
00022 #include "Fireworks/Core/interface/FWGeometryTableManager.h"
00023 #include "TEveElement.h"
00024 
00025 class TGeoHMatrix;
00026 
00027 class FWGeometryTableManager;
00028 class FWGeometryTableView;
00029 class TBuffer3D;
00030 class TGeoNode;
00031 
00032 
00033 class FWGeoTopNode : public TEveElementList
00034 {
00035 public:
00036    FWGeoTopNode(FWGeometryTableView*);
00037    virtual ~FWGeoTopNode();
00038    virtual void Paint(Option_t* option="");
00039 
00040 private:
00041    FWGeoTopNode(const FWGeoTopNode&); // stop default
00042    const FWGeoTopNode& operator=(const FWGeoTopNode&); // stop default
00043 
00044 
00045    void setupBuffMtx(TBuffer3D& buff, const TGeoHMatrix& mat);
00046 
00047    void paintChildNodesRecurse(FWGeometryTableManager::Entries_i pIt, const TGeoHMatrix& mtx);
00048    void  paintShape(FWGeometryTableManager::NodeInfo& nodeInfo, const TGeoHMatrix& nm);
00049    FWGeometryTableView       *m_browser;
00050 
00051    // cached
00052    FWGeometryTableManager::Entries_v* m_entries;
00053    int m_maxLevel;
00054    bool m_filterOff;
00055 };
00056 
00057 
00058 #endif