TF2GL.h

Go to the documentation of this file.
00001 // @(#)root/gl:$Id: TF2GL.h 29526 2009-07-20 17:41:53Z matevz $
00002 // Author:  Matevz Tadel, Jun 2007
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2004, 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_TF2GL
00013 #define ROOT_TF2GL
00014 
00015 #include <TGLPlot3D.h>
00016 
00017 class TGLRnrCtx;
00018 class TF2;
00019 class TH2;
00020 
00021 class TF2GL : public TGLPlot3D
00022 {
00023 private:
00024    TF2GL(const TF2GL&);            // Not implemented
00025    TF2GL& operator=(const TF2GL&); // Not implemented
00026 
00027 protected:
00028    TF2                *fM; // fModel dynamic-casted to TH2
00029    TH2                *fH; // Visualization histogram.
00030 
00031 public:
00032    TF2GL();
00033    virtual ~TF2GL();
00034 
00035    virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
00036    virtual void   SetBBox();
00037    virtual void   DirectDraw(TGLRnrCtx & rnrCtx) const;
00038 
00039    virtual Bool_t KeepDuringSmartRefresh() const { return kFALSE; }
00040 
00041    // To support two-level selection
00042    // virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
00043    // virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*);
00044 
00045    ClassDef(TF2GL, 0); // GL renderer for TF2 and TF3.
00046 };
00047 
00048 #endif

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