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 DrawSectionXOY() const
void ShowBoxCut(Bool_t show)
std::pair< Double_t, Double_t > Range_t
void DrawSectionYOZ() const
std::vector< Double_t > fPreds
Bool_t IsBoxCutShown() const
void SetAlpha(Double_t newAlpha)
Set selection range parameter.
void DrawMesh(ConstSurfIter_t surf) const
Draw one iso-surface.
SurfList_t::const_iterator ConstSurfIter_t
Bool_t InitGeometry()
Create mesh.
std::vector< Double_t >::size_type size_type
Rgl::Range_t fV5SliderRange
TGL5DPainter(TGL5DDataSet *data, TGLPlotCamera *camera, TGLPlotCoordinates *coord)
Constructor.
void DeInitGL() const
Return some gl states to original values.
void Pan(Int_t px, Int_t py)
Mouse events handler.
TGL5DPainter & operator=(const TGL5DPainter &)
SurfList_t::iterator SurfIter_t
char * GetPlotInfo(Int_t px, Int_t py)
Return info for plot part under cursor.
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...
Base class for plot-painters that provide GL rendering of various 2D and 3D histograms, functions and parametric surfaces.
void SetSurfaceColor(ConstSurfIter_t surf) const
Set the color for iso-surface.
void SetActive(Bool_t a)
Turn the box cut on/off.
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 DrawSectionXOZ() const
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
Int_t GetNContours() const
void InitGL() const
Initialize OpenGL state variables.
SurfIter_t SurfacesBegin()
std::list::begin.
Double_t GetAlpha() const
void RemoveSurface(SurfIter_t surf)
Remove iso-surface.
void DrawSubCloud(Double_t v4, Double_t range, Color_t ci) const
Draw cloud for selected iso-surface.
void DrawPlot() const
Draw a set of meshes.
void DrawCloud() const
Draw full cloud of points.