00001 // @(#)root/gl:$Id: TGLPlot3D.h 33579 2010-05-19 12:43:08Z rdm $ 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_TGLPlot3D 00013 #define ROOT_TGLPlot3D 00014 00015 #include "TGLObject.h" 00016 #include "TGLPlotPainter.h" 00017 00018 class TVirtualPad; 00019 00020 class TGLPlot3D : public TGLObject 00021 { 00022 private: 00023 TGLPlot3D(const TGLPlot3D&); // Not implemented 00024 TGLPlot3D& operator=(const TGLPlot3D&); // Not implemented 00025 00026 protected: 00027 TGLPlotPainter *fPlotPainter; 00028 TGLPlotCoordinates fCoord; 00029 00030 void SetPainter(TGLPlotPainter* p); 00031 00032 static TGLPlot3D* InstantiatePlot(TObject* obj); 00033 00034 public: 00035 TGLPlot3D(); 00036 virtual ~TGLPlot3D(); 00037 00038 virtual Bool_t KeepDuringSmartRefresh() const { return kFALSE; } 00039 00040 static TGLPlot3D* CreatePlot(TObject* obj, const Option_t* opt, TVirtualPad* pad); 00041 static TGLPlot3D* CreatePlot(TObject* obj, const Option_t* opt, Bool_t logx, Bool_t logy, Bool_t logz); 00042 00043 ClassDef(TGLPlot3D, 0); // Short description. 00044 }; 00045 00046 #endif