CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/Fireworks/Core/src/FWGeoTopNodeGL.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWGeoTopNodeGL_h
00002 #define Fireworks_Core_FWGeoTopNodeGL_h
00003 
00004 #include "TGLObject.h"
00005 class FWGeoTopNode;
00006 
00007 class FWGeoTopNodeGL : public TGLObject
00008 {
00009 protected:
00010    FWGeoTopNode     *fM;
00011 
00012 public:
00013    FWGeoTopNodeGL();
00014    virtual ~FWGeoTopNodeGL() {}
00015 
00016    virtual void   SetBBox();
00017 
00018    virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
00019    virtual void   DirectDraw(TGLRnrCtx& rnrCtx) const;
00020 
00021    // virtual void   DrawHighlight(TGLRnrCtx& rnrCtx, const TGLPhysicalShape* pshp, Int_t lvl=-1) const;
00022 
00023    virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
00024    virtual Bool_t AlwaysSecondarySelect()   const { return kTRUE; }
00025    virtual void   ProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec);
00026 
00027    ClassDef(FWGeoTopNodeGL, 0); // GL renderer class for FWGeoTopNodeGL.
00028 
00029 };
00030 #endif