ROOT » GRAF3D » GL » TGLPlotCoordinates

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:
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(TH2Poly* hist)
Bool_tSetRanges(const TH1* hist, Bool_t errors = kFALSE, Bool_t zBins = kFALSE)
Bool_tSetRanges(const TAxis* xAxis, const TAxis* yAxis, const TAxis* zAxis)
voidSetXLog(Bool_t xLog)
voidSetYLog(Bool_t yLog)
voidSetZLog(Bool_t zLog)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TGLPlotCoordinates()

Data Members

private:
EGLCoordTypefCoordType
Double_tfFactor
Bool_tfModified
Rgl::BinRange_tfXBins
Bool_tfXLog
Rgl::Range_tfXRange
Rgl::Range_tfXRangeScaled
Double_tfXScale
Rgl::BinRange_tfYBins
Bool_tfYLog
Rgl::Range_tfYRange
Rgl::Range_tfYRangeScaled
Double_tfYScale
Rgl::BinRange_tfZBins
Bool_tfZLog
Rgl::Range_tfZRange
Rgl::Range_tfZRangeScaled
Double_tfZScale

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

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