// @(#)root/eve:$Id$
// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007

/*************************************************************************
 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TEveLineGL
#define ROOT_TEveLineGL

#include "TGLObject.h"
#include "TPointSet3DGL.h"

class TGLViewer;
class TGLScene;

class TEveLine;

class TEveLineGL : public TPointSet3DGL
{
private:
   TEveLineGL(const TEveLineGL&);            // Not implemented
   TEveLineGL& operator=(const TEveLineGL&); // Not implemented

protected:
   TEveLine* fM; // fModel dynamic-casted to TEveLineGL

public:
   TEveLineGL();
   virtual ~TEveLineGL() {}

   virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
   virtual void   DirectDraw(TGLRnrCtx & rnrCtx) const;

   // To support two-level selection
   // virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
   // virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*);

   ClassDef(TEveLineGL, 0); // GL-renderer for TEveLine class.
};

#endif
 TEveLineGL.h:1
 TEveLineGL.h:2
 TEveLineGL.h:3
 TEveLineGL.h:4
 TEveLineGL.h:5
 TEveLineGL.h:6
 TEveLineGL.h:7
 TEveLineGL.h:8
 TEveLineGL.h:9
 TEveLineGL.h:10
 TEveLineGL.h:11
 TEveLineGL.h:12
 TEveLineGL.h:13
 TEveLineGL.h:14
 TEveLineGL.h:15
 TEveLineGL.h:16
 TEveLineGL.h:17
 TEveLineGL.h:18
 TEveLineGL.h:19
 TEveLineGL.h:20
 TEveLineGL.h:21
 TEveLineGL.h:22
 TEveLineGL.h:23
 TEveLineGL.h:24
 TEveLineGL.h:25
 TEveLineGL.h:26
 TEveLineGL.h:27
 TEveLineGL.h:28
 TEveLineGL.h:29
 TEveLineGL.h:30
 TEveLineGL.h:31
 TEveLineGL.h:32
 TEveLineGL.h:33
 TEveLineGL.h:34
 TEveLineGL.h:35
 TEveLineGL.h:36
 TEveLineGL.h:37
 TEveLineGL.h:38
 TEveLineGL.h:39
 TEveLineGL.h:40
 TEveLineGL.h:41
 TEveLineGL.h:42
 TEveLineGL.h:43
 TEveLineGL.h:44
 TEveLineGL.h:45
 TEveLineGL.h:46