#ifndef ROOT_TGLAxisPainter
#define ROOT_TGLAxisPainter
#include <utility>
#include <vector>
#include "Rtypes.h"
class TGLPlotFrame;
class TGLAxisPainter {
public:
typedef std::pair<Double_t, Double_t> Range_t;
virtual ~TGLAxisPainter();
virtual void SetRanges(const Range_t &xRange, const Range_t &yRange, const Range_t &zRange) = 0;
virtual void SetZLevels(std::vector<Double_t> &zLevels) = 0;
virtual void Paint(Int_t context) = 0;
ClassDef(TGLAxisPainter, 0)
};
class TAxis;
class TH1;
class TGL2DAxisPainter : public TGLAxisPainter {
private:
Range_t fRangeX;
Range_t fRangeY;
Range_t fRangeZ;
TGLPlotFrame *fPlotFrame;
TAxis *fAxisX;
TAxis *fAxisY;
TAxis *fAxisZ;
public:
TGL2DAxisPainter(TH1 *hist);
void SetPlotFrame(TGLPlotFrame *frame);
void SetRanges(const Range_t &xRange, const Range_t &yRange, const Range_t &zRange);
void SetZLevels(std::vector<Double_t> &zLevels);
void Paint(Int_t context);
ClassDef(TGL2DAxisPainter, 0)
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.