Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveQuadSetGL.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_TEveQuadSetGL
0013 #define ROOT_TEveQuadSetGL
0014 
0015 #include "TEveDigitSetGL.h"
0016 #include "TEveQuadSet.h"
0017 
0018 class TEveQuadSetGL : public TEveDigitSetGL
0019 {
0020    TEveQuadSetGL(const TEveQuadSetGL&);            // Not implemented
0021    TEveQuadSetGL& operator=(const TEveQuadSetGL&); // Not implemented
0022 
0023 protected:
0024    TEveQuadSet     *fM;
0025 
0026    void   RenderQuads(TGLRnrCtx & rnrCtx) const;
0027    void   RenderLines(TGLRnrCtx & rnrCtx) const;
0028    void   RenderHexagons(TGLRnrCtx & rnrCtx) const;
0029 
0030 public:
0031    TEveQuadSetGL();
0032    ~TEveQuadSetGL() override {}
0033 
0034    Bool_t SetModel(TObject* obj, const Option_t *opt = nullptr) override;
0035    void   DirectDraw(TGLRnrCtx& rnrCtx) const override;
0036 
0037    Bool_t IgnoreSizeForOfInterest() const override { return kTRUE; }
0038 
0039    ClassDefOverride(TEveQuadSetGL, 0); // GL-renderer for TEveQuadSet class.
0040 };
0041 
0042 #endif