TEveTriangleSetGL.h

Go to the documentation of this file.
00001 // @(#)root/eve:$Id: TEveTriangleSetGL.h 21252 2007-12-07 01:39:32Z 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_TEveTriangleSetGL
00013 #define ROOT_TEveTriangleSetGL
00014 
00015 #include "TGLObject.h"
00016 
00017 class TGLRnrCtx;
00018 
00019 class TEveTriangleSet;
00020 
00021 class TEveTriangleSetGL : public TGLObject
00022 {
00023 private:
00024    TEveTriangleSetGL(const TEveTriangleSetGL&);            // Not implemented
00025    TEveTriangleSetGL& operator=(const TEveTriangleSetGL&); // Not implemented
00026 
00027 protected:
00028    TEveTriangleSet* fM; // Model object.
00029 
00030 public:
00031    TEveTriangleSetGL();
00032    virtual ~TEveTriangleSetGL();
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    // To support two-level selection
00039    // virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
00040    // virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*);
00041 
00042    ClassDef(TEveTriangleSetGL, 0); // GL-renderer for TEveTriangleSet class.
00043 };
00044 
00045 #endif

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