Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef Fireworks_Core_FWGeoTopNodeGL_h
0002 #define Fireworks_Core_FWGeoTopNodeGL_h
0003 
0004 #include "TGLObject.h"
0005 class FWGeoTopNode;
0006 
0007 class FWGeoTopNodeGL : public TGLObject {
0008 protected:
0009   FWGeoTopNode* fM;
0010 
0011 public:
0012   FWGeoTopNodeGL();
0013   ~FWGeoTopNodeGL() override {}
0014 
0015   void SetBBox() override;
0016 
0017   Bool_t SetModel(TObject* obj, const Option_t* opt = nullptr) override;
0018   void DirectDraw(TGLRnrCtx& rnrCtx) const override;
0019 
0020   // virtual void   DrawHighlight(TGLRnrCtx& rnrCtx, const TGLPhysicalShape* pshp, Int_t lvl=-1) const;
0021 
0022   Bool_t SupportsSecondarySelect() const override { return kTRUE; }
0023   Bool_t AlwaysSecondarySelect() const override { return kTRUE; }
0024   void ProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec) override;
0025 
0026   ClassDefOverride(FWGeoTopNodeGL, 0);  // GL renderer class for FWGeoTopNodeGL.
0027 };
0028 #endif