12#ifndef ROOT_TGL5DPainter
13#define ROOT_TGL5DPainter
TGL5DPainter implements "gl5d" option for TTree::Draw.
void ShowBoxCut(Bool_t show)
void StartPan(Int_t px, Int_t py)
User clicks right mouse button (in a pad).
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 &)
TGL5DPainter(const TGL5DPainter &)
void SetNContours(Int_t num)
Set the number of predefined contours.
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.
char * GetPlotInfo(Int_t px, Int_t py)
Return info for plot part under cursor.
void DrawSectionYOZ() const
void DrawSectionXOY() const
Double_t GetAlpha() const
void DeInitGL() const
Return some gl states to original values.
void SetAlpha(Double_t newAlpha)
Set selection range parameter.
Rgl::Range_t fV5PredictedRange
void DrawSectionXOZ() const
void DrawCloud() const
Draw full cloud of points.
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
void AddOption(const TString &option)
No additional options for TGL5DPainter.
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 Pan(Int_t px, Int_t py)
Mouse events handler.
void DrawPlot() const
Draw a set of meshes.
TGL5DPainter(TGL5DDataSet *data, TGLPlotCamera *camera, TGLPlotCoordinates *coord)
Constructor.
std::vector< Double_t >::size_type size_type
void ProcessEvent(Int_t event, Int_t px, Int_t py)
void InitGL() const
Initialize OpenGL state variables.
Bool_t InitGeometry()
Create mesh.
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