2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
4 /**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
10 #ifndef AliEveJetPlaneGL_H
11 #define AliEveJetPlaneGL_H
13 #include <TGLObject.h>
20 //==============================================================================
24 // GL rendering code for AliEveJetPlane class.
26 class AliEveJetPlaneGL : public TGLObject
30 virtual ~AliEveJetPlaneGL() {}
32 virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
33 virtual void SetBBox();
35 // To support two-level selection
36 virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
37 virtual void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec);
40 AliEveJetPlane* fM; // Model object.
42 virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
45 AliEveJetPlaneGL(const AliEveJetPlaneGL&); // Not implemented
46 AliEveJetPlaneGL& operator=(const AliEveJetPlaneGL&); // Not implemented
48 ClassDef(AliEveJetPlaneGL, 0); // GL renderer for AliEveJetPlane.
49 }; // endclass AliEveJetPlaneGL