1 #ifndef ROOT_TGLVoxelPainter
2 #define ROOT_TGLVoxelPainter
16 class TGLVoxelPainter :
public TGLPlotPainter {
20 Rgl::Range_t fMinMaxVal;
22 TGLVoxelPainter(
const TGLVoxelPainter &);
23 TGLVoxelPainter &operator = (
const TGLVoxelPainter &);
25 mutable TGLLevelPalette fPalette;
26 mutable std::vector<Double_t> fLevels;
29 TGLVoxelPainter(TH1 *hist, TGLPlotCamera *camera, TGLPlotCoordinates *coord);
31 char *GetPlotInfo(Int_t px, Int_t py);
32 Bool_t InitGeometry();
33 void StartPan(Int_t px, Int_t py);
34 void Pan(Int_t px, Int_t py);
35 void AddOption(
const TString &stringOption);
36 void ProcessEvent(Int_t event, Int_t px, Int_t py);
46 void DrawSectionXOZ()
const;
47 void DrawSectionYOZ()
const;
48 void DrawSectionXOY()
const;
50 void DrawPalette()
const;
51 void DrawPaletteAxis()
const;
54 void FindVoxelColor(Double_t binContent, Float_t *rgba)
const;
55 void SetVoxelColor(
const Float_t *rgba)
const;
57 Bool_t HasSections()
const;
58 void PreparePalette()
const;
62 ClassDef(TGLVoxelPainter, 0)