11 #ifndef ROOT_TGLBoxPainter
12 #define ROOT_TGLBoxPainter
32 class TGLBoxPainter :
public TGLPlotPainter {
34 TGLTH3Slice fXOZSlice;
35 TGLTH3Slice fYOZSlice;
36 TGLTH3Slice fXOYSlice;
43 mutable EBoxType fType;
46 Rgl::Range_t fMinMaxVal;
48 mutable TGLQuadric fQuadric;
50 const TPolyMarker3D *fPolymarker;
51 std::vector<Double_t> fPMPoints;
53 TGLBoxPainter(
const TGLBoxPainter &);
54 TGLBoxPainter &operator = (
const TGLBoxPainter &);
57 TGLBoxPainter(TH1 *hist, TGLPlotCamera *camera, TGLPlotCoordinates *coord);
59 TGLBoxPainter(TH1 *hist, TPolyMarker3D * pm,
60 TGLPlotCamera *camera, TGLPlotCoordinates *coord);
62 char *GetPlotInfo(Int_t px, Int_t py);
63 Bool_t InitGeometry();
64 void StartPan(Int_t px, Int_t py);
65 void Pan(Int_t px, Int_t py);
66 void AddOption(
const TString &stringOption);
67 void ProcessEvent(Int_t event, Int_t px, Int_t py);
76 void DrawCloud()
const;
78 void SetPlotColor()
const;
80 void DrawSectionXOZ()
const;
81 void DrawSectionYOZ()
const;
82 void DrawSectionXOY()
const;
84 void DrawPalette()
const;
85 void DrawPaletteAxis()
const;
87 Bool_t HasSections()
const;
89 ClassDef(TGLBoxPainter, 0)