class TGLPlotCoordinates


 Helper class for plot-painters holding information about axis
 ranges, numbers of bins and flags if certain axis is logartihmic.

Function Members (Methods)

public:
TGLPlotCoordinates()
virtual~TGLPlotCoordinates()
static TClass*Class()
EGLCoordTypeGetCoordType() const
Double_tGetFactor() const
Int_tGetFirstXBin() const
Int_tGetFirstYBin() const
Int_tGetFirstZBin() const
Int_tGetLastXBin() const
Int_tGetLastYBin() const
Int_tGetLastZBin() const
Int_tGetNXBins() const
Int_tGetNYBins() const
Int_tGetNZBins() const
const Rgl::BinRange_t&GetXBins() const
Double_tGetXLength() const
Bool_tGetXLog() const
const Rgl::Range_t&GetXRange() const
const Rgl::Range_t&GetXRangeScaled() const
Double_tGetXScale() const
const Rgl::BinRange_t&GetYBins() const
Double_tGetYLength() const
Bool_tGetYLog() const
const Rgl::Range_t&GetYRange() const
const Rgl::Range_t&GetYRangeScaled() const
Double_tGetYScale() const
const Rgl::BinRange_t&GetZBins() const
Double_tGetZLength() const
Bool_tGetZLog() const
const Rgl::Range_t&GetZRange() const
const Rgl::Range_t&GetZRangeScaled() const
Double_tGetZScale() const
virtual TClass*IsA() const
Bool_tModified() const
voidResetModified()
voidSetCoordType(EGLCoordType type)
Bool_tSetRanges(const TH1* hist, Bool_t errors = kFALSE, Bool_t zBins = kFALSE)
voidSetXLog(Bool_t xLog)
voidSetYLog(Bool_t yLog)
voidSetZLog(Bool_t zLog)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
private:
TGLPlotCoordinates(const TGLPlotCoordinates&)
TGLPlotCoordinates&operator=(const TGLPlotCoordinates&)
Bool_tSetRangesCartesian(const TH1* hist, Bool_t errors, Bool_t zBins)
Bool_tSetRangesCylindrical(const TH1* hist)
Bool_tSetRangesPolar(const TH1* hist)
Bool_tSetRangesSpherical(const TH1* hist)

Data Members

private:
EGLCoordTypefCoordType
Double_tfFactor
Bool_tfModified
pair<int,int>fXBins
Bool_tfXLog
pair<double,double>fXRange
pair<double,double>fXRangeScaled
Double_tfXScale
pair<int,int>fYBins
Bool_tfYLog
pair<double,double>fYRange
pair<double,double>fYRangeScaled
Double_tfYScale
pair<int,int>fZBins
Bool_tfZLog
pair<double,double>fZRange
pair<double,double>fZRangeScaled
Double_tfZScale

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLPlotCoordinates(const TGLPlotCoordinates& )
Constructor.
~TGLPlotCoordinates()
Destructor.
void SetCoordType(EGLCoordType type)
If coord type was changed, plot must reset sections (if any),
set fModified.
EGLCoordType GetCoordType()
 Get coordinates type.
void SetXLog(Bool_t xLog)
If log changed, sections must be reset,
set fModified.
Bool_t GetXLog()
 Get X log.
void SetYLog(Bool_t yLog)
If log changed, sections must be reset,
set fModified.
Bool_t GetYLog()
 Get Y log.
void SetZLog(Bool_t zLog)
If log changed, sections must be reset,
set fModified.
Bool_t GetZLog()
 Get Z log.
void ResetModified()
 Reset modified.
Bool_t Modified()
 Modified.
Bool_t SetRanges(const TH1* hist, Bool_t errors = kFALSE, Bool_t zBins = kFALSE)
Set bin ranges, ranges.
Int_t GetNXBins()
Number of X bins.
Int_t GetNYBins()
Number of Y bins.
Int_t GetNZBins()
Number of Z bins.
const Rgl::BinRange_t & GetXBins()
X bins range.
const Rgl::BinRange_t & GetYBins()
Y bins range.
const Rgl::BinRange_t & GetZBins()
Z bins range.
const Rgl::Range_t & GetXRange()
X range.
Double_t GetXLength()
X length.
const Rgl::Range_t & GetYRange()
Y range.
Double_t GetYLength()
Y length.
const Rgl::Range_t & GetZRange()
Z range.
Double_t GetZLength()
Z length.
const Rgl::Range_t & GetXRangeScaled()
Scaled range.
const Rgl::Range_t & GetYRangeScaled()
Scaled range.
const Rgl::Range_t & GetZRangeScaled()
Scaled range.
Double_t GetFactor()
 Get factor.
Bool_t SetRangesCartesian(const TH1* hist, Bool_t errors, Bool_t zBins)
Set bin ranges, ranges, etc.
Bool_t SetRangesPolar(const TH1* hist)
Set bin ranges, ranges, etc.
Bool_t SetRangesCylindrical(const TH1* hist)
 Set ranges cylindrical.
Bool_t SetRangesSpherical(const TH1* hist)
 Set ranges spherical.
TGLPlotCoordinates(const TGLPlotCoordinates& )
Double_t GetXScale()
{return fXScale;}
Double_t GetYScale()
{return fYScale;}
Double_t GetZScale()
{return fZScale;}
Int_t GetFirstXBin()
{return fXBins.first;}
Int_t GetLastXBin()
{return fXBins.second;}
Int_t GetFirstYBin()
{return fYBins.first;}
Int_t GetLastYBin()
{return fYBins.second;}
Int_t GetFirstZBin()
{return fZBins.first;}
Int_t GetLastZBin()
{return fZBins.second;}

Author: Timur Pocheptsov 14/06/2006
Last change: root/gl:$Id: TGLPlotPainter.h 24186 2008-06-09 11:34:54Z matevz $
Last generated: 2008-06-25 08:41
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.