ROOT logo
ROOT » GRAF3D » GL » TGL5DPainter

class TGL5DPainter: public TGLPlotPainter

 Auxilary functions to draw iso-meshes.
 Now simply duplicates TGLTF3Painter.cxx contents.
 Must be moved to TGLUtils or TGLPlotPainter to avoid
 code duplication.

Function Members (Methods)

TGL5DPainter(const TGL5DDataSet* data, TGLPlotCamera* camera, TGLPlotCoordinates* coord)
virtual voidAddOption(const TString& option)
virtual voidTGLPlotPainter::AddOption(const TString& stringOption)
TGL5DPainter::SurfIter_tAddSurface(Double_t v4, Color_t ci, Double_t isoVal = 1., Double_t sigma = 1., Double_t e = 10., Double_t range = 1e-3, Int_t lowNumOfPoints = kNLowPts)
static TClass*Class()
static TClass*TGLPlotPainter::Class()
static TClass*TVirtualGLPainter::Class()
Bool_tTGLPlotPainter::CutAxisSelected() const
virtual voidTGLPlotPainter::DeInitGL() const
virtual voidTGLPlotPainter::DrawPlot() const
Double_tGetAlpha() const
Int_tGetNContours() const
virtual char*GetPlotInfo(Int_t px, Int_t py)
virtual char*TVirtualGLPainter::GetPlotInfo(Int_t px, Int_t py)
const Rgl::Range_t&GetV1Range() const
const Rgl::Range_t&GetV2Range() const
const Rgl::Range_t&GetV3Range() const
const Rgl::Range_t&GetV4Range() const
Double_tGetV5PredictedMax() const
Double_tGetV5PredictedMin() const
const Rgl::Range_t&GetV5Range() const
Double_tGetV5SliderMax() const
Double_tGetV5SliderMin() const
voidHideSurface(TGL5DPainter::SurfIter_t surf)
virtual Bool_tInitGeometry()
virtual Bool_tTGLPlotPainter::InitGeometry()
virtual voidTGLPlotPainter::InitGL() const
virtual TClass*IsA() const
virtual TClass*TGLPlotPainter::IsA() const
Bool_tIsBoxCutShown() const
TVirtualGLPainter&TVirtualGLPainter::operator=(const TVirtualGLPainter&)
virtual voidTGLPlotPainter::Paint()
virtual voidTVirtualGLPainter::Paint()
virtual voidPan(Int_t px, Int_t py)
virtual voidTVirtualGLPainter::Pan(Int_t px, Int_t py)
virtual Bool_tTGLPlotPainter::PlotSelected(Int_t px, Int_t py)
virtual Bool_tTVirtualGLPainter::PlotSelected(Int_t px, Int_t py)
virtual voidProcessEvent(Int_t event, Int_t px, Int_t py)
virtual voidTGLPlotPainter::ProcessEvent(Int_t event, Int_t px, Int_t py)
const TGLPlotBox&TGLPlotPainter::RefBackBox() const
voidRemoveSurface(TGL5DPainter::SurfIter_t surf)
voidSetAlpha(Double_t newAlpha)
virtual voidTGLPlotPainter::SetFrameColor(const TColor* frameColor)
voidSetNContours(Int_t num)
voidTGLPlotPainter::SetPadColor(const TColor* color)
voidSetSurfaceColor(TGL5DPainter::SurfIter_t surf, Color_t colorIndex)
voidSetSurfaceMode(TGL5DPainter::SurfIter_t surf, Bool_t cloudOn)
voidSetV5SliderMax(Double_t max)
voidSetV5SliderMin(Double_t min)
voidShowBoxCut(Bool_t show)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGLPlotPainter::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTVirtualGLPainter::ShowMembers(TMemberInspector& insp, char* parent)
Bool_tShowSlider() const
voidShowSlider(Bool_t show)
voidShowSurface(TGL5DPainter::SurfIter_t surf)
virtual voidStartPan(Int_t px, Int_t py)
virtual voidStreamer(TBuffer& b)
virtual voidTGLPlotPainter::Streamer(TBuffer& b)
virtual voidTVirtualGLPainter::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGLPlotPainter::StreamerNVirtual(TBuffer& b)
voidTVirtualGLPainter::StreamerNVirtual(TBuffer& b)
TGL5DPainter(const TGL5DPainter&)
virtual voidDeInitGL() const
voidDrawCloud() const
voidDrawMesh(TGL5DPainter::ConstSurfIter_t surf) const
virtual voidDrawPlot() const
virtual voidDrawSectionXOY() const
virtual voidDrawSectionXOZ() const
virtual voidDrawSectionYOZ() const
voidDrawSubCloud(Double_t v4, Double_t range, Color_t ci) const
virtual voidInitGL() const
TGL5DPainter&operator=(const TGL5DPainter&)
voidSetSurfaceColor(Color_t index) const

Data Members

enum EDefaults { kNContours
enum TGLPlotPainter::ESelectionBase { kHighColorSelectionBase
enum TGLPlotPainter::ECutAxisID { kXAxis
const TGL5DDataSet*fData
vector<Double_t>fDensdensities in target points.
const TGL5DPainter::Surf_tfDummyEmpty surface.
Bool_tfInitGeometry was set.
list<TGL5DPainter::Surf_t,allocator<TGL5DPainter::Surf_t> >fIsosList of iso-surfaces.
TKDEFGTfKDEDensity estimator.
vector<Double_t>fPtsSortedPacked xyz coordinates for cloud.
Bool_tfShowSliderFor future.

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGL5DPainter(const TGL5DDataSet* data, TGLPlotCamera* camera, TGLPlotCoordinates* coord)
fV5SliderMin(0.), fV5SliderMax(0.),
const Rgl::Range_t & GetV1Range() const
Range for the first variable.
const Rgl::Range_t & GetV2Range() const
Range for the second variable.
const Rgl::Range_t & GetV3Range() const
Range for the third variable.
const Rgl::Range_t & GetV4Range() const
Range for the forth variable.
const Rgl::Range_t & GetV5Range() const
Range for the fith variable.
void SetV5SliderMin(Double_t min)
void SetV5SliderMax(Double_t max)
AddSurface(Double_t v4, Color_t ci, Double_t isoVal = 1., Double_t sigma = 1., Double_t e = 10., Double_t range = 1e-3, Int_t lowNumOfPoints = kNLowPts)
Try to add new iso-surface.
If something goes wrong, return
pointer to the end of fIsos - so, such
iterator can be checked later in TGL5DPainter
functions. Do not use this iterator externally.
void SetSurfaceMode(TGL5DPainter::SurfIter_t surf, Bool_t cloudOn)
Show/hide cloud for surface.
void SetSurfaceColor(TGL5DPainter::SurfIter_t surf, Color_t colorIndex)
Change the color for iso-surface.
void HideSurface(TGL5DPainter::SurfIter_t surf)
Hide iso-surface.
void ShowSurface(TGL5DPainter::SurfIter_t surf)
Show previously hidden iso-surface.
void RemoveSurface(TGL5DPainter::SurfIter_t surf)
Remove iso-surface.
char * GetPlotInfo(Int_t px, Int_t py)
Return info for plot part under cursor.
Bool_t InitGeometry()
Create mesh.
void StartPan(Int_t px, Int_t py)
User clicks right mouse button (in a pad).
void Pan(Int_t px, Int_t py)
Mouse events handler.
void AddOption(const TString& option)
No additional options for TGL5DPainter.
void ProcessEvent(Int_t event, Int_t px, Int_t py)
void SetAlpha(Double_t newAlpha)
void SetNContours(Int_t num)
void InitGL() const
Initialize OpenGL state variables.
void DeInitGL() const
Return some gl states to original values.
void DrawPlot() const
Draw set of meshes.
void SetSurfaceColor(Color_t index) const
Set the color for iso-surface.
void DrawCloud() const
Draw full cloud of points.
void DrawSubCloud(Double_t v4, Double_t range, Color_t ci) const
Draw cloud for selected iso-surface.
void DrawMesh(TGL5DPainter::ConstSurfIter_t surf) const
Draw one iso-surface.
TGL5DPainter(const TGL5DDataSet* data, TGLPlotCamera* camera, TGLPlotCoordinates* coord)
Double_t GetV5PredictedMin() const
{return fV5PredictedRange.first;}
Double_t GetV5PredictedMax() const
{return fV5PredictedRange.second;}
Double_t GetV5SliderMin() const
{return fV5SliderRange.first;}
Double_t GetV5SliderMax() const
{return fV5SliderRange.second;}
Bool_t ShowSlider() const
{return fShowSlider;}
void ShowSlider(Bool_t show)
Add new iso for selected value of v4. +- range
{fShowSlider = show;}
void ShowBoxCut(Bool_t show)
Methods for ged.
Bool_t IsBoxCutShown() const
{return fBoxCut.IsActive();}
Double_t GetAlpha() const
{return fAlpha;}
Int_t GetNContours() const
{return fNContours;}
void DrawSectionXOZ() const
Empty overriders.
void DrawSectionYOZ() const
void DrawSectionXOY() const