TEveLineGL.h

Go to the documentation of this file.
00001 // @(#)root/eve:$Id: TEveLineGL.h 24214 2008-06-11 14:48:35Z matevz $
00002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 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_TEveLineGL
00013 #define ROOT_TEveLineGL
00014 
00015 #include "TGLObject.h"
00016 #include "TPointSet3DGL.h"
00017 
00018 class TGLViewer;
00019 class TGLScene;
00020 
00021 class TEveLine;
00022 
00023 class TEveLineGL : public TPointSet3DGL
00024 {
00025 private:
00026    TEveLineGL(const TEveLineGL&);            // Not implemented
00027    TEveLineGL& operator=(const TEveLineGL&); // Not implemented
00028 
00029 protected:
00030    TEveLine* fM; // fModel dynamic-casted to TEveLineGL
00031 
00032 public:
00033    TEveLineGL();
00034    virtual ~TEveLineGL() {}
00035 
00036    virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
00037    virtual void   DirectDraw(TGLRnrCtx & rnrCtx) const;
00038 
00039    // To support two-level selection
00040    // virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
00041    // virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*);
00042 
00043    ClassDef(TEveLineGL, 0); // GL-renderer for TEveLine class.
00044 };
00045 
00046 #endif

Generated on Tue Jul 5 14:14:57 2011 for ROOT_528-00b_version by  doxygen 1.5.1