Warning, file /include/root/TVirtualGraphPainter.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef ROOT_TVirtualGraphPainter
0012 #define ROOT_TVirtualGraphPainter
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #include "TObject.h"
0023
0024 class TGraph;
0025 class TScatter;
0026 class TF1;
0027
0028 class TVirtualGraphPainter : public TObject {
0029
0030 private:
0031 static TVirtualGraphPainter *fgPainter;
0032
0033 public:
0034 TVirtualGraphPainter() { }
0035 ~TVirtualGraphPainter() override { }
0036
0037 virtual Int_t DistancetoPrimitiveHelper(TGraph *theGraph, Int_t px, Int_t py) = 0;
0038 virtual void DrawPanelHelper(TGraph *theGraph) = 0;
0039 virtual void ExecuteEventHelper(TGraph *theGraph, Int_t event, Int_t px, Int_t py) = 0;
0040 virtual char *GetObjectInfoHelper(TGraph *theGraph, Int_t px, Int_t py) const = 0;
0041 virtual void PaintHelper(TGraph *theGraph, Option_t *option) = 0;
0042 virtual void PaintGraph(TGraph *theGraph, Int_t npoints, const Double_t *x, const Double_t *y, Option_t *chopt) = 0;
0043 virtual void PaintGrapHist(TGraph *theGraph, Int_t npoints, const Double_t *x, const Double_t *y, Option_t *chopt) = 0;
0044 virtual void PaintScatter(TScatter *theScatter, Option_t *option) = 0;
0045 virtual void PaintStats(TGraph *theGraph, TF1 *fit) = 0;
0046 virtual void SetHighlight(TGraph *theGraph) = 0;
0047
0048 static TVirtualGraphPainter *GetPainter();
0049 static void SetPainter(TVirtualGraphPainter *painter);
0050
0051 ClassDefOverride(TVirtualGraphPainter,0)
0052 };
0053
0054 #endif