Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveTrackGL.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/eve:$Id$
0002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TEveTrackGL
0013 #define ROOT_TEveTrackGL
0014 
0015 #include "TEveLineGL.h"
0016 
0017 class TGLViewer;
0018 class TGLScene;
0019 
0020 class TEveTrack;
0021 
0022 class TEveTrackGL : public TEveLineGL
0023 {
0024 private:
0025    TEveTrackGL(const TEveTrackGL&);            // Not implemented
0026    TEveTrackGL& operator=(const TEveTrackGL&); // Not implemented
0027 
0028 protected:
0029    TEveTrack* fTrack; // Model object.
0030 
0031    void RenderPathMarksAndFirstVertex(TGLRnrCtx& rnrCtx) const;
0032 
0033 public:
0034    TEveTrackGL();
0035    ~TEveTrackGL() override {}
0036 
0037    Bool_t SetModel(TObject* obj, const Option_t *opt = nullptr) override;
0038    void   DirectDraw(TGLRnrCtx & rnrCtx) const override;
0039 
0040    Bool_t SupportsSecondarySelect() const override { return kTRUE; }
0041    void   ProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec) override;
0042 
0043    ClassDefOverride(TEveTrackGL, 0); // GL-renderer for TEveTrack class.
0044 };
0045 
0046 #endif