12 #ifndef ROOT_TGL5DPainter 13 #define ROOT_TGL5DPainter 18 #ifndef ROOT_TGLMarchingCubes 21 #ifndef ROOT_TGLPlotPainter 24 #ifndef ROOT_TGLIsoMesh 142 void DrawMesh(ConstSurfIter_t surf)
const;
Camera for TGLPlotPainter and sub-classes.
void ShowBoxCut(Bool_t show)
void SetSurfaceColor(ConstSurfIter_t surf) const
Set the color for iso-surface.
std::pair< Double_t, Double_t > Range_t
std::vector< Double_t > fPreds
Double_t GetAlpha() const
Bool_t IsBoxCutShown() const
Int_t GetNContours() const
void DeInitGL() const
Return some gl states to original values.
void SetAlpha(Double_t newAlpha)
Set selection range parameter.
SurfList_t::const_iterator ConstSurfIter_t
Bool_t InitGeometry()
Create mesh.
std::vector< Double_t >::size_type size_type
void DrawSectionYOZ() const
Rgl::Range_t fV5SliderRange
TGL5DPainter(TGL5DDataSet *data, TGLPlotCamera *camera, TGLPlotCoordinates *coord)
Constructor.
void InitGL() const
Initialize OpenGL state variables.
void Pan(Int_t px, Int_t py)
Mouse events handler.
void DrawPlot() const
Draw a set of meshes.
TGL5DPainter & operator=(const TGL5DPainter &)
void DrawSectionXOZ() const
SurfList_t::iterator SurfIter_t
char * GetPlotInfo(Int_t px, Int_t py)
Return info for plot part under cursor.
void DrawMesh(ConstSurfIter_t surf) const
Draw one iso-surface.
Helper class for plot-painters holding information about axis ranges, numbers of bins and flags if ce...
std::list< Surf_t > SurfList_t
SurfIter_t SurfacesEnd()
std::list::end.
void ResetGeometryRanges()
No need to create or delete meshes, number of meshes (iso-levels) are the same, but meshes must be re...
void DrawSubCloud(Double_t v4, Double_t range, Color_t ci) const
Draw cloud for selected iso-surface.
Base class for plot-painters that provide GL rendering of various 2D and 3D histograms, functions and parametric surfaces.
void DrawCloud() const
Draw full cloud of points.
void SetActive(Bool_t a)
Turn the box cut on/off.
void DrawSectionXOY() const
void AddOption(const TString &option)
No additional options for TGL5DPainter.
Rgl::Mc::TMeshBuilder< TKDEFGT, Float_t > fMeshBuilder
TGL5DPainter implements "gl5d" option for TTree::Draw.
Rgl::Mc::TIsoMesh< Float_t > Mesh_t
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
void StartPan(Int_t px, Int_t py)
User clicks right mouse button (in a pad).
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.
void SetNContours(Int_t num)
Set the number of predefined contours.
void ProcessEvent(Int_t event, Int_t px, Int_t py)
Rgl::Range_t fV5PredictedRange
SurfIter_t SurfacesBegin()
std::list::begin.
void RemoveSurface(SurfIter_t surf)
Remove iso-surface.