12#ifndef ROOT_TGL5DPainter
13#define ROOT_TGL5DPainter
118 void InitGL()
const override;
winID h TVirtualViewer3D TVirtualGLPainter char GetPlotInfo
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
TGL5DPainter implements "gl5d" option for TTree::Draw.
void ShowBoxCut(Bool_t show)
void ProcessEvent(Int_t event, Int_t px, Int_t py) override
void SetSurfaceColor(ConstSurfIter_t surf) const
Set the color for iso-surface.
Bool_t IsBoxCutShown() const
void DrawMesh(ConstSurfIter_t surf) const
Draw one iso-surface.
TGL5DPainter & operator=(const TGL5DPainter &)
void StartPan(Int_t px, Int_t py) override
User clicks right mouse button (in a pad).
TGL5DPainter(const TGL5DPainter &)
void SetNContours(Int_t num)
Set the number of predefined contours.
void InitGL() const override
Initialize OpenGL state variables.
void DrawSectionXOZ() const override
void ResetGeometryRanges()
No need to create or delete meshes, number of meshes (iso-levels) are the same, but meshes must be re...
SurfList_t::iterator SurfIter_t
SurfIter_t SurfacesBegin()
std::list::begin.
std::list< Surf_t > SurfList_t
Rgl::Range_t fV5SliderRange
void RemoveSurface(SurfIter_t surf)
Remove iso-surface.
Rgl::Mc::TMeshBuilder< TKDEFGT, Float_t > fMeshBuilder
SurfIter_t SurfacesEnd()
std::list::end.
void DrawPlot() const override
Draw a set of meshes.
Double_t GetAlpha() const
void SetAlpha(Double_t newAlpha)
Set selection range parameter.
Rgl::Range_t fV5PredictedRange
void DrawCloud() const
Draw full cloud of points.
void Pan(Int_t px, Int_t py) override
Mouse events handler.
SurfIter_t AddSurface(Double_t v4, Color_t ci, Double_t isoVal=1., Double_t sigma=1., Double_t range=1e-3, Int_t lowNumOfPoints=kNLowPts)
Try to add new iso-surface.
SurfList_t::const_iterator ConstSurfIter_t
Bool_t InitGeometry() override
Create mesh.
void DeInitGL() const override
Return some gl states to original values.
Int_t GetNContours() const
Rgl::Mc::TIsoMesh< Float_t > Mesh_t
void DrawSubCloud(Double_t v4, Double_t range, Color_t ci) const
Draw cloud for selected iso-surface.
void DrawSectionXOY() const override
void AddOption(const TString &option) override
No additional options for TGL5DPainter.
std::vector< Double_t >::size_type size_type
void DrawSectionYOZ() const override
void SetActive(Bool_t a)
Turn the box cut on/off.
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,...
std::pair< Double_t, Double_t > Range_t
std::vector< Double_t > fPreds