Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TGLPlot3D.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/gl:$Id$
0002 // Author: Matevz Tadel 2007
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TGLPlot3D
0013 #define ROOT_TGLPlot3D
0014 
0015 #include "TGLObject.h"
0016 #include "TGLPlotPainter.h"
0017 
0018 class TVirtualPad;
0019 class TPolyMarker3D;
0020 class TH3;
0021 
0022 class TGLPlot3D : public TGLObject
0023 {
0024 private:
0025    TGLPlot3D(const TGLPlot3D&) = delete;
0026    TGLPlot3D& operator=(const TGLPlot3D&) = delete;
0027 
0028 protected:
0029    TGLPlotPainter     *fPlotPainter;
0030    TGLPlotCoordinates  fCoord;
0031 
0032    void SetPainter(TGLPlotPainter* p);
0033 
0034    static TGLPlot3D* InstantiatePlot(TObject* obj);
0035 
0036 public:
0037    TGLPlot3D();
0038    ~TGLPlot3D() override;
0039 
0040    Bool_t KeepDuringSmartRefresh() const override { return kFALSE; }
0041 
0042    static TGLPlot3D* CreatePlot(TH3 *h, TPolyMarker3D *pm);
0043    static TGLPlot3D* CreatePlot(TObject* obj, const Option_t* opt, TVirtualPad* pad);
0044    static TGLPlot3D* CreatePlot(TObject* obj, const Option_t* opt, Bool_t logx, Bool_t logy, Bool_t logz);
0045 
0046    ClassDefOverride(TGLPlot3D, 0); // Short description.
0047 };
0048 
0049 #endif