library: libRGL
#include "TGLPlotPainter.h"

TGLPlotCoordinates


class description - header file - source file
viewCVS header - viewCVS source

class TGLPlotCoordinates

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
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 pair<int,int>&GetXBins() const
Double_tGetXLength() const
Bool_tGetXLog() const
const pair<double,double>&GetXRange() const
const pair<double,double>&GetXRangeScaled() const
Double_tGetXScale() const
const pair<int,int>&GetYBins() const
Double_tGetYLength() const
Bool_tGetYLog() const
const pair<double,double>&GetYRange() const
const pair<double,double>&GetYRangeScaled() const
Double_tGetYScale() const
const pair<int,int>&GetZBins() const
Double_tGetZLength() const
Bool_tGetZLog() const
const pair<double,double>&GetZRange() const
const pair<double,double>&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
pair<int,int>fXBins
pair<int,int>fYBins
pair<int,int>fZBins
Double_tfXScale
Double_tfYScale
Double_tfZScale
pair<double,double>fXRange
pair<double,double>fYRange
pair<double,double>fZRange
pair<double,double>fXRangeScaled
pair<double,double>fYRangeScaled
pair<double,double>fZRangeScaled
Bool_tfXLog
Bool_tfYLog
Bool_tfZLog
Bool_tfModified
Double_tfFactor

Class Description

TGLPlotCoordinates()
Constructor.
~TGLPlotCoordinates()
Dtor.
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, Bool_t zBins)
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 zAsBins)
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()
{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 update: root/gl:$Name: $:$Id: TGLPlotPainter.cxx,v 1.11 2006/11/24 15:57:45 couet Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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.