Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveArrowGL.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 // Author: Matevz Tadel 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_TEveArrowGL
0013 #define ROOT_TEveArrowGL
0014 
0015 #include "TGLObject.h"
0016 
0017 class TGLViewer;
0018 class TGLScene;
0019 class TEveArrow;
0020 
0021 class TEveArrowGL : public TGLObject
0022 {
0023 private:
0024    TEveArrowGL(const TEveArrowGL&);            // Not implemented
0025    TEveArrowGL& operator=(const TEveArrowGL&); // Not implemented
0026 
0027 protected:
0028    mutable TEveArrow             *fM;  // Model object.
0029 
0030 public:
0031    TEveArrowGL();
0032    ~TEveArrowGL() override {}
0033 
0034    Bool_t SetModel(TObject* obj, const Option_t *opt = nullptr) override;
0035    void   SetBBox() override;
0036    void   DirectDraw(TGLRnrCtx & rnrCtx) const override;
0037 
0038    ClassDefOverride(TEveArrowGL, 0); // GL renderer class for TEveArrow.
0039 };
0040 
0041 #endif