4#ifndef ROOT_TGLTH3Composition
5#define ROOT_TGLTH3Composition
49 typedef std::pair<const TH3 *, ETH3BinShape>
TH3Pair_t;
78 void InitGL()
const override;
#define ClassDefOverride(name, id)
winID h TVirtualViewer3D TVirtualGLPainter char GetPlotInfo
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Camera for TGLPlotPainter and sub-classes.
Helper class for plot-painters holding information about axis ranges, numbers of bins and flags if ce...
Base class for plot-painters that provide GL rendering of various 2D and 3D histograms,...
Wrapper class for GLU quadric shape drawing object.
void ProcessEvent(Int_t event, Int_t px, Int_t py) override
Switch on/off box cut.
void StartPan(Int_t px, Int_t py) override
Move plot or box cut.
void DeInitGL() const override
Return back some gl state variables.
TGLTH3CompositionPainter(const TGLTH3CompositionPainter &)=delete
void Pan(Int_t px, Int_t py) override
User's moving mouse cursor, with middle mouse button pressed (for pad).
TGLTH3Composition * fData
void DrawSectionXOY() const override
void AddOption(const TString &option) override
No options for composition.
TGLTH3CompositionPainter & operator=(const TGLTH3CompositionPainter &)=delete
std::pair< Double_t, Double_t > fMinMaxVal
void DrawSectionXOZ() const override
Bool_t InitGeometry() override
void InitGL() const override
Initialize some gl state variables.
void SetColor(Int_t color) const
Set material.
void DrawSectionYOZ() const override
void DrawPlot() const override
Draw composition of TH3s.
TGLTH3Composition & operator=(const TGLTH3Composition &)=delete
TGLTH3Composition(const TGLTH3Composition &)=delete
void AddTH3(const TH3 *hist, ETH3BinShape shape=kBox)
Add TH3 into collection.
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Check if "this" is under cursor.
std::vector< TH3Pair_t > fHists
void Paint(Option_t *option) override
Paint a composition of 3d hists.
TGLTH3Composition()
I have to define it, since explicit copy ctor was declared.
char * GetObjectInfo(Int_t px, Int_t py) const override
I cannot show bin content in a status bar - since there can be several bins in one.
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Mouse and keyboard events.
std::pair< const TH3 *, ETH3BinShape > TH3Pair_t
std::unique_ptr< TGLHistPainter > fPainter
void CheckRanges(const TH3 *hist)
3-D histogram with a byte per channel (see TH1 documentation)
The 3-D histogram classes derived from the 1-D histogram classes.