00001 // @(#)root/eve:$Id: TEveArrowGL.h 25696 2008-10-03 16:58:43Z matevz $ 00002 // Author: Matevz Tadel 2007 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TEveArrowGL 00013 #define ROOT_TEveArrowGL 00014 00015 #include "TGLObject.h" 00016 00017 class TGLViewer; 00018 class TGLScene; 00019 class TEveArrow; 00020 00021 class TEveArrowGL : public TGLObject 00022 { 00023 private: 00024 TEveArrowGL(const TEveArrowGL&); // Not implemented 00025 TEveArrowGL& operator=(const TEveArrowGL&); // Not implemented 00026 00027 protected: 00028 mutable TEveArrow *fM; // Model object. 00029 00030 public: 00031 TEveArrowGL(); 00032 virtual ~TEveArrowGL() {} 00033 00034 virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0); 00035 virtual void SetBBox(); 00036 virtual void DirectDraw(TGLRnrCtx & rnrCtx) const; 00037 00038 ClassDef(TEveArrowGL, 0); // GL renderer class for TEveArrow. 00039 }; 00040 00041 #endif