]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/Alieve/TPCSector2DGL.h
Follow-up on gl/ changes introduced in ROOT-5.16.
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSector2DGL.h
index 4822346832f1a22938b7307401d751a4df1adaeb..ec6938c8f8799338dd8d3f1fc46b0a2591a01068 100644 (file)
@@ -8,6 +8,8 @@
 #include <Alieve/TPCSector2D.h>
 #include <Alieve/TPCSectorData.h>
 
+class TGLViewer;
+class TGLScene;
 
 namespace Alieve {
 
@@ -17,7 +19,7 @@ class TPCSector2DGL : public TGLObject
   TPCSector2DGL& operator=(const TPCSector2DGL&); // Not implemented
 
 protected:
-  virtual void DirectDraw(const TGLDrawFlags & flags) const;
+  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
 
   void LoadPadrow(TPCSectorData::RowIterator& iter, Int_t row, Int_t off) const;
   void CreateTexture() const;
@@ -43,10 +45,12 @@ public:
   TPCSector2DGL();
   virtual ~TPCSector2DGL();
 
-  virtual Bool_t SetModel(TObject* obj); 
+  virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0); 
   virtual void   SetBBox();
   virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
 
+  virtual void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec);
+
   static void TraceStepsUp  (const TPCSectorData::SegmentInfo& s);
   static void TraceStepsDown(const TPCSectorData::SegmentInfo& s);