]>
Commit | Line | Data |
---|---|---|
d810d0de | 1 | // $Id$ |
2 | // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 | |
3 | ||
4 | /************************************************************************** | |
5 | * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * | |
6 | * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * | |
51346b82 | 7 | * full copyright notice. * |
d810d0de | 8 | **************************************************************************/ |
9 | ||
10 | #ifndef ALIEVE_JetPlaneGL_H | |
11 | #define ALIEVE_JetPlaneGL_H | |
12 | ||
13 | #include <TGLObject.h> | |
14 | ||
15 | class TGLViewer; | |
16 | class TGLScene; | |
17 | ||
18 | ||
19 | class AliEveJetPlane; | |
20 | ||
21 | class AliEveJetPlaneGL : public TGLObject | |
22 | { | |
23 | private: | |
24 | AliEveJetPlaneGL(const AliEveJetPlaneGL&); // Not implemented | |
25 | AliEveJetPlaneGL& operator=(const AliEveJetPlaneGL&); // Not implemented | |
26 | ||
27 | protected: | |
28 | AliEveJetPlane* fM; // fModel dynamic-casted to AliEveJetPlaneGL | |
29 | ||
30 | virtual void DirectDraw(TGLRnrCtx & rnrCtx) const; | |
31 | ||
32 | public: | |
33 | AliEveJetPlaneGL(); | |
34 | virtual ~AliEveJetPlaneGL(); | |
35 | ||
36 | virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0); | |
37 | virtual void SetBBox(); | |
38 | ||
39 | // To support two-level selection | |
40 | virtual Bool_t SupportsSecondarySelect() const { return kTRUE; } | |
41 | virtual void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec); | |
42 | ||
43 | ClassDef(AliEveJetPlaneGL, 0); | |
44 | }; // endclass AliEveJetPlaneGL | |
45 | ||
46 | #endif |