#include <TGraph2DPainter.h>
Inheritance diagram for TGraph2DPainter:
Public Member Functions | |
TGraph2DPainter () | |
TGraph2DPainter (TGraphDelaunay *gd) | |
virtual | ~TGraph2DPainter () |
TList * | GetContourList (Double_t contour) |
void | Paint (Option_t *option) |
void | PaintContour (Option_t *option) |
void | PaintErrors (Option_t *option) |
void | PaintPolyMarker (Option_t *option) |
void | PaintPolyLine (Option_t *option) |
void | PaintTriangles (Option_t *option) |
TGraph2DPainter () | |
TGraph2DPainter (TGraphDelaunay *gd) | |
virtual | ~TGraph2DPainter () |
TList * | GetContourList (Double_t contour) |
void | Paint (Option_t *option) |
void | PaintContour (Option_t *option) |
void | PaintErrors (Option_t *option) |
void | PaintPolyMarker (Option_t *option) |
void | PaintPolyLine (Option_t *option) |
void | PaintTriangles (Option_t *option) |
Protected Member Functions | |
void | FindTriangles () |
void | PaintLevels (Int_t *T, Double_t *x, Double_t *y, Int_t nblev=0, Double_t *glev=0) |
void | PaintPolyMarker0 (Int_t n, Double_t *x, Double_t *y) |
void | FindTriangles () |
void | PaintLevels (Int_t *T, Double_t *x, Double_t *y, Int_t nblev=0, Double_t *glev=0) |
void | PaintPolyMarker0 (Int_t n, Double_t *x, Double_t *y) |
Protected Attributes | |
Double_t * | fX |
Double_t * | fY |
Pointer to fGraph2D->fX. | |
Double_t * | fZ |
Pointer to fGraph2D->fY. | |
Double_t * | fXN |
Pointer to fGraph2D->fZ. | |
Double_t * | fYN |
Pointer to fDelaunay->fXN. | |
Double_t * | fEX |
Pointer to fDelaunay->fYN. | |
Double_t * | fEY |
Pointer to fGraph2D->fXE. | |
Double_t * | fEZ |
Pointer to fGraph2D->fYE. | |
Double_t | fXNmin |
Pointer to fGraph2D->fZE. | |
Double_t | fXNmax |
Equal to fDelaunay->fXNmin. | |
Double_t | fYNmin |
Equal to fDelaunay->fXNmax. | |
Double_t | fYNmax |
Equal to fDelaunay->fYNmin. | |
Double_t | fXmin |
Equal to fDelaunay->fYNmax. | |
Double_t | fXmax |
Double_t | fYmin |
Double_t | fYmax |
fGraph2D->fHistogram limits | |
Double_t | fZmin |
Double_t | fZmax |
Int_t | fNpoints |
Int_t | fNdt |
Equal to fGraph2D->fNpoints. | |
Int_t * | fPTried |
Equal to fDelaunay->fNdt. | |
Int_t * | fNTried |
Pointer to fDelaunay->fPTried. | |
Int_t * | fMTried |
Pointer to fDelaunay->fNTried. | |
TGraphDelaunay * | fDelaunay |
Pointer to fDelaunay->fMTried. | |
TGraph2D * | fGraph2D |
Double_t * | fX |
Double_t * | fY |
Pointer to fGraph2D->fX. | |
Double_t * | fZ |
Pointer to fGraph2D->fY. | |
Double_t * | fXN |
Pointer to fGraph2D->fZ. | |
Double_t * | fYN |
Pointer to fDelaunay->fXN. | |
Double_t * | fEX |
Pointer to fDelaunay->fYN. | |
Double_t * | fEY |
Pointer to fGraph2D->fXE. | |
Double_t * | fEZ |
Pointer to fGraph2D->fYE. | |
Int_t * | fPTried |
Equal to fDelaunay->fNdt. | |
Int_t * | fNTried |
Pointer to fDelaunay->fPTried. | |
Int_t * | fMTried |
Pointer to fDelaunay->fNTried. | |
TGraphDelaunay * | fDelaunay |
Pointer to fDelaunay->fMTried. | |
TGraph2D * | fGraph2D |
Definition at line 32 of file TGraph2DPainter.h.
TGraph2DPainter::TGraph2DPainter | ( | ) |
TGraph2DPainter::TGraph2DPainter | ( | TGraphDelaunay * | gd | ) |
Definition at line 74 of file TGraph2DPainter.cxx.
References fDelaunay, fEX, fEY, fEZ, fGraph2D, fMTried, fNdt, fNpoints, fNTried, fPTried, fX, fXmax, fXmin, fXN, fXNmax, fXNmin, fY, fYmax, fYmin, fYN, fYNmax, fYNmin, fZ, fZmax, fZmin, TGraph2D::GetEX(), TGraph2D::GetEY(), TGraph2D::GetEZ(), TGraphDelaunay::GetGraph2D(), TGraph2D::GetN(), TGraph2D::GetX(), TGraph2D::GetY(), and TGraph2D::GetZ().
TGraph2DPainter::~TGraph2DPainter | ( | ) | [virtual] |
Definition at line 107 of file TGraph2DPainter.cxx.
TGraph2DPainter::TGraph2DPainter | ( | ) |
TGraph2DPainter::TGraph2DPainter | ( | TGraphDelaunay * | gd | ) |
virtual TGraph2DPainter::~TGraph2DPainter | ( | ) | [virtual] |
void TGraph2DPainter::FindTriangles | ( | ) | [protected] |
Definition at line 114 of file TGraph2DPainter.cxx.
References fDelaunay, TGraphDelaunay::FindAllTriangles(), fMTried, fNdt, fNTried, fPTried, fXN, fXNmax, fXNmin, fYN, fYNmax, fYNmin, TGraphDelaunay::GetMTried(), TGraphDelaunay::GetNdt(), TGraphDelaunay::GetNTried(), TGraphDelaunay::GetPTried(), TGraphDelaunay::GetXN(), TGraphDelaunay::GetXNmax(), TGraphDelaunay::GetXNmin(), TGraphDelaunay::GetYN(), TGraphDelaunay::GetYNmax(), and TGraphDelaunay::GetYNmin().
Referenced by GetContourList(), PaintContour(), and PaintTriangles().
void TGraph2DPainter::PaintLevels | ( | Int_t * | T, | |
Double_t * | x, | |||
Double_t * | y, | |||
Int_t | nblev = 0 , |
|||
Double_t * | glev = 0 | |||
) | [protected] |
Definition at line 573 of file TGraph2DPainter.cxx.
References fGraph2D, fZ, fZmax, fZmin, TStyle::GetColorPalette(), TAttFill::GetFillColor(), TStyle::GetNumberOfColors(), gPad, gStyle, Hoption, i, TMath::Log10(), Hoption_t::Logz, p0(), p1(), p2(), TAttFill::SetFillColor(), TAttLine::SetLineStyle(), x0, x1, and x2.
Referenced by PaintTriangles().
Definition at line 866 of file TGraph2DPainter.cxx.
References fGraph2D, TAttMarker::GetMarkerColor(), TAttMarker::GetMarkerSize(), gPad, i, TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), and TAttMarker::SetMarkerStyle().
Referenced by PaintPolyMarker(), and PaintTriangles().
Definition at line 134 of file TGraph2DPainter.cxx.
References TObject::Error(), FindTriangles(), fMTried, fNdt, fNTried, fPTried, fX, fY, fZ, gCurrentHist, TH1::GetMaximum(), TH1::GetMinimum(), graph(), Hoption, i, list, TMath::Log10(), Hoption_t::Logz, p0(), p1(), p2(), t, x0, x1, and x2.
Referenced by THistPainter::GetContourList(), and PaintContour().
void TGraph2DPainter::Paint | ( | Option_t * | option | ) | [virtual] |
Reimplemented from TObject.
Definition at line 372 of file TGraph2DPainter.cxx.
References TString::Contains(), fGraph2D, TAxis::FindFixBin(), fXmax, fXmin, fYmax, fYmin, fZmax, fZmin, gCurrentHist, TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TAxis::GetBinWidth(), TAxis::GetFirst(), TAxis::GetLast(), TH1::GetXaxis(), TH1::GetYaxis(), TGraph2D::GetZmax(), TGraph2D::GetZmin(), Hoption, kFALSE, line, Hoption_t::Logx, Hoption_t::Logy, Hoption_t::Logz, TMath::Min(), PaintContour(), PaintErrors(), PaintPolyLine(), PaintPolyMarker(), PaintTriangles(), TString::ToLower(), and triangles().
Referenced by THistPainter::PaintContour(), and THistPainter::PaintTriangles().
void TGraph2DPainter::PaintContour | ( | Option_t * | option | ) |
Definition at line 431 of file TGraph2DPainter.cxx.
References TMath::Abs(), c, xmlio::Class, FindTriangles(), g, gCurrentHist, TStyle::GetColorPalette(), TH1::GetContour(), TH1::GetContourLevelPad(), GetContourList(), TStyle::GetNumberContours(), TStyle::GetNumberOfColors(), gStyle, k, TH1::kUserContour, l, TH1::SetContour(), and TObject::TestBit().
Referenced by Paint().
void TGraph2DPainter::PaintErrors | ( | Option_t * | option | ) |
Definition at line 471 of file TGraph2DPainter.cxx.
References TObject::Error(), fEX, fEY, fEZ, fGraph2D, fNpoints, fX, fXmax, fXmin, fY, fYmax, fYmin, fZ, fZmax, fZmin, TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), gPad, Hoption, TMath::Log10(), Hoption_t::Logx, Hoption_t::Logy, Hoption_t::Logz, TMath::Max(), TMath::Min(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), and TView::WCtoNDC().
Referenced by Paint().
void TGraph2DPainter::PaintPolyMarker | ( | Option_t * | option | ) |
Definition at line 756 of file TGraph2DPainter.cxx.
References colors, TString::Contains(), TObject::Error(), fGraph2D, fNpoints, fX, fXmax, fXmin, fY, fYmax, fYmin, fZ, fZmax, fZmin, TStyle::GetColorPalette(), TAttMarker::GetMarkerColor(), TAttMarker::GetMarkerSize(), TAttMarker::GetMarkerStyle(), TStyle::GetNumberOfColors(), gPad, gStyle, Hoption, TMath::Log10(), Hoption_t::Logx, Hoption_t::Logy, Hoption_t::Logz, TMath::Max(), TMath::Min(), PaintPolyMarker0(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TString::ToLower(), and TView::WCtoNDC().
Referenced by Paint().
void TGraph2DPainter::PaintPolyLine | ( | Option_t * | option | ) |
Definition at line 820 of file TGraph2DPainter.cxx.
References TObject::Error(), fGraph2D, fNpoints, fX, fXmax, fXmin, fY, fYmax, fYmin, fZ, fZmax, fZmin, TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TAttLine::GetLineWidth(), gPad, Hoption, TMath::Log10(), Hoption_t::Logx, Hoption_t::Logy, Hoption_t::Logz, TMath::Max(), TMath::Min(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttLine::SetLineWidth(), and TView::WCtoNDC().
Referenced by Paint().
void TGraph2DPainter::PaintTriangles | ( | Option_t * | option | ) |
Definition at line 886 of file TGraph2DPainter.cxx.
References TMath::Abs(), TString::Contains(), TMath::Cos(), ROOT::Math::gv_detail::dist(), TObject::Error(), fGraph2D, FindTriangles(), fMTried, fNTried, fPTried, fX, fXmax, fXmin, fXN, fXNmax, fXNmin, fY, fYmax, fYmin, fYN, fYNmax, fYNmin, fZ, fZmax, fZmin, gCurrentHist, TH1::GetContour(), TAttFill::GetFillColor(), TAttFill::GetFillStyle(), TAttLine::GetLineColor(), TAttLine::GetLineStyle(), TView::GetLongitude(), TAttMarker::GetMarkerColor(), TAttMarker::GetMarkerSize(), TAttMarker::GetMarkerStyle(), TAttAxis::GetNdivisions(), TStyle::GetNumberContours(), TView::GetRmax(), TView::GetRmin(), TH1::GetZaxis(), gPad, gStyle, Hoption, i, k, kFALSE, kTRUE, TH1::kUserContour, TMath::Log10(), Hoption_t::Logx, Hoption_t::Logy, Hoption_t::Logz, m, TMath::Max(), TMath::Min(), n, nbins, o, THLimitsFinder::Optimize(), p, PaintLevels(), PaintPolyMarker0(), TMath::Pi(), r1, TH1::SetContour(), TAttFill::SetFillColor(), TAttFill::SetFillStyle(), TAttLine::SetLineColor(), TAttLine::SetLineStyle(), TAttMarker::SetMarkerColor(), TAttMarker::SetMarkerSize(), TAttMarker::SetMarkerStyle(), TMath::Sin(), TMath::Sort(), t, TObject::TestBit(), TString::ToLower(), TView::WCtoNDC(), x, and y.
Referenced by Paint().
void TGraph2DPainter::FindTriangles | ( | ) | [protected] |
void TGraph2DPainter::PaintLevels | ( | Int_t * | T, | |
Double_t * | x, | |||
Double_t * | y, | |||
Int_t | nblev = 0 , |
|||
Double_t * | glev = 0 | |||
) | [protected] |
void TGraph2DPainter::PaintContour | ( | Option_t * | option | ) |
void TGraph2DPainter::PaintErrors | ( | Option_t * | option | ) |
void TGraph2DPainter::PaintPolyMarker | ( | Option_t * | option | ) |
void TGraph2DPainter::PaintPolyLine | ( | Option_t * | option | ) |
void TGraph2DPainter::PaintTriangles | ( | Option_t * | option | ) |
Double_t* TGraph2DPainter::fX [protected] |
Definition at line 36 of file TGraph2DPainter.h.
Referenced by GetContourList(), PaintErrors(), PaintPolyLine(), PaintPolyMarker(), PaintTriangles(), and TGraph2DPainter().
Double_t* TGraph2DPainter::fY [protected] |
Pointer to fGraph2D->fX.
Definition at line 37 of file TGraph2DPainter.h.
Referenced by GetContourList(), PaintErrors(), PaintPolyLine(), PaintPolyMarker(), PaintTriangles(), and TGraph2DPainter().
Double_t* TGraph2DPainter::fZ [protected] |
Pointer to fGraph2D->fY.
Definition at line 38 of file TGraph2DPainter.h.
Referenced by GetContourList(), PaintErrors(), PaintLevels(), PaintPolyLine(), PaintPolyMarker(), PaintTriangles(), and TGraph2DPainter().
Double_t* TGraph2DPainter::fXN [protected] |
Pointer to fGraph2D->fZ.
Definition at line 39 of file TGraph2DPainter.h.
Referenced by FindTriangles(), PaintTriangles(), and TGraph2DPainter().
Double_t* TGraph2DPainter::fYN [protected] |
Pointer to fDelaunay->fXN.
Definition at line 40 of file TGraph2DPainter.h.
Referenced by FindTriangles(), PaintTriangles(), and TGraph2DPainter().
Double_t* TGraph2DPainter::fEX [protected] |
Pointer to fDelaunay->fYN.
Definition at line 41 of file TGraph2DPainter.h.
Referenced by PaintErrors(), and TGraph2DPainter().
Double_t* TGraph2DPainter::fEY [protected] |
Pointer to fGraph2D->fXE.
Definition at line 42 of file TGraph2DPainter.h.
Referenced by PaintErrors(), and TGraph2DPainter().
Double_t* TGraph2DPainter::fEZ [protected] |
Pointer to fGraph2D->fYE.
Definition at line 43 of file TGraph2DPainter.h.
Referenced by PaintErrors(), and TGraph2DPainter().
Double_t TGraph2DPainter::fXNmin [protected] |
Pointer to fGraph2D->fZE.
Definition at line 44 of file TGraph2DPainter.h.
Referenced by FindTriangles(), PaintTriangles(), and TGraph2DPainter().
Double_t TGraph2DPainter::fXNmax [protected] |
Equal to fDelaunay->fXNmin.
Definition at line 45 of file TGraph2DPainter.h.
Referenced by FindTriangles(), PaintTriangles(), and TGraph2DPainter().
Double_t TGraph2DPainter::fYNmin [protected] |
Equal to fDelaunay->fXNmax.
Definition at line 46 of file TGraph2DPainter.h.
Referenced by FindTriangles(), PaintTriangles(), and TGraph2DPainter().
Double_t TGraph2DPainter::fYNmax [protected] |
Equal to fDelaunay->fYNmin.
Definition at line 47 of file TGraph2DPainter.h.
Referenced by FindTriangles(), PaintTriangles(), and TGraph2DPainter().
Double_t TGraph2DPainter::fXmin [protected] |
Equal to fDelaunay->fYNmax.
Definition at line 48 of file TGraph2DPainter.h.
Referenced by Paint(), PaintErrors(), PaintPolyLine(), PaintPolyMarker(), PaintTriangles(), and TGraph2DPainter().
Double_t TGraph2DPainter::fXmax [protected] |
Definition at line 49 of file TGraph2DPainter.h.
Referenced by Paint(), PaintErrors(), PaintPolyLine(), PaintPolyMarker(), PaintTriangles(), and TGraph2DPainter().
Double_t TGraph2DPainter::fYmin [protected] |
Definition at line 50 of file TGraph2DPainter.h.
Referenced by Paint(), PaintErrors(), PaintPolyLine(), PaintPolyMarker(), PaintTriangles(), and TGraph2DPainter().
Double_t TGraph2DPainter::fYmax [protected] |
fGraph2D->fHistogram limits
Definition at line 51 of file TGraph2DPainter.h.
Referenced by Paint(), PaintErrors(), PaintPolyLine(), PaintPolyMarker(), PaintTriangles(), and TGraph2DPainter().
Double_t TGraph2DPainter::fZmin [protected] |
Definition at line 52 of file TGraph2DPainter.h.
Referenced by Paint(), PaintErrors(), PaintLevels(), PaintPolyLine(), PaintPolyMarker(), PaintTriangles(), and TGraph2DPainter().
Double_t TGraph2DPainter::fZmax [protected] |
Definition at line 53 of file TGraph2DPainter.h.
Referenced by Paint(), PaintErrors(), PaintLevels(), PaintPolyLine(), PaintPolyMarker(), PaintTriangles(), and TGraph2DPainter().
Int_t TGraph2DPainter::fNpoints [protected] |
Definition at line 54 of file TGraph2DPainter.h.
Referenced by PaintErrors(), PaintPolyLine(), PaintPolyMarker(), and TGraph2DPainter().
Int_t TGraph2DPainter::fNdt [protected] |
Equal to fGraph2D->fNpoints.
Definition at line 55 of file TGraph2DPainter.h.
Referenced by FindTriangles(), GetContourList(), and TGraph2DPainter().
Int_t* TGraph2DPainter::fPTried [protected] |
Equal to fDelaunay->fNdt.
Definition at line 56 of file TGraph2DPainter.h.
Referenced by FindTriangles(), GetContourList(), PaintTriangles(), and TGraph2DPainter().
Int_t* TGraph2DPainter::fNTried [protected] |
Pointer to fDelaunay->fPTried.
Definition at line 57 of file TGraph2DPainter.h.
Referenced by FindTriangles(), GetContourList(), PaintTriangles(), and TGraph2DPainter().
Int_t* TGraph2DPainter::fMTried [protected] |
Pointer to fDelaunay->fNTried.
Definition at line 58 of file TGraph2DPainter.h.
Referenced by FindTriangles(), GetContourList(), PaintTriangles(), and TGraph2DPainter().
TGraphDelaunay* TGraph2DPainter::fDelaunay [protected] |
Pointer to fDelaunay->fMTried.
Definition at line 60 of file TGraph2DPainter.h.
Referenced by FindTriangles(), and TGraph2DPainter().
TGraph2D* TGraph2DPainter::fGraph2D [protected] |
Definition at line 61 of file TGraph2DPainter.h.
Referenced by Paint(), PaintErrors(), PaintLevels(), PaintPolyLine(), PaintPolyMarker(), PaintPolyMarker0(), PaintTriangles(), and TGraph2DPainter().
Double_t* TGraph2DPainter::fX [protected] |
Definition at line 36 of file TGraph2DPainter.h.
Double_t* TGraph2DPainter::fY [protected] |
Double_t* TGraph2DPainter::fZ [protected] |
Double_t* TGraph2DPainter::fXN [protected] |
Double_t* TGraph2DPainter::fYN [protected] |
Double_t* TGraph2DPainter::fEX [protected] |
Double_t* TGraph2DPainter::fEY [protected] |
Double_t* TGraph2DPainter::fEZ [protected] |
Int_t* TGraph2DPainter::fPTried [protected] |
Int_t* TGraph2DPainter::fNTried [protected] |
Int_t* TGraph2DPainter::fMTried [protected] |
TGraphDelaunay* TGraph2DPainter::fDelaunay [protected] |
TGraph2D* TGraph2DPainter::fGraph2D [protected] |
Definition at line 61 of file TGraph2DPainter.h.