TSpectrum2Painter Class Reference

#include <TSpectrum2Painter.h>

Inheritance diagram for TSpectrum2Painter:

TNamed TNamed TObject TObject TObject TObject List of all members.

Public Types

enum  
enum  

Public Member Functions

 TSpectrum2Painter (TH2 *h2, Int_t bs)
virtual ~TSpectrum2Painter ()
void GetAngles (Int_t &alpha, Int_t &beta, Int_t &view)
void GetBezier (Int_t &bezier)
void GetChanGrid (Int_t &enable, Int_t &color)
void GetChanMarks (Int_t &enable, Int_t &color, Int_t &width, Int_t &height, Int_t &style)
void GetColorAlgorithm (Int_t &colorAlgorithm)
void GetColorIncrements (Double_t &r, Double_t &g, Double_t &b)
void GetContourWidth (Int_t &width)
void GetDisplayMode (Int_t &modeGroup, Int_t &displayMode)
void GetLightHeightWeight (Double_t &weight)
void GetLightPosition (Int_t &x, Int_t &y, Int_t &z)
void GetNodes (Int_t &nodesx, Int_t &nodesy)
void GetPenAttr (Int_t &color, Int_t &style, Int_t &width)
void GetShading (Int_t &shading, Int_t &shadow)
void GetZScale (Int_t &scale)
void Paint (Option_t *option)
void SetAngles (Int_t alpha, Int_t beta, Int_t view)
void SetBezier (Int_t bezier)
void SetChanGrid (Int_t enable, Int_t color)
void SetChanMarks (Int_t enable, Int_t color, Int_t width, Int_t height, Int_t style)
void SetColorAlgorithm (Int_t colorAlgorithm)
void SetColorIncrements (Double_t r, Double_t g, Double_t b)
void SetContourWidth (Int_t width)
void SetDisplayMode (Int_t modeGroup, Int_t displayMode)
void SetLightHeightWeight (Double_t weight)
void SetLightPosition (Int_t x, Int_t y, Int_t z)
void SetNodes (Int_t nodesx, Int_t nodesy)
void SetPenAttr (Int_t color, Int_t style, Int_t width)
void SetShading (Int_t shading, Int_t shadow)
void SetZScale (Int_t scale)
 TSpectrum2Painter (TH2 *h2, Int_t bs)
virtual ~TSpectrum2Painter ()
void GetAngles (Int_t &alpha, Int_t &beta, Int_t &view)
void GetBezier (Int_t &bezier)
void GetChanGrid (Int_t &enable, Int_t &color)
void GetChanMarks (Int_t &enable, Int_t &color, Int_t &width, Int_t &height, Int_t &style)
void GetColorAlgorithm (Int_t &colorAlgorithm)
void GetColorIncrements (Double_t &r, Double_t &g, Double_t &b)
void GetContourWidth (Int_t &width)
void GetDisplayMode (Int_t &modeGroup, Int_t &displayMode)
void GetLightHeightWeight (Double_t &weight)
void GetLightPosition (Int_t &x, Int_t &y, Int_t &z)
void GetNodes (Int_t &nodesx, Int_t &nodesy)
void GetPenAttr (Int_t &color, Int_t &style, Int_t &width)
void GetShading (Int_t &shading, Int_t &shadow)
void GetZScale (Int_t &scale)
void Paint (Option_t *option)
void SetAngles (Int_t alpha, Int_t beta, Int_t view)
void SetBezier (Int_t bezier)
void SetChanGrid (Int_t enable, Int_t color)
void SetChanMarks (Int_t enable, Int_t color, Int_t width, Int_t height, Int_t style)
void SetColorAlgorithm (Int_t colorAlgorithm)
void SetColorIncrements (Double_t r, Double_t g, Double_t b)
void SetContourWidth (Int_t width)
void SetDisplayMode (Int_t modeGroup, Int_t displayMode)
void SetLightHeightWeight (Double_t weight)
void SetLightPosition (Int_t x, Int_t y, Int_t z)
void SetNodes (Int_t nodesx, Int_t nodesy)
void SetPenAttr (Int_t color, Int_t style, Int_t width)
void SetShading (Int_t shading, Int_t shadow)
void SetZScale (Int_t scale)

Static Public Member Functions

static void PaintSpectrum (TH2 *h2, Option_t *option="", Int_t bs=1600)
static void PaintSpectrum (TH2 *h2, Option_t *option="", Int_t bs=1600)

Protected Member Functions

Int_t BezC (Int_t i)
Double_t BezierBlend (Int_t i, Double_t bezf)
void BezierSmoothing (Double_t bezf)
Double_t ColorCalculation (Double_t dx1, Double_t dy1, Double_t z1, Double_t dx2, Double_t dy2, Double_t z2, Double_t dx3, Double_t dy3, Double_t z3)
void ColorModel (unsigned ui, unsigned ui1, unsigned ui2, unsigned ui3)
void CopyEnvelope (Double_t xr, Double_t xs, Double_t yr, Double_t ys)
void DrawMarker (Int_t x, Int_t y, Int_t w, Int_t h, Int_t type)
void Envelope (Int_t x1, Int_t y1, Int_t x2, Int_t y2)
void EnvelopeBars (Int_t x1, Int_t y1, Int_t x2, Int_t y2)
Double_t ShadowColorCalculation (Double_t xtaz, Double_t ytaz, Double_t ztaz, Double_t shad_noise)
void Slice (Double_t xr, Double_t yr, Double_t xs, Double_t ys, TLine *line)
void Transform (Int_t it, Int_t jt, Int_t zmt)
Int_t BezC (Int_t i)
Double_t BezierBlend (Int_t i, Double_t bezf)
void BezierSmoothing (Double_t bezf)
Double_t ColorCalculation (Double_t dx1, Double_t dy1, Double_t z1, Double_t dx2, Double_t dy2, Double_t z2, Double_t dx3, Double_t dy3, Double_t z3)
void ColorModel (unsigned ui, unsigned ui1, unsigned ui2, unsigned ui3)
void CopyEnvelope (Double_t xr, Double_t xs, Double_t yr, Double_t ys)
void DrawMarker (Int_t x, Int_t y, Int_t w, Int_t h, Int_t type)
void Envelope (Int_t x1, Int_t y1, Int_t x2, Int_t y2)
void EnvelopeBars (Int_t x1, Int_t y1, Int_t x2, Int_t y2)
Double_t ShadowColorCalculation (Double_t xtaz, Double_t ytaz, Double_t ztaz, Double_t shad_noise)
void Slice (Double_t xr, Double_t yr, Double_t xs, Double_t ys, TLine *line)
void Transform (Int_t it, Int_t jt, Int_t zmt)

Protected Attributes

TH2fH2
Int_t fXmin
Int_t fXmax
Int_t fYmin
Int_t fYmax
Double_t fZmin
Double_t fZmax
Int_t fBx1
Int_t fBx2
Int_t fBy1
Int_t fBy2
Int_t fPenColor
Int_t fPenDash
Int_t fPenWidth
Int_t fModeGroup
Int_t fDisplayMode
Int_t fZscale
Int_t fNodesx
Int_t fNodesy
Int_t fContWidth
Int_t fAlpha
Int_t fBeta
Int_t fViewAngle
Int_t fLevels
Double_t fRainbow1Step
Double_t fRainbow2Step
Double_t fRainbow3Step
Int_t fColorAlg
Double_t fLHweight
Int_t fXlight
Int_t fYlight
Int_t fZlight
Int_t fShadow
Int_t fShading
Int_t fBezier
Int_t fChanmarkEnDis
Int_t fChanmarkStyle
Int_t fChanmarkWidth
Int_t fChanmarkHeight
Int_t fChanmarkColor
Int_t fChanlineEnDis
Int_t fChanlineColor
Double_t fKx
Double_t fKy
Double_t fMxx
Double_t fMxy
Double_t fMyx
Double_t fMyy
Double_t fTxx
Double_t fTxy
Double_t fTyx
Double_t fTyy
Double_t fTyz
Double_t fVx
Double_t fVy
Double_t fNuSli
Double_t fZ
Double_t fZeq
Double_t fGbezx
Double_t fGbezy
Double_t fDxspline
Double_t fDyspline
Double_t fZPresetValue
Int_t fXt
Int_t fYt
Int_t fXs
Int_t fYs
Int_t fXe
Int_t fYe
Int_t fLine
Short_tfEnvelope
Short_tfEnvelopeContour
TColorfNewColor
Int_t fMaximumXScreenResolution
Int_t fNewColorIndex
 buffers' size
Int_t fBzX [4]
Int_t fBzY [4]
TH2fH2
Short_tfEnvelope
Short_tfEnvelopeContour
TColorfNewColor

Detailed Description

Definition at line 32 of file TSpectrum2Painter.h.


Member Enumeration Documentation

anonymous enum

Definition at line 70 of file TSpectrum2Painter.h.

anonymous enum

Definition at line 70 of file TSpectrum2Painter.h.


Constructor & Destructor Documentation

TSpectrum2Painter::TSpectrum2Painter ( TH2 h2,
Int_t  bs 
)

Referenced by G__G__Spectrum2Painter_113_0_1(), and G__G__Spectrum2Painter_113_0_56().

TSpectrum2Painter::~TSpectrum2Painter (  )  [virtual]

Definition at line 171 of file TSpectrum2Painter.cxx.

References TROOT::GetColor(), gROOT, and i.

TSpectrum2Painter::TSpectrum2Painter ( TH2 h2,
Int_t  bs 
)

virtual TSpectrum2Painter::~TSpectrum2Painter (  )  [virtual]


Member Function Documentation

void TSpectrum2Painter::GetAngles ( Int_t alpha,
Int_t beta,
Int_t view 
)

Definition at line 7257 of file TSpectrum2Painter.cxx.

References fAlpha, fBeta, and fViewAngle.

Referenced by G__G__Spectrum2Painter_113_0_2().

void TSpectrum2Painter::GetBezier ( Int_t bezier  ) 

Definition at line 7327 of file TSpectrum2Painter.cxx.

References fBezier.

Referenced by G__G__Spectrum2Painter_113_0_3().

void TSpectrum2Painter::GetChanGrid ( Int_t enable,
Int_t color 
)

Definition at line 7372 of file TSpectrum2Painter.cxx.

References fChanlineColor, and fChanlineEnDis.

Referenced by G__G__Spectrum2Painter_113_0_4().

void TSpectrum2Painter::GetChanMarks ( Int_t enable,
Int_t color,
Int_t width,
Int_t height,
Int_t style 
)

Definition at line 7357 of file TSpectrum2Painter.cxx.

References fChanmarkColor, fChanmarkEnDis, fChanmarkHeight, fChanmarkStyle, and fChanmarkWidth.

Referenced by G__G__Spectrum2Painter_113_0_5().

void TSpectrum2Painter::GetColorAlgorithm ( Int_t colorAlgorithm  ) 

Definition at line 7281 of file TSpectrum2Painter.cxx.

References fColorAlg.

Referenced by G__G__Spectrum2Painter_113_0_6().

void TSpectrum2Painter::GetColorIncrements ( Double_t r,
Double_t g,
Double_t b 
)

Definition at line 7291 of file TSpectrum2Painter.cxx.

References fRainbow1Step, fRainbow2Step, and fRainbow3Step.

Referenced by G__G__Spectrum2Painter_113_0_7().

void TSpectrum2Painter::GetContourWidth ( Int_t width  ) 

Definition at line 7337 of file TSpectrum2Painter.cxx.

References fContWidth.

Referenced by G__G__Spectrum2Painter_113_0_8().

void TSpectrum2Painter::GetDisplayMode ( Int_t modeGroup,
Int_t displayMode 
)

Definition at line 7220 of file TSpectrum2Painter.cxx.

References fDisplayMode, and fModeGroup.

Referenced by G__G__Spectrum2Painter_113_0_9().

void TSpectrum2Painter::GetLightHeightWeight ( Double_t weight  ) 

Definition at line 7347 of file TSpectrum2Painter.cxx.

References fLHweight.

Referenced by G__G__Spectrum2Painter_113_0_10().

void TSpectrum2Painter::GetLightPosition ( Int_t x,
Int_t y,
Int_t z 
)

Definition at line 7303 of file TSpectrum2Painter.cxx.

References fXlight, fYlight, and fZlight.

Referenced by G__G__Spectrum2Painter_113_0_11().

void TSpectrum2Painter::GetNodes ( Int_t nodesx,
Int_t nodesy 
)

Definition at line 7246 of file TSpectrum2Painter.cxx.

References fNodesx, and fNodesy.

Referenced by G__G__Spectrum2Painter_113_0_12().

void TSpectrum2Painter::GetPenAttr ( Int_t color,
Int_t style,
Int_t width 
)

Definition at line 7232 of file TSpectrum2Painter.cxx.

References fPenColor, fPenDash, and fPenWidth.

Referenced by G__G__Spectrum2Painter_113_0_13().

void TSpectrum2Painter::GetShading ( Int_t shading,
Int_t shadow 
)

Definition at line 7315 of file TSpectrum2Painter.cxx.

References fShading, and fShadow.

Referenced by G__G__Spectrum2Painter_113_0_14().

void TSpectrum2Painter::GetZScale ( Int_t scale  ) 

Definition at line 7271 of file TSpectrum2Painter.cxx.

References fZscale.

Referenced by G__G__Spectrum2Painter_113_0_15().

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

Reimplemented from TObject.

Definition at line 1160 of file TSpectrum2Painter.cxx.

References a, TMath::Abs(), TSeqCollection::At(), axis, b, ROOT::Math::Cephes::beta(), BezierSmoothing(), box(), ColorCalculation(), ColorModel(), CopyEnvelope(), cos(), DrawMarker(), Envelope(), EnvelopeBars(), fAlpha, fBeta, fBezier, fBx1, fBx2, fBy1, fBy2, fBzX, fBzY, fChanlineColor, fChanlineEnDis, fChanmarkEnDis, fChanmarkHeight, fChanmarkStyle, fChanmarkWidth, fContWidth, fDisplayMode, fDxspline, fDyspline, fEnvelope, fEnvelopeContour, fGbezx, fGbezy, fH2, fi, fKx, fKy, flag, fLevels, fLine, fMaximumXScreenResolution, fModeGroup, fMxx, fMxy, fMyx, fMyy, fNewColorIndex, fNodesx, fNodesy, fNuSli, fPenColor, fPenDash, fPenWidth, fShading, fShadow, fTxx, fTxy, fTyx, fTyy, fTyz, fViewAngle, fVx, fVy, fXe, fXmax, fXmin, fXs, fXt, fYe, fYmax, fYmin, fYs, fYt, fZ, fZeq, fZmax, fZmin, fZPresetValue, fZscale, TColor::GetBlue(), TAxis::GetFirst(), TColor::GetGreen(), TGaxis::GetLabelOffset(), TAxis::GetLast(), TROOT::GetListOfColors(), TH1::GetMaximum(), TH1::GetMinimum(), TAttAxis::GetNdivisions(), TColor::GetRed(), TGaxis::GetTickSize(), TH1::GetXaxis(), TAxis::GetXmax(), TAxis::GetXmin(), TH1::GetYaxis(), gPad, gROOT, i, j, kChannelGridDrawn, kChannelMarksDrawn, kDisplayModeBars, kDisplayModeBarsX, kDisplayModeBarsY, kDisplayModeContours, kDisplayModeGrid, kDisplayModeLinesX, kDisplayModeLinesY, kDisplayModeNeedles, kDisplayModePoints, kDisplayModeSurface, kDisplayModeTriangles, kModeGroupSimple, kNoBezierInterpol, kNotShaded, kPenStyleDot, kShaded, kShadowsNotPainted, kZScaleLinear, kZScaleLog, kZScaleSqrt, line, log(), TMath::Max(), TMath::Min(), nbins, THLimitsFinder::Optimize(), TGaxis::Paint(), TGaxis::PaintAxis(), s1, s2, TGaxis::SetLabelOffset(), ShadowColorCalculation(), sin(), Slice(), sqrt(), strlcat(), Transform(), v1, x, x1, x2, x3, x4, xmax, xmin, y, ymax, and ymin.

Referenced by PaintSpectrum().

void TSpectrum2Painter::SetAngles ( Int_t  alpha,
Int_t  beta,
Int_t  view 
)

Definition at line 7049 of file TSpectrum2Painter.cxx.

References fAlpha, fBeta, and fViewAngle.

Referenced by G__G__Spectrum2Painter_113_0_17(), and PaintSpectrum().

void TSpectrum2Painter::SetBezier ( Int_t  bezier  ) 

Definition at line 7138 of file TSpectrum2Painter.cxx.

References fBezier, fDisplayMode, kBezierInterpol, kDisplayModeGrid, kDisplayModeLinesX, kDisplayModeLinesY, and kNoBezierInterpol.

Referenced by G__G__Spectrum2Painter_113_0_18(), and PaintSpectrum().

void TSpectrum2Painter::SetChanGrid ( Int_t  enable,
Int_t  color 
)

Definition at line 7204 of file TSpectrum2Painter.cxx.

References fChanlineColor, fChanlineEnDis, kChannelGridDrawn, and kChannelGridNotDrawn.

Referenced by G__G__Spectrum2Painter_113_0_19(), and PaintSpectrum().

void TSpectrum2Painter::SetChanMarks ( Int_t  enable,
Int_t  color,
Int_t  width,
Int_t  height,
Int_t  style 
)

Definition at line 7174 of file TSpectrum2Painter.cxx.

References fChanmarkColor, fChanmarkEnDis, fChanmarkHeight, fChanmarkStyle, fChanmarkWidth, kChannelMarksDrawn, kChannelMarksNotDrawn, kChannelMarksStyleDot, and kChannelMarksStyleTriangle.

Referenced by G__G__Spectrum2Painter_113_0_20(), and PaintSpectrum().

void TSpectrum2Painter::SetColorAlgorithm ( Int_t  colorAlgorithm  ) 

Definition at line 7078 of file TSpectrum2Painter.cxx.

References fColorAlg, fModeGroup, kColorAlgHvsModulo, kColorAlgRgbSmooth, and kModeGroupSimple.

Referenced by G__G__Spectrum2Painter_113_0_21(), and PaintSpectrum().

void TSpectrum2Painter::SetColorIncrements ( Double_t  r,
Double_t  g,
Double_t  b 
)

Definition at line 7096 of file TSpectrum2Painter.cxx.

References fRainbow1Step, fRainbow2Step, and fRainbow3Step.

Referenced by G__G__Spectrum2Painter_113_0_22(), and PaintSpectrum().

void TSpectrum2Painter::SetContourWidth ( Int_t  width  ) 

Definition at line 7152 of file TSpectrum2Painter.cxx.

References fContWidth.

Referenced by G__G__Spectrum2Painter_113_0_23(), and PaintSpectrum().

void TSpectrum2Painter::SetDisplayMode ( Int_t  modeGroup,
Int_t  displayMode 
)

Definition at line 7004 of file TSpectrum2Painter.cxx.

References fDisplayMode, fModeGroup, kDisplayModePoints, kDisplayModeTriangles, kModeGroupLightHeight, and kModeGroupSimple.

Referenced by G__G__Spectrum2Painter_113_0_24(), and PaintSpectrum().

void TSpectrum2Painter::SetLightHeightWeight ( Double_t  weight  ) 

Definition at line 7162 of file TSpectrum2Painter.cxx.

References fLHweight, fModeGroup, and kModeGroupLightHeight.

Referenced by G__G__Spectrum2Painter_113_0_25(), and PaintSpectrum().

void TSpectrum2Painter::SetLightPosition ( Int_t  x,
Int_t  y,
Int_t  z 
)

Definition at line 7110 of file TSpectrum2Painter.cxx.

References fXlight, fYlight, and fZlight.

Referenced by G__G__Spectrum2Painter_113_0_26(), and PaintSpectrum().

void TSpectrum2Painter::SetNodes ( Int_t  nodesx,
Int_t  nodesy 
)

Definition at line 7036 of file TSpectrum2Painter.cxx.

References fNodesx, and fNodesy.

Referenced by G__G__Spectrum2Painter_113_0_27(), and PaintSpectrum().

void TSpectrum2Painter::SetPenAttr ( Int_t  color,
Int_t  style,
Int_t  width 
)

Definition at line 7020 of file TSpectrum2Painter.cxx.

References fPenColor, fPenDash, fPenWidth, and kPenStyleSolid.

Referenced by G__G__Spectrum2Painter_113_0_28(), and PaintSpectrum().

void TSpectrum2Painter::SetShading ( Int_t  shading,
Int_t  shadow 
)

Definition at line 7124 of file TSpectrum2Painter.cxx.

References fModeGroup, fShading, fShadow, kModeGroupSimple, kNotShaded, kShaded, kShadowsNotPainted, and kShadowsPainted.

Referenced by G__G__Spectrum2Painter_113_0_29(), and PaintSpectrum().

void TSpectrum2Painter::SetZScale ( Int_t  scale  ) 

Definition at line 7066 of file TSpectrum2Painter.cxx.

References fZscale, kZScaleLinear, and kZScaleSqrt.

Referenced by G__G__Spectrum2Painter_113_0_30(), and PaintSpectrum().

void TSpectrum2Painter::PaintSpectrum ( TH2 h2,
Option_t option = "",
Int_t  bs = 1600 
) [static]

Definition at line 7384 of file TSpectrum2Painter.cxx.

References TString::Atof(), TString::Atoi(), TString::Data(), f2, TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), gPad, h2, TString::IsNull(), kZScaleLog, Paint(), SetAngles(), SetBezier(), SetChanGrid(), SetChanMarks(), SetColorAlgorithm(), SetColorIncrements(), SetContourWidth(), SetDisplayMode(), SetLightHeightWeight(), SetLightPosition(), SetNodes(), SetPenAttr(), SetShading(), SetZScale(), and TString::Tokenize().

Referenced by G__G__Spectrum2Painter_113_0_31(), and G__setup_memfuncTSpectrum2Painter().

Int_t TSpectrum2Painter::BezC ( Int_t  i  )  [protected]

Definition at line 743 of file TSpectrum2Painter.cxx.

References a, and j.

Referenced by BezierBlend().

Double_t TSpectrum2Painter::BezierBlend ( Int_t  i,
Double_t  bezf 
) [protected]

Definition at line 756 of file TSpectrum2Painter.cxx.

References BezC(), and j.

Referenced by BezierSmoothing().

void TSpectrum2Painter::BezierSmoothing ( Double_t  bezf  )  [protected]

Definition at line 770 of file TSpectrum2Painter.cxx.

References b, BezierBlend(), fBzX, fBzY, fGbezx, fGbezy, and i.

Referenced by Paint().

Double_t TSpectrum2Painter::ColorCalculation ( Double_t  dx1,
Double_t  dy1,
Double_t  z1,
Double_t  dx2,
Double_t  dy2,
Double_t  z2,
Double_t  dx3,
Double_t  dy3,
Double_t  z3 
) [protected]

Definition at line 231 of file TSpectrum2Painter.cxx.

References asin(), exp(), fLevels, fLHweight, fModeGroup, fShadow, fViewAngle, fXlight, fYlight, fZlight, fZmax, fZmin, fZscale, i, kModeGroupHeight, kModeGroupLight, kModeGroupLightHeight, kShadowsNotPainted, kZScaleLinear, kZScaleLog, kZScaleSqrt, log(), pi, sqrt(), and v1.

Referenced by Paint().

void TSpectrum2Painter::ColorModel ( unsigned  ui,
unsigned  ui1,
unsigned  ui2,
unsigned  ui3 
) [protected]

Definition at line 464 of file TSpectrum2Painter.cxx.

References a, b, blue, c, d, fColorAlg, fNewColor, fNewColorIndex, fRainbow1Step, fRainbow2Step, fRainbow3Step, TROOT::GetColor(), green, gROOT, h, i, j, kColorAlgCieModulo, kColorAlgCieSmooth, kColorAlgCmyModulo, kColorAlgCmySmooth, kColorAlgHvsModulo, kColorAlgHvsSmooth, kColorAlgYiqModulo, kColorAlgYiqSmooth, red, and s.

Referenced by Paint().

void TSpectrum2Painter::CopyEnvelope ( Double_t  xr,
Double_t  xs,
Double_t  yr,
Double_t  ys 
) [protected]

Definition at line 1133 of file TSpectrum2Painter.cxx.

References a, fBy2, fEnvelope, fEnvelopeContour, fKx, fKy, fTxx, fTxy, fVx, fXmin, and fYmin.

Referenced by Paint().

void TSpectrum2Painter::DrawMarker ( Int_t  x,
Int_t  y,
Int_t  w,
Int_t  h,
Int_t  type 
) [protected]

Definition at line 989 of file TSpectrum2Painter.cxx.

References fChanmarkColor, gPad, kChannelMarksStyleCross, kChannelMarksStyleDiamond, kChannelMarksStyleDot, kChannelMarksStyleRectangle, kChannelMarksStyleStar, kChannelMarksStyleTriangle, kChannelMarksStyleX, kPenStyleSolid, line, TEllipse::Paint(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), TEllipse::SetPhimax(), TEllipse::SetPhimin(), TEllipse::SetR1(), TEllipse::SetR2(), TEllipse::SetTheta(), TEllipse::SetX1(), and TEllipse::SetY1().

Referenced by Paint().

void TSpectrum2Painter::Envelope ( Int_t  x1,
Int_t  y1,
Int_t  x2,
Int_t  y2 
) [protected]

Definition at line 789 of file TSpectrum2Painter.cxx.

References fBx2, fBy1, fEnvelope, fLine, fXe, fXs, fYe, fYs, x, and y.

Referenced by Paint().

void TSpectrum2Painter::EnvelopeBars ( Int_t  x1,
Int_t  y1,
Int_t  x2,
Int_t  y2 
) [protected]

Definition at line 901 of file TSpectrum2Painter.cxx.

References fEnvelope, fLine, fXe, fXs, fYe, fYs, x, and y.

Referenced by Paint().

Double_t TSpectrum2Painter::ShadowColorCalculation ( Double_t  xtaz,
Double_t  ytaz,
Double_t  ztaz,
Double_t  shad_noise 
) [protected]

Definition at line 375 of file TSpectrum2Painter.cxx.

References TMath::Abs(), exp(), fH2, fXlight, fXmax, fXmin, fYlight, fYmax, fYmin, fZlight, fZscale, TH1::GetBinContent(), kZScaleLog, kZScaleSqrt, xmax, and ymax.

Referenced by Paint().

void TSpectrum2Painter::Slice ( Double_t  xr,
Double_t  yr,
Double_t  xs,
Double_t  ys,
TLine line 
) [protected]

Definition at line 1072 of file TSpectrum2Painter.cxx.

References a, b, fEnvelope, fEnvelopeContour, fKx, fKy, fTxx, fTxy, fTyx, fTyy, fTyz, fVx, fVy, fXmin, fYmin, fZ, gPad, line, and pr().

Referenced by Paint().

void TSpectrum2Painter::Transform ( Int_t  it,
Int_t  jt,
Int_t  zmt 
) [protected]

Definition at line 184 of file TSpectrum2Painter.cxx.

References fBx1, fBx2, fBy1, fBy2, fDxspline, fDyspline, fH2, fKx, fKy, fTxx, fTxy, fTyx, fTyy, fTyz, fVx, fVy, fXmin, fXt, fYmin, fYt, fZ, fZeq, fZmin, fZPresetValue, fZscale, TH1::GetBinContent(), kZScaleLog, kZScaleSqrt, log(), p1(), p2(), and sqrt().

Referenced by Paint().

void TSpectrum2Painter::GetAngles ( Int_t alpha,
Int_t beta,
Int_t view 
)

void TSpectrum2Painter::GetBezier ( Int_t bezier  ) 

void TSpectrum2Painter::GetChanGrid ( Int_t enable,
Int_t color 
)

void TSpectrum2Painter::GetChanMarks ( Int_t enable,
Int_t color,
Int_t width,
Int_t height,
Int_t style 
)

void TSpectrum2Painter::GetColorAlgorithm ( Int_t colorAlgorithm  ) 

void TSpectrum2Painter::GetColorIncrements ( Double_t r,
Double_t g,
Double_t b 
)

void TSpectrum2Painter::GetContourWidth ( Int_t width  ) 

void TSpectrum2Painter::GetDisplayMode ( Int_t modeGroup,
Int_t displayMode 
)

void TSpectrum2Painter::GetLightHeightWeight ( Double_t weight  ) 

void TSpectrum2Painter::GetLightPosition ( Int_t x,
Int_t y,
Int_t z 
)

void TSpectrum2Painter::GetNodes ( Int_t nodesx,
Int_t nodesy 
)

void TSpectrum2Painter::GetPenAttr ( Int_t color,
Int_t style,
Int_t width 
)

void TSpectrum2Painter::GetShading ( Int_t shading,
Int_t shadow 
)

void TSpectrum2Painter::GetZScale ( Int_t scale  ) 

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

Reimplemented from TObject.

void TSpectrum2Painter::SetAngles ( Int_t  alpha,
Int_t  beta,
Int_t  view 
)

void TSpectrum2Painter::SetBezier ( Int_t  bezier  ) 

void TSpectrum2Painter::SetChanGrid ( Int_t  enable,
Int_t  color 
)

void TSpectrum2Painter::SetChanMarks ( Int_t  enable,
Int_t  color,
Int_t  width,
Int_t  height,
Int_t  style 
)

void TSpectrum2Painter::SetColorAlgorithm ( Int_t  colorAlgorithm  ) 

void TSpectrum2Painter::SetColorIncrements ( Double_t  r,
Double_t  g,
Double_t  b 
)

void TSpectrum2Painter::SetContourWidth ( Int_t  width  ) 

void TSpectrum2Painter::SetDisplayMode ( Int_t  modeGroup,
Int_t  displayMode 
)

void TSpectrum2Painter::SetLightHeightWeight ( Double_t  weight  ) 

void TSpectrum2Painter::SetLightPosition ( Int_t  x,
Int_t  y,
Int_t  z 
)

void TSpectrum2Painter::SetNodes ( Int_t  nodesx,
Int_t  nodesy 
)

void TSpectrum2Painter::SetPenAttr ( Int_t  color,
Int_t  style,
Int_t  width 
)

void TSpectrum2Painter::SetShading ( Int_t  shading,
Int_t  shadow 
)

void TSpectrum2Painter::SetZScale ( Int_t  scale  ) 

static void TSpectrum2Painter::PaintSpectrum ( TH2 h2,
Option_t option = "",
Int_t  bs = 1600 
) [static]

Int_t TSpectrum2Painter::BezC ( Int_t  i  )  [protected]

Double_t TSpectrum2Painter::BezierBlend ( Int_t  i,
Double_t  bezf 
) [protected]

void TSpectrum2Painter::BezierSmoothing ( Double_t  bezf  )  [protected]

Double_t TSpectrum2Painter::ColorCalculation ( Double_t  dx1,
Double_t  dy1,
Double_t  z1,
Double_t  dx2,
Double_t  dy2,
Double_t  z2,
Double_t  dx3,
Double_t  dy3,
Double_t  z3 
) [protected]

void TSpectrum2Painter::ColorModel ( unsigned  ui,
unsigned  ui1,
unsigned  ui2,
unsigned  ui3 
) [protected]

void TSpectrum2Painter::CopyEnvelope ( Double_t  xr,
Double_t  xs,
Double_t  yr,
Double_t  ys 
) [protected]

void TSpectrum2Painter::DrawMarker ( Int_t  x,
Int_t  y,
Int_t  w,
Int_t  h,
Int_t  type 
) [protected]

void TSpectrum2Painter::Envelope ( Int_t  x1,
Int_t  y1,
Int_t  x2,
Int_t  y2 
) [protected]

void TSpectrum2Painter::EnvelopeBars ( Int_t  x1,
Int_t  y1,
Int_t  x2,
Int_t  y2 
) [protected]

Double_t TSpectrum2Painter::ShadowColorCalculation ( Double_t  xtaz,
Double_t  ytaz,
Double_t  ztaz,
Double_t  shad_noise 
) [protected]

void TSpectrum2Painter::Slice ( Double_t  xr,
Double_t  yr,
Double_t  xs,
Double_t  ys,
TLine line 
) [protected]

void TSpectrum2Painter::Transform ( Int_t  it,
Int_t  jt,
Int_t  zmt 
) [protected]


Member Data Documentation

TH2* TSpectrum2Painter::fH2 [protected]

Definition at line 123 of file TSpectrum2Painter.h.

Referenced by Paint(), ShadowColorCalculation(), and Transform().

Int_t TSpectrum2Painter::fXmin [protected]

Definition at line 124 of file TSpectrum2Painter.h.

Referenced by CopyEnvelope(), Paint(), ShadowColorCalculation(), Slice(), and Transform().

Int_t TSpectrum2Painter::fXmax [protected]

Definition at line 125 of file TSpectrum2Painter.h.

Referenced by Paint(), and ShadowColorCalculation().

Int_t TSpectrum2Painter::fYmin [protected]

Definition at line 126 of file TSpectrum2Painter.h.

Referenced by CopyEnvelope(), Paint(), ShadowColorCalculation(), Slice(), and Transform().

Int_t TSpectrum2Painter::fYmax [protected]

Definition at line 127 of file TSpectrum2Painter.h.

Referenced by Paint(), and ShadowColorCalculation().

Double_t TSpectrum2Painter::fZmin [protected]

Definition at line 128 of file TSpectrum2Painter.h.

Referenced by ColorCalculation(), Paint(), and Transform().

Double_t TSpectrum2Painter::fZmax [protected]

Definition at line 129 of file TSpectrum2Painter.h.

Referenced by ColorCalculation(), and Paint().

Int_t TSpectrum2Painter::fBx1 [protected]

Definition at line 130 of file TSpectrum2Painter.h.

Referenced by Paint(), and Transform().

Int_t TSpectrum2Painter::fBx2 [protected]

Definition at line 131 of file TSpectrum2Painter.h.

Referenced by Envelope(), Paint(), and Transform().

Int_t TSpectrum2Painter::fBy1 [protected]

Definition at line 132 of file TSpectrum2Painter.h.

Referenced by Envelope(), Paint(), and Transform().

Int_t TSpectrum2Painter::fBy2 [protected]

Definition at line 133 of file TSpectrum2Painter.h.

Referenced by CopyEnvelope(), Paint(), and Transform().

Int_t TSpectrum2Painter::fPenColor [protected]

Definition at line 134 of file TSpectrum2Painter.h.

Referenced by GetPenAttr(), Paint(), and SetPenAttr().

Int_t TSpectrum2Painter::fPenDash [protected]

Definition at line 135 of file TSpectrum2Painter.h.

Referenced by GetPenAttr(), Paint(), and SetPenAttr().

Int_t TSpectrum2Painter::fPenWidth [protected]

Definition at line 136 of file TSpectrum2Painter.h.

Referenced by GetPenAttr(), Paint(), and SetPenAttr().

Int_t TSpectrum2Painter::fModeGroup [protected]

Definition at line 137 of file TSpectrum2Painter.h.

Referenced by ColorCalculation(), GetDisplayMode(), Paint(), SetColorAlgorithm(), SetDisplayMode(), SetLightHeightWeight(), and SetShading().

Int_t TSpectrum2Painter::fDisplayMode [protected]

Definition at line 138 of file TSpectrum2Painter.h.

Referenced by GetDisplayMode(), Paint(), SetBezier(), and SetDisplayMode().

Int_t TSpectrum2Painter::fZscale [protected]

Definition at line 139 of file TSpectrum2Painter.h.

Referenced by ColorCalculation(), GetZScale(), Paint(), SetZScale(), ShadowColorCalculation(), and Transform().

Int_t TSpectrum2Painter::fNodesx [protected]

Definition at line 140 of file TSpectrum2Painter.h.

Referenced by GetNodes(), Paint(), and SetNodes().

Int_t TSpectrum2Painter::fNodesy [protected]

Definition at line 141 of file TSpectrum2Painter.h.

Referenced by GetNodes(), Paint(), and SetNodes().

Int_t TSpectrum2Painter::fContWidth [protected]

Definition at line 142 of file TSpectrum2Painter.h.

Referenced by GetContourWidth(), Paint(), and SetContourWidth().

Int_t TSpectrum2Painter::fAlpha [protected]

Definition at line 143 of file TSpectrum2Painter.h.

Referenced by GetAngles(), Paint(), and SetAngles().

Int_t TSpectrum2Painter::fBeta [protected]

Definition at line 144 of file TSpectrum2Painter.h.

Referenced by GetAngles(), Paint(), and SetAngles().

Int_t TSpectrum2Painter::fViewAngle [protected]

Definition at line 145 of file TSpectrum2Painter.h.

Referenced by ColorCalculation(), GetAngles(), Paint(), and SetAngles().

Int_t TSpectrum2Painter::fLevels [protected]

Definition at line 146 of file TSpectrum2Painter.h.

Referenced by ColorCalculation(), and Paint().

Double_t TSpectrum2Painter::fRainbow1Step [protected]

Definition at line 147 of file TSpectrum2Painter.h.

Referenced by ColorModel(), GetColorIncrements(), and SetColorIncrements().

Double_t TSpectrum2Painter::fRainbow2Step [protected]

Definition at line 148 of file TSpectrum2Painter.h.

Referenced by ColorModel(), GetColorIncrements(), and SetColorIncrements().

Double_t TSpectrum2Painter::fRainbow3Step [protected]

Definition at line 149 of file TSpectrum2Painter.h.

Referenced by ColorModel(), GetColorIncrements(), and SetColorIncrements().

Int_t TSpectrum2Painter::fColorAlg [protected]

Definition at line 150 of file TSpectrum2Painter.h.

Referenced by ColorModel(), GetColorAlgorithm(), and SetColorAlgorithm().

Double_t TSpectrum2Painter::fLHweight [protected]

Definition at line 151 of file TSpectrum2Painter.h.

Referenced by ColorCalculation(), GetLightHeightWeight(), and SetLightHeightWeight().

Int_t TSpectrum2Painter::fXlight [protected]

Definition at line 152 of file TSpectrum2Painter.h.

Referenced by ColorCalculation(), GetLightPosition(), SetLightPosition(), and ShadowColorCalculation().

Int_t TSpectrum2Painter::fYlight [protected]

Definition at line 153 of file TSpectrum2Painter.h.

Referenced by ColorCalculation(), GetLightPosition(), SetLightPosition(), and ShadowColorCalculation().

Int_t TSpectrum2Painter::fZlight [protected]

Definition at line 154 of file TSpectrum2Painter.h.

Referenced by ColorCalculation(), GetLightPosition(), SetLightPosition(), and ShadowColorCalculation().

Int_t TSpectrum2Painter::fShadow [protected]

Definition at line 155 of file TSpectrum2Painter.h.

Referenced by ColorCalculation(), GetShading(), Paint(), and SetShading().

Int_t TSpectrum2Painter::fShading [protected]

Definition at line 156 of file TSpectrum2Painter.h.

Referenced by GetShading(), Paint(), and SetShading().

Int_t TSpectrum2Painter::fBezier [protected]

Definition at line 157 of file TSpectrum2Painter.h.

Referenced by GetBezier(), Paint(), and SetBezier().

Int_t TSpectrum2Painter::fChanmarkEnDis [protected]

Definition at line 158 of file TSpectrum2Painter.h.

Referenced by GetChanMarks(), Paint(), and SetChanMarks().

Int_t TSpectrum2Painter::fChanmarkStyle [protected]

Definition at line 159 of file TSpectrum2Painter.h.

Referenced by GetChanMarks(), Paint(), and SetChanMarks().

Int_t TSpectrum2Painter::fChanmarkWidth [protected]

Definition at line 160 of file TSpectrum2Painter.h.

Referenced by GetChanMarks(), Paint(), and SetChanMarks().

Int_t TSpectrum2Painter::fChanmarkHeight [protected]

Definition at line 161 of file TSpectrum2Painter.h.

Referenced by GetChanMarks(), Paint(), and SetChanMarks().

Int_t TSpectrum2Painter::fChanmarkColor [protected]

Definition at line 162 of file TSpectrum2Painter.h.

Referenced by DrawMarker(), GetChanMarks(), and SetChanMarks().

Int_t TSpectrum2Painter::fChanlineEnDis [protected]

Definition at line 163 of file TSpectrum2Painter.h.

Referenced by GetChanGrid(), Paint(), and SetChanGrid().

Int_t TSpectrum2Painter::fChanlineColor [protected]

Definition at line 164 of file TSpectrum2Painter.h.

Referenced by GetChanGrid(), Paint(), and SetChanGrid().

Double_t TSpectrum2Painter::fKx [protected]

Definition at line 167 of file TSpectrum2Painter.h.

Referenced by CopyEnvelope(), Paint(), Slice(), and Transform().

Double_t TSpectrum2Painter::fKy [protected]

Definition at line 168 of file TSpectrum2Painter.h.

Referenced by CopyEnvelope(), Paint(), Slice(), and Transform().

Double_t TSpectrum2Painter::fMxx [protected]

Definition at line 169 of file TSpectrum2Painter.h.

Referenced by Paint().

Double_t TSpectrum2Painter::fMxy [protected]

Definition at line 170 of file TSpectrum2Painter.h.

Referenced by Paint().

Double_t TSpectrum2Painter::fMyx [protected]

Definition at line 171 of file TSpectrum2Painter.h.

Referenced by Paint().

Double_t TSpectrum2Painter::fMyy [protected]

Definition at line 172 of file TSpectrum2Painter.h.

Referenced by Paint().

Double_t TSpectrum2Painter::fTxx [protected]

Definition at line 173 of file TSpectrum2Painter.h.

Referenced by CopyEnvelope(), Paint(), Slice(), and Transform().

Double_t TSpectrum2Painter::fTxy [protected]

Definition at line 174 of file TSpectrum2Painter.h.

Referenced by CopyEnvelope(), Paint(), Slice(), and Transform().

Double_t TSpectrum2Painter::fTyx [protected]

Definition at line 175 of file TSpectrum2Painter.h.

Referenced by Paint(), Slice(), and Transform().

Double_t TSpectrum2Painter::fTyy [protected]

Definition at line 176 of file TSpectrum2Painter.h.

Referenced by Paint(), Slice(), and Transform().

Double_t TSpectrum2Painter::fTyz [protected]

Definition at line 177 of file TSpectrum2Painter.h.

Referenced by Paint(), Slice(), and Transform().

Double_t TSpectrum2Painter::fVx [protected]

Definition at line 178 of file TSpectrum2Painter.h.

Referenced by CopyEnvelope(), Paint(), Slice(), and Transform().

Double_t TSpectrum2Painter::fVy [protected]

Definition at line 179 of file TSpectrum2Painter.h.

Referenced by Paint(), Slice(), and Transform().

Double_t TSpectrum2Painter::fNuSli [protected]

Definition at line 180 of file TSpectrum2Painter.h.

Referenced by Paint().

Double_t TSpectrum2Painter::fZ [protected]

Definition at line 183 of file TSpectrum2Painter.h.

Referenced by Paint(), Slice(), and Transform().

Double_t TSpectrum2Painter::fZeq [protected]

Definition at line 183 of file TSpectrum2Painter.h.

Referenced by Paint(), and Transform().

Double_t TSpectrum2Painter::fGbezx [protected]

Definition at line 183 of file TSpectrum2Painter.h.

Referenced by BezierSmoothing(), and Paint().

Double_t TSpectrum2Painter::fGbezy [protected]

Definition at line 183 of file TSpectrum2Painter.h.

Referenced by BezierSmoothing(), and Paint().

Double_t TSpectrum2Painter::fDxspline [protected]

Definition at line 183 of file TSpectrum2Painter.h.

Referenced by Paint(), and Transform().

Double_t TSpectrum2Painter::fDyspline [protected]

Definition at line 183 of file TSpectrum2Painter.h.

Referenced by Paint(), and Transform().

Double_t TSpectrum2Painter::fZPresetValue [protected]

Definition at line 183 of file TSpectrum2Painter.h.

Referenced by Paint(), and Transform().

Int_t TSpectrum2Painter::fXt [protected]

Definition at line 184 of file TSpectrum2Painter.h.

Referenced by Paint(), and Transform().

Int_t TSpectrum2Painter::fYt [protected]

Definition at line 184 of file TSpectrum2Painter.h.

Referenced by Paint(), and Transform().

Int_t TSpectrum2Painter::fXs [protected]

Definition at line 184 of file TSpectrum2Painter.h.

Referenced by Envelope(), EnvelopeBars(), and Paint().

Int_t TSpectrum2Painter::fYs [protected]

Definition at line 184 of file TSpectrum2Painter.h.

Referenced by Envelope(), EnvelopeBars(), and Paint().

Int_t TSpectrum2Painter::fXe [protected]

Definition at line 184 of file TSpectrum2Painter.h.

Referenced by Envelope(), EnvelopeBars(), and Paint().

Int_t TSpectrum2Painter::fYe [protected]

Definition at line 184 of file TSpectrum2Painter.h.

Referenced by Envelope(), EnvelopeBars(), and Paint().

Int_t TSpectrum2Painter::fLine [protected]

Definition at line 184 of file TSpectrum2Painter.h.

Referenced by Envelope(), EnvelopeBars(), and Paint().

Short_t* TSpectrum2Painter::fEnvelope [protected]

Definition at line 185 of file TSpectrum2Painter.h.

Referenced by CopyEnvelope(), Envelope(), EnvelopeBars(), Paint(), and Slice().

Short_t* TSpectrum2Painter::fEnvelopeContour [protected]

Definition at line 186 of file TSpectrum2Painter.h.

Referenced by CopyEnvelope(), Paint(), and Slice().

TColor* TSpectrum2Painter::fNewColor [protected]

Definition at line 187 of file TSpectrum2Painter.h.

Referenced by ColorModel().

Int_t TSpectrum2Painter::fMaximumXScreenResolution [protected]

Definition at line 188 of file TSpectrum2Painter.h.

Referenced by Paint().

Int_t TSpectrum2Painter::fNewColorIndex [protected]

buffers' size

Definition at line 189 of file TSpectrum2Painter.h.

Referenced by ColorModel(), and Paint().

Int_t TSpectrum2Painter::fBzX [protected]

Definition at line 190 of file TSpectrum2Painter.h.

Referenced by BezierSmoothing(), and Paint().

Int_t TSpectrum2Painter::fBzY [protected]

Definition at line 191 of file TSpectrum2Painter.h.

Referenced by BezierSmoothing(), and Paint().

TH2* TSpectrum2Painter::fH2 [protected]

Definition at line 123 of file TSpectrum2Painter.h.

Short_t* TSpectrum2Painter::fEnvelope [protected]

Definition at line 185 of file TSpectrum2Painter.h.

Short_t* TSpectrum2Painter::fEnvelopeContour [protected]

Definition at line 186 of file TSpectrum2Painter.h.

TColor* TSpectrum2Painter::fNewColor [protected]

Definition at line 187 of file TSpectrum2Painter.h.


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