TGLHistPainter Class Reference

#include <TGLHistPainter.h>

Inheritance diagram for TGLHistPainter:

TVirtualHistPainter TVirtualHistPainter TObject TObject TObject TObject List of all members.

Public Member Functions

 TGLHistPainter (TH1 *hist)
 TGLHistPainter (TGLParametricEquation *equation)
 TGLHistPainter (TGL5DDataSet *data)
 TGLHistPainter (TGLTH3Composition *comp)
Int_t DistancetoPrimitive (Int_t px, Int_t py)
void DrawPanel ()
void ExecuteEvent (Int_t event, Int_t px, Int_t py)
TListGetContourList (Double_t contour) const
char * GetObjectInfo (Int_t px, Int_t py) const
TListGetStack () const
Bool_t IsInside (Int_t x, Int_t y)
Bool_t IsInside (Double_t x, Double_t y)
void Paint (Option_t *option)
void PaintStat (Int_t dostat, TF1 *fit)
void ProcessMessage (const char *message, const TObject *obj)
void SetHistogram (TH1 *hist)
void SetStack (TList *stack)
Int_t MakeCuts (char *cutsOpt)
void SetShowProjection (const char *option, Int_t nbins)
TGLPlotPainterGetRealPainter ()
 TGLHistPainter (TH1 *hist)
 TGLHistPainter (TGLParametricEquation *equation)
 TGLHistPainter (TGL5DDataSet *data)
 TGLHistPainter (TGLTH3Composition *comp)
Int_t DistancetoPrimitive (Int_t px, Int_t py)
void DrawPanel ()
void ExecuteEvent (Int_t event, Int_t px, Int_t py)
TListGetContourList (Double_t contour) const
char * GetObjectInfo (Int_t px, Int_t py) const
TListGetStack () const
Bool_t IsInside (Int_t x, Int_t y)
Bool_t IsInside (Double_t x, Double_t y)
void Paint (Option_t *option)
void PaintStat (Int_t dostat, TF1 *fit)
void ProcessMessage (const char *message, const TObject *obj)
void SetHistogram (TH1 *hist)
void SetStack (TList *stack)
Int_t MakeCuts (char *cutsOpt)
void SetShowProjection (const char *option, Int_t nbins)
TGLPlotPainterGetRealPainter ()

Private Member Functions

PlotOption_t ParsePaintOption (const TString &option) const
void CreatePainter (const PlotOption_t &parsed, const TString &option)
void PadToViewport (Bool_t selectionPass=kFALSE)
 TGLHistPainter (const TGLHistPainter &)
TGLHistPainteroperator= (const TGLHistPainter &)
PlotOption_t ParsePaintOption (const TString &option) const
void CreatePainter (const PlotOption_t &parsed, const TString &option)
void PadToViewport (Bool_t selectionPass=kFALSE)
 TGLHistPainter (const TGLHistPainter &)
TGLHistPainteroperator= (const TGLHistPainter &)

Private Attributes

std::auto_ptr< TVirtualHistPainterfDefaultPainter
std::auto_ptr< TGLPlotPainterfGLPainter
TGLParametricEquationfEq
TH1fHist
TF3fF3
TListfStack
EGLPlotType fPlotType
TGLPlotCamera fCamera
TGLPlotCoordinates fCoord
std::auto_ptr< TVirtualHistPainterfDefaultPainter
std::auto_ptr< TGLPlotPainterfGLPainter
TGLParametricEquationfEq
TH1fHist
TF3fF3
TListfStack

Classes

struct  PlotOption_t

Detailed Description

Definition at line 46 of file TGLHistPainter.h.


Constructor & Destructor Documentation

TGLHistPainter::TGLHistPainter ( TH1 hist  ) 

TGLHistPainter::TGLHistPainter ( TGLParametricEquation equation  ) 

Definition at line 209 of file TGLHistPainter.cxx.

References fCamera, and fGLPainter.

TGLHistPainter::TGLHistPainter ( TGL5DDataSet data  ) 

Definition at line 221 of file TGLHistPainter.cxx.

References data, fCamera, fCoord, and fGLPainter.

TGLHistPainter::TGLHistPainter ( TGLTH3Composition comp  ) 

Definition at line 233 of file TGLHistPainter.cxx.

References data, fCamera, fCoord, and fGLPainter.

TGLHistPainter::TGLHistPainter ( const TGLHistPainter  )  [private]

TGLHistPainter::TGLHistPainter ( TH1 hist  ) 

TGLHistPainter::TGLHistPainter ( TGLParametricEquation equation  ) 

TGLHistPainter::TGLHistPainter ( TGL5DDataSet data  ) 

TGLHistPainter::TGLHistPainter ( TGLTH3Composition comp  ) 

TGLHistPainter::TGLHistPainter ( const TGLHistPainter  )  [private]


Member Function Documentation

Int_t TGLHistPainter::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Implements TVirtualHistPainter.

Definition at line 245 of file TGLHistPainter.cxx.

References TObject::Error(), fDefaultPainter, fGLPainter, fPlotType, gGLManager, gPad, kGLDefaultPlot, kTRUE, and PadToViewport().

void TGLHistPainter::DrawPanel (  )  [virtual]

Implements TVirtualHistPainter.

Definition at line 285 of file TGLHistPainter.cxx.

References fDefaultPainter.

void TGLHistPainter::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Implements TVirtualHistPainter.

Definition at line 296 of file TGLHistPainter.cxx.

References TObject::Error(), fCamera, fDefaultPainter, fGLPainter, fPlotType, gGLManager, gPad, kButton1Double, kButton1Down, kButton1Motion, kButton1Up, kButton2Up, kFALSE, kGLDefaultPlot, kKey_C, kKey_c, kKey_j, kKey_J, kKey_K, kKey_k, kKey_L, kKey_l, kKey_P, kKey_p, kKey_S, kKey_s, kKey_W, kKey_w, kKey_X, kKey_x, kKey_Y, kKey_y, kKey_z, kKey_Z, kKeyPress, kMouseMotion, kRotate, kTRUE, PadToViewport(), TGLPlotCamera::RotateCamera(), TGLPlotCamera::StartRotation(), TGLPlotCamera::ZoomIn(), and TGLPlotCamera::ZoomOut().

TList * TGLHistPainter::GetContourList ( Double_t  contour  )  const [virtual]

Implements TVirtualHistPainter.

Definition at line 419 of file TGLHistPainter.cxx.

References fDefaultPainter.

char * TGLHistPainter::GetObjectInfo ( Int_t  px,
Int_t  py 
) const [virtual]

Implements TVirtualHistPainter.

Definition at line 428 of file TGLHistPainter.cxx.

References fDefaultPainter, fGLPainter, fPlotType, gGLManager, and kGLDefaultPlot.

TList * TGLHistPainter::GetStack (  )  const [virtual]

Implements TVirtualHistPainter.

Definition at line 445 of file TGLHistPainter.cxx.

References fStack.

Bool_t TGLHistPainter::IsInside ( Int_t  x,
Int_t  y 
) [virtual]

Implements TVirtualHistPainter.

Definition at line 452 of file TGLHistPainter.cxx.

References fDefaultPainter, fPlotType, kFALSE, and kGLDefaultPlot.

Bool_t TGLHistPainter::IsInside ( Double_t  x,
Double_t  y 
) [virtual]

Implements TVirtualHistPainter.

Definition at line 463 of file TGLHistPainter.cxx.

References fDefaultPainter, fPlotType, kFALSE, and kGLDefaultPlot.

void TGLHistPainter::Paint ( Option_t option  )  [virtual]

Implements TVirtualHistPainter.

Definition at line 534 of file TGLHistPainter.cxx.

References CreatePainter(), fDefaultPainter, fGLPainter, fPlotType, TROOT::GetColor(), gGLManager, gPad, gROOT, kFALSE, kGL5D, kGLDefaultPlot, kGLParametricPlot, kGLTH3Composition, kNPOS, kWhite, option, PadToViewport(), and ParsePaintOption().

void TGLHistPainter::PaintStat ( Int_t  dostat,
TF1 fit 
) [virtual]

Implements TVirtualHistPainter.

Definition at line 474 of file TGLHistPainter.cxx.

References fDefaultPainter.

void TGLHistPainter::ProcessMessage ( const char *  message,
const TObject obj 
) [virtual]

Implements TVirtualHistPainter.

Definition at line 483 of file TGLHistPainter.cxx.

References fDefaultPainter, fF3, and o.

void TGLHistPainter::SetHistogram ( TH1 hist  )  [virtual]

Implements TVirtualHistPainter.

Definition at line 494 of file TGLHistPainter.cxx.

References fDefaultPainter, fHist, and h.

void TGLHistPainter::SetStack ( TList stack  )  [virtual]

Implements TVirtualHistPainter.

Definition at line 504 of file TGLHistPainter.cxx.

References fDefaultPainter, fStack, and s.

Int_t TGLHistPainter::MakeCuts ( char *  cutsOpt  )  [virtual]

Implements TVirtualHistPainter.

Definition at line 514 of file TGLHistPainter.cxx.

References fDefaultPainter, fPlotType, and kGLDefaultPlot.

void TGLHistPainter::SetShowProjection ( const char *  option,
Int_t  nbins 
) [virtual]

Implements TVirtualHistPainter.

Definition at line 658 of file TGLHistPainter.cxx.

References TObject::Warning().

TGLPlotPainter* TGLHistPainter::GetRealPainter (  )  [inline]

Definition at line 85 of file TGLHistPainter.h.

References fGLPainter.

TGLHistPainter::PlotOption_t TGLHistPainter::ParsePaintOption ( const TString option  )  const [private]

Definition at line 588 of file TGLHistPainter.cxx.

References TGLHistPainter::PlotOption_t::fCoordType, TGLHistPainter::PlotOption_t::fPlotType, fStack, gPad, if(), kFALSE, kGLBoxPlot, kGLCartesian, kGLCylindrical, kGLDefaultPlot, kGLIsoPlot, kGLLegoPlot, kGLPolar, kGLSpherical, kGLStackPlot, kGLSurfacePlot, kGLTF3Plot, kNPOS, and option.

Referenced by Paint().

void TGLHistPainter::CreatePainter ( const PlotOption_t parsed,
const TString option 
) [private]

Definition at line 617 of file TGLHistPainter.cxx.

References fCamera, fCoord, fF3, fGLPainter, fHist, fPlotType, gPad, kGLBoxPlot, kGLDefaultPlot, kGLIsoPlot, kGLLegoPlot, kGLSurfacePlot, kGLTF3Plot, option, TGLPlotCoordinates::ResetModified(), TGLPlotCoordinates::SetCoordType(), TGLPlotCoordinates::SetXLog(), TGLPlotCoordinates::SetYLog(), and TGLPlotCoordinates::SetZLog().

Referenced by Paint().

void TGLHistPainter::PadToViewport ( Bool_t  selectionPass = kFALSE  )  [private]

Definition at line 666 of file TGLHistPainter.cxx.

References fCamera, fGLPainter, gPad, TGLPlotCamera::SetViewport(), TGLPlotCamera::ViewportChanged(), and vp.

Referenced by DistancetoPrimitive(), ExecuteEvent(), and Paint().

TGLHistPainter& TGLHistPainter::operator= ( const TGLHistPainter  )  [private]

Int_t TGLHistPainter::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Implements TVirtualHistPainter.

void TGLHistPainter::DrawPanel (  )  [virtual]

Implements TVirtualHistPainter.

void TGLHistPainter::ExecuteEvent ( Int_t  event,
Int_t  px,
Int_t  py 
) [virtual]

Implements TVirtualHistPainter.

TList* TGLHistPainter::GetContourList ( Double_t  contour  )  const [virtual]

Implements TVirtualHistPainter.

char* TGLHistPainter::GetObjectInfo ( Int_t  px,
Int_t  py 
) const [virtual]

Implements TVirtualHistPainter.

TList* TGLHistPainter::GetStack (  )  const [virtual]

Implements TVirtualHistPainter.

Bool_t TGLHistPainter::IsInside ( Int_t  x,
Int_t  y 
) [virtual]

Implements TVirtualHistPainter.

Bool_t TGLHistPainter::IsInside ( Double_t  x,
Double_t  y 
) [virtual]

Implements TVirtualHistPainter.

void TGLHistPainter::Paint ( Option_t option  )  [virtual]

Implements TVirtualHistPainter.

void TGLHistPainter::PaintStat ( Int_t  dostat,
TF1 fit 
) [virtual]

Implements TVirtualHistPainter.

void TGLHistPainter::ProcessMessage ( const char *  message,
const TObject obj 
) [virtual]

Implements TVirtualHistPainter.

void TGLHistPainter::SetHistogram ( TH1 hist  )  [virtual]

Implements TVirtualHistPainter.

void TGLHistPainter::SetStack ( TList stack  )  [virtual]

Implements TVirtualHistPainter.

Int_t TGLHistPainter::MakeCuts ( char *  cutsOpt  )  [virtual]

Implements TVirtualHistPainter.

void TGLHistPainter::SetShowProjection ( const char *  option,
Int_t  nbins 
) [virtual]

Implements TVirtualHistPainter.

TGLPlotPainter* TGLHistPainter::GetRealPainter (  )  [inline]

Definition at line 85 of file TGLHistPainter.h.

References fGLPainter.

PlotOption_t TGLHistPainter::ParsePaintOption ( const TString option  )  const [private]

void TGLHistPainter::CreatePainter ( const PlotOption_t parsed,
const TString option 
) [private]

void TGLHistPainter::PadToViewport ( Bool_t  selectionPass = kFALSE  )  [private]

TGLHistPainter& TGLHistPainter::operator= ( const TGLHistPainter  )  [private]


Member Data Documentation

std::auto_ptr<TVirtualHistPainter> TGLHistPainter::fDefaultPainter [private]

Definition at line 50 of file TGLHistPainter.h.

Referenced by DistancetoPrimitive(), DrawPanel(), ExecuteEvent(), GetContourList(), GetObjectInfo(), IsInside(), MakeCuts(), Paint(), PaintStat(), ProcessMessage(), SetHistogram(), and SetStack().

std::auto_ptr<TGLPlotPainter> TGLHistPainter::fGLPainter [private]

Definition at line 52 of file TGLHistPainter.h.

Referenced by CreatePainter(), DistancetoPrimitive(), ExecuteEvent(), GetObjectInfo(), GetRealPainter(), PadToViewport(), Paint(), and TGLHistPainter().

TGLParametricEquation* TGLHistPainter::fEq [private]

Definition at line 54 of file TGLHistPainter.h.

TH1* TGLHistPainter::fHist [private]

Definition at line 55 of file TGLHistPainter.h.

Referenced by CreatePainter(), and SetHistogram().

TF3* TGLHistPainter::fF3 [private]

Definition at line 56 of file TGLHistPainter.h.

Referenced by CreatePainter(), and ProcessMessage().

TList* TGLHistPainter::fStack [private]

Definition at line 57 of file TGLHistPainter.h.

Referenced by GetStack(), ParsePaintOption(), and SetStack().

EGLPlotType TGLHistPainter::fPlotType [private]

Definition at line 58 of file TGLHistPainter.h.

Referenced by CreatePainter(), DistancetoPrimitive(), ExecuteEvent(), GetObjectInfo(), IsInside(), MakeCuts(), and Paint().

TGLPlotCamera TGLHistPainter::fCamera [private]

Definition at line 59 of file TGLHistPainter.h.

Referenced by CreatePainter(), ExecuteEvent(), PadToViewport(), and TGLHistPainter().

TGLPlotCoordinates TGLHistPainter::fCoord [private]

Definition at line 60 of file TGLHistPainter.h.

Referenced by CreatePainter(), and TGLHistPainter().

std::auto_ptr<TVirtualHistPainter> TGLHistPainter::fDefaultPainter [private]

Definition at line 50 of file TGLHistPainter.h.

std::auto_ptr<TGLPlotPainter> TGLHistPainter::fGLPainter [private]

Definition at line 52 of file TGLHistPainter.h.

TGLParametricEquation* TGLHistPainter::fEq [private]

Definition at line 54 of file TGLHistPainter.h.

TH1* TGLHistPainter::fHist [private]

Definition at line 55 of file TGLHistPainter.h.

TF3* TGLHistPainter::fF3 [private]

Definition at line 56 of file TGLHistPainter.h.

TList* TGLHistPainter::fStack [private]

Definition at line 57 of file TGLHistPainter.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:02 2011 for ROOT_528-00b_version by  doxygen 1.5.1