#include <TGLPadPainter.h>
Inheritance diagram for TGLPadPainter:
Definition at line 34 of file TGLPadPainter.h.
TGLPadPainter::TGLPadPainter | ( | ) |
TGLPadPainter::TGLPadPainter | ( | const TGLPadPainter & | rhs | ) | [private] |
TGLPadPainter::TGLPadPainter | ( | ) |
TGLPadPainter::TGLPadPainter | ( | const TGLPadPainter & | rhs | ) | [private] |
Color_t TGLPadPainter::GetLineColor | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 49 of file TGLPadPainter.cxx.
References gVirtualX.
Style_t TGLPadPainter::GetLineStyle | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 56 of file TGLPadPainter.cxx.
References gVirtualX.
Width_t TGLPadPainter::GetLineWidth | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 63 of file TGLPadPainter.cxx.
References gVirtualX.
void TGLPadPainter::SetLineColor | ( | Color_t | lcolor | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 70 of file TGLPadPainter.cxx.
References gVirtualX.
void TGLPadPainter::SetLineStyle | ( | Style_t | lstyle | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 77 of file TGLPadPainter.cxx.
References gVirtualX.
void TGLPadPainter::SetLineWidth | ( | Width_t | lwidth | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 84 of file TGLPadPainter.cxx.
References gVirtualX.
Color_t TGLPadPainter::GetFillColor | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 91 of file TGLPadPainter.cxx.
References gVirtualX.
Style_t TGLPadPainter::GetFillStyle | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 98 of file TGLPadPainter.cxx.
References gVirtualX.
Bool_t TGLPadPainter::IsTransparent | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 105 of file TGLPadPainter.cxx.
References gVirtualX.
void TGLPadPainter::SetFillColor | ( | Color_t | fcolor | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 113 of file TGLPadPainter.cxx.
References gVirtualX.
void TGLPadPainter::SetFillStyle | ( | Style_t | fstyle | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 120 of file TGLPadPainter.cxx.
References gVirtualX.
void TGLPadPainter::SetOpacity | ( | Int_t | percent | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 127 of file TGLPadPainter.cxx.
References gVirtualX.
Short_t TGLPadPainter::GetTextAlign | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 134 of file TGLPadPainter.cxx.
References gVirtualX.
Float_t TGLPadPainter::GetTextAngle | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 141 of file TGLPadPainter.cxx.
References gVirtualX.
Referenced by DrawText().
Color_t TGLPadPainter::GetTextColor | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 148 of file TGLPadPainter.cxx.
References gVirtualX.
Font_t TGLPadPainter::GetTextFont | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 155 of file TGLPadPainter.cxx.
References gVirtualX.
Float_t TGLPadPainter::GetTextSize | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 162 of file TGLPadPainter.cxx.
References gVirtualX.
Float_t TGLPadPainter::GetTextMagnitude | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 169 of file TGLPadPainter.cxx.
References gVirtualX.
Referenced by DrawText().
void TGLPadPainter::SetTextAlign | ( | Short_t | align | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 176 of file TGLPadPainter.cxx.
References gVirtualX.
void TGLPadPainter::SetTextAngle | ( | Float_t | tangle | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 183 of file TGLPadPainter.cxx.
References gVirtualX.
void TGLPadPainter::SetTextColor | ( | Color_t | tcolor | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 190 of file TGLPadPainter.cxx.
References gVirtualX.
void TGLPadPainter::SetTextFont | ( | Font_t | tfont | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 197 of file TGLPadPainter.cxx.
References gVirtualX.
void TGLPadPainter::SetTextSize | ( | Float_t | tsize | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 204 of file TGLPadPainter.cxx.
References gVirtualX.
void TGLPadPainter::SetTextSizePixels | ( | Int_t | npixels | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 211 of file TGLPadPainter.cxx.
References gVirtualX.
void TGLPadPainter::ClearDrawable | ( | ) | [virtual] |
void TGLPadPainter::DestroyDrawable | ( | ) | [virtual] |
void TGLPadPainter::SelectDrawable | ( | Int_t | device | ) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 247 of file TGLPadPainter.cxx.
References Error, fLocked, GL_MODELVIEW, GL_PROJECTION, glLoadIdentity(), glMatrixMode(), glOrtho(), glTranslated(), glViewport(), and gPad.
void TGLPadPainter::InitPainter | ( | ) | [virtual] |
Reimplemented from TVirtualPadPainter.
Definition at line 279 of file TGLPadPainter.cxx.
References fLocked, GL_COLOR_BUFFER_BIT, GL_CULL_FACE, GL_DEPTH_BUFFER_BIT, GL_DEPTH_TEST, GL_FALSE, GL_LIGHTING, GL_MODELVIEW, GL_PROJECTION, GL_TRUE, glClear(), glClearColor(), glDepthMask(), glDisable(), glLoadIdentity(), glMatrixMode(), glOrtho(), glTranslated(), glViewport(), gPad, and kFALSE.
void TGLPadPainter::InvalidateCS | ( | ) | [virtual] |
Reimplemented from TVirtualPadPainter.
Definition at line 314 of file TGLPadPainter.cxx.
References fLocked, GL_MODELVIEW, GL_PROJECTION, glLoadIdentity(), glMatrixMode(), glOrtho(), and gPad.
void TGLPadPainter::LockPainter | ( | ) | [virtual] |
Reimplemented from TVirtualPadPainter.
Definition at line 330 of file TGLPadPainter.cxx.
References fLocked, glFinish(), and kTRUE.
Implements TVirtualPadPainter.
Definition at line 349 of file TGLPadPainter.cxx.
References fLimits, fLocked, Rgl::Pad::GLLimits::GetMaxLineWidth(), Rgl::Pad::GLLimits::GetMaxPointSize(), GL_LINES, GL_NICEST, GL_POINT_SMOOTH, GL_POINT_SMOOTH_HINT, GL_POINTS, glBegin(), glEnd(), glHint(), glPointSize(), glVertex2d(), gPad, gVirtualX, TVirtualX::kInvert, kTRUE, and lineWidthTS.
Implements TVirtualPadPainter.
Definition at line 392 of file TGLPadPainter.cxx.
References fLimits, fLocked, Rgl::Pad::GLLimits::GetMaxLineWidth(), GL_LINES, glBegin(), glEnd(), glVertex2d(), gPad, gVirtualX, and kTRUE.
void TGLPadPainter::DrawBox | ( | Double_t | x1, | |
Double_t | y1, | |||
Double_t | x2, | |||
Double_t | y2, | |||
EBoxMode | mode | |||
) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 409 of file TGLPadPainter.cxx.
References fLimits, fLocked, fSSet, Rgl::Pad::GLLimits::GetMaxLineWidth(), GL_FILL, GL_FRONT_AND_BACK, GL_LINE, glLineWidth(), glPolygonMode(), glRectd(), kFALSE, TVirtualPadPainter::kHollow, and kTRUE.
Implements TVirtualPadPainter.
Definition at line 429 of file TGLPadPainter.cxx.
References DrawPolyLine(), fIsHollowArea, fLocked, fSSet, fTess, fVs, Rgl::Pad::Tesselator::GetTess(), gVirtualX, i, kFALSE, kTRUE, and t.
Implements TVirtualPadPainter.
Definition at line 462 of file TGLPadPainter.cxx.
References DrawPolyLine(), fIsHollowArea, fLocked, fSSet, fTess, fVs, Rgl::Pad::Tesselator::GetTess(), gVirtualX, i, kFALSE, kTRUE, and t.
Implements TVirtualPadPainter.
Definition at line 495 of file TGLPadPainter.cxx.
References fIsHollowArea, fLimits, fLocked, Rgl::Pad::GLLimits::GetMaxLineWidth(), Rgl::Pad::GLLimits::GetMaxPointSize(), GL_LINE_STRIP, GL_NICEST, GL_POINT_SMOOTH, GL_POINT_SMOOTH_HINT, GL_POINTS, glBegin(), glEnd(), glHint(), glPointSize(), glVertex2d(), gVirtualX, i, kFALSE, kTRUE, and lineWidthTS.
Referenced by DrawFillArea().
Implements TVirtualPadPainter.
Definition at line 532 of file TGLPadPainter.cxx.
References fIsHollowArea, fLimits, fLocked, Rgl::Pad::GLLimits::GetMaxLineWidth(), GL_LINE_STRIP, glBegin(), glEnd(), glVertex2f(), gVirtualX, i, kFALSE, and kTRUE.
Implements TVirtualPadPainter.
Definition at line 554 of file TGLPadPainter.cxx.
References fLimits, fLocked, Rgl::Pad::GLLimits::GetMaxLineWidth(), GL_LINE_STRIP, glBegin(), glEnd(), glVertex2d(), gPad, gVirtualX, i, kTRUE, and x1.
Implements TVirtualPadPainter.
Definition at line 582 of file TGLPadPainter.cxx.
References ConvertMarkerPoints(), DrawPolyMarker(), fLocked, and fPoly.
Implements TVirtualPadPainter.
Definition at line 593 of file TGLPadPainter.cxx.
References ConvertMarkerPoints(), DrawPolyMarker(), fLocked, and fPoly.
void TGLPadPainter::DrawText | ( | Double_t | x, | |
Double_t | y, | |||
const char * | text, | |||
ETextMode | mode | |||
) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 688 of file TGLPadPainter.cxx.
References Rgl::Pad::ExtractRGB(), fF, fFM, fLocked, TGLFontManager::GetFontNameFromId(), GetTextAngle(), GetTextMagnitude(), GL_MODELVIEW, glColor3fv(), glLoadIdentity(), glMatrixMode(), glOrtho(), gPad, gVirtualX, TGLFont::kTexture, TGLFont::PostRender(), TGLFont::PreRender(), TGLFontManager::RegisterFont(), TGLFont::Render(), RestoreProjectionMatrix(), and SaveProjectionMatrix().
Referenced by DrawTextNDC().
void TGLPadPainter::DrawTextNDC | ( | Double_t | x, | |
Double_t | y, | |||
const char * | text, | |||
ETextMode | mode | |||
) | [virtual] |
Implements TVirtualPadPainter.
Definition at line 722 of file TGLPadPainter.cxx.
References DrawText(), fLocked, and gPad.
void TGLPadPainter::SaveImage | ( | TVirtualPad * | pad, | |
const char * | fileName, | |||
Int_t | type | |||
) | const [virtual] |
Implements TVirtualPadPainter.
Definition at line 791 of file TGLPadPainter.cxx.
References argb, canvas, TImage::Create(), Error, Form(), TVirtualPad::GetCanvas(), GL_PACK_ALIGNMENT, GL_RGBA, GL_UNPACK_ALIGNMENT, GL_UNSIGNED_BYTE, glPixelStorei(), glReadPixels(), gROOT, i, image, j, and TROOT::ProcessLine().
void TGLPadPainter::SaveProjectionMatrix | ( | ) | const [private] |
Definition at line 737 of file TGLPadPainter.cxx.
References GL_PROJECTION, glMatrixMode(), and glPushMatrix().
Referenced by DrawPolyMarker(), and DrawText().
void TGLPadPainter::RestoreProjectionMatrix | ( | ) | const [private] |
Definition at line 747 of file TGLPadPainter.cxx.
References GL_PROJECTION, glMatrixMode(), and glPopMatrix().
Referenced by DrawPolyMarker(), and DrawText().
void TGLPadPainter::SaveModelviewMatrix | ( | ) | const [private] |
Definition at line 757 of file TGLPadPainter.cxx.
References GL_MODELVIEW, glMatrixMode(), and glPushMatrix().
void TGLPadPainter::RestoreModelviewMatrix | ( | ) | const [private] |
Definition at line 767 of file TGLPadPainter.cxx.
References GL_MODELVIEW, glMatrixMode(), and glPopMatrix().
void TGLPadPainter::SaveViewport | ( | ) | [private] |
void TGLPadPainter::RestoreViewport | ( | ) | [private] |
void TGLPadPainter::DrawPolyMarker | ( | ) | [private] |
Definition at line 604 of file TGLPadPainter.cxx.
References Rgl::Pad::MarkerPainter::DrawCircle(), Rgl::Pad::MarkerPainter::DrawCross(), Rgl::Pad::MarkerPainter::DrawDiamond(), Rgl::Pad::MarkerPainter::DrawDot(), Rgl::Pad::MarkerPainter::DrawFullDotLarge(), Rgl::Pad::MarkerPainter::DrawFullDotMedium(), Rgl::Pad::MarkerPainter::DrawFullDotSmall(), Rgl::Pad::MarkerPainter::DrawFullSquare(), Rgl::Pad::MarkerPainter::DrawFullStar(), Rgl::Pad::MarkerPainter::DrawFullTrianlgeDown(), Rgl::Pad::MarkerPainter::DrawFullTrianlgeUp(), Rgl::Pad::MarkerPainter::DrawOpenStar(), Rgl::Pad::MarkerPainter::DrawPlus(), Rgl::Pad::MarkerPainter::DrawStar(), Rgl::Pad::MarkerPainter::DrawX(), Rgl::Pad::ExtractRGB(), fLocked, fMarker, fPoly, GL_FILL, GL_FRONT_AND_BACK, GL_LINE, GL_MODELVIEW, glColor3fv(), glLoadIdentity(), glMatrixMode(), glOrtho(), glPolygonMode(), gPad, gVirtualX, kCircle, kDot, kFullCircle, kFullDotLarge, kFullDotMedium, kFullDotSmall, kFullSquare, kFullStar, kFullTriangleDown, kFullTriangleUp, kMultiply, kOpenCircle, kOpenCross, kOpenDiamond, kOpenSquare, kOpenStar, kOpenTriangleUp, kPlus, kStar, n, RestoreProjectionMatrix(), SaveProjectionMatrix(), and xy.
Referenced by DrawPolyMarker().
TGLPadPainter& TGLPadPainter::operator= | ( | const TGLPadPainter & | rhs | ) | [private] |
Color_t TGLPadPainter::GetLineColor | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Style_t TGLPadPainter::GetLineStyle | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Width_t TGLPadPainter::GetLineWidth | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SetLineColor | ( | Color_t | lcolor | ) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SetLineStyle | ( | Style_t | lstyle | ) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SetLineWidth | ( | Width_t | lwidth | ) | [virtual] |
Implements TVirtualPadPainter.
Color_t TGLPadPainter::GetFillColor | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Style_t TGLPadPainter::GetFillStyle | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Bool_t TGLPadPainter::IsTransparent | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SetFillColor | ( | Color_t | fcolor | ) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SetFillStyle | ( | Style_t | fstyle | ) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SetOpacity | ( | Int_t | percent | ) | [virtual] |
Implements TVirtualPadPainter.
Short_t TGLPadPainter::GetTextAlign | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Float_t TGLPadPainter::GetTextAngle | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Color_t TGLPadPainter::GetTextColor | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Font_t TGLPadPainter::GetTextFont | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Float_t TGLPadPainter::GetTextSize | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
Float_t TGLPadPainter::GetTextMagnitude | ( | ) | const [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SetTextAlign | ( | Short_t | align | ) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SetTextAngle | ( | Float_t | tangle | ) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SetTextColor | ( | Color_t | tcolor | ) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SetTextFont | ( | Font_t | tfont | ) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SetTextSize | ( | Float_t | tsize | ) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SetTextSizePixels | ( | Int_t | npixels | ) | [virtual] |
Implements TVirtualPadPainter.
Implements TVirtualPadPainter.
void TGLPadPainter::ClearDrawable | ( | ) | [virtual] |
Implements TVirtualPadPainter.
Implements TVirtualPadPainter.
void TGLPadPainter::DestroyDrawable | ( | ) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SelectDrawable | ( | Int_t | device | ) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::InitPainter | ( | ) | [virtual] |
Reimplemented from TVirtualPadPainter.
void TGLPadPainter::InvalidateCS | ( | ) | [virtual] |
Reimplemented from TVirtualPadPainter.
void TGLPadPainter::LockPainter | ( | ) | [virtual] |
Reimplemented from TVirtualPadPainter.
Implements TVirtualPadPainter.
Implements TVirtualPadPainter.
void TGLPadPainter::DrawBox | ( | Double_t | x1, | |
Double_t | y1, | |||
Double_t | x2, | |||
Double_t | y2, | |||
EBoxMode | mode | |||
) | [virtual] |
Implements TVirtualPadPainter.
Implements TVirtualPadPainter.
Implements TVirtualPadPainter.
Implements TVirtualPadPainter.
Implements TVirtualPadPainter.
Implements TVirtualPadPainter.
Implements TVirtualPadPainter.
Implements TVirtualPadPainter.
void TGLPadPainter::DrawText | ( | Double_t | x, | |
Double_t | y, | |||
const char * | text, | |||
ETextMode | mode | |||
) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::DrawTextNDC | ( | Double_t | x, | |
Double_t | y, | |||
const char * | text, | |||
ETextMode | mode | |||
) | [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SaveImage | ( | TVirtualPad * | pad, | |
const char * | fileName, | |||
Int_t | type | |||
) | const [virtual] |
Implements TVirtualPadPainter.
void TGLPadPainter::SaveProjectionMatrix | ( | ) | const [private] |
void TGLPadPainter::RestoreProjectionMatrix | ( | ) | const [private] |
void TGLPadPainter::SaveModelviewMatrix | ( | ) | const [private] |
void TGLPadPainter::RestoreModelviewMatrix | ( | ) | const [private] |
void TGLPadPainter::SaveViewport | ( | ) | [private] |
void TGLPadPainter::RestoreViewport | ( | ) | [private] |
void TGLPadPainter::DrawPolyMarker | ( | ) | [private] |
TGLPadPainter& TGLPadPainter::operator= | ( | const TGLPadPainter & | rhs | ) | [private] |
Rgl::Pad::Tesselator TGLPadPainter::fTess [private] |
Rgl::Pad::GLLimits TGLPadPainter::fLimits [private] |
Definition at line 39 of file TGLPadPainter.h.
Referenced by DrawBox(), DrawLine(), DrawLineNDC(), DrawPolyLine(), and DrawPolyLineNDC().
std::vector<Double_t> TGLPadPainter::fVs [private] |
TGLFontManager TGLPadPainter::fFM [private] |
TGLFont TGLPadPainter::fF [private] |
Int_t TGLPadPainter::fVp [private] |
std::vector<TPoint> TGLPadPainter::fPoly [private] |
Bool_t TGLPadPainter::fIsHollowArea [private] |
Bool_t TGLPadPainter::fLocked [private] |
Definition at line 51 of file TGLPadPainter.h.
Referenced by DrawBox(), DrawFillArea(), DrawLine(), DrawLineNDC(), DrawPolyLine(), DrawPolyLineNDC(), DrawPolyMarker(), DrawText(), DrawTextNDC(), InitPainter(), InvalidateCS(), LockPainter(), and SelectDrawable().
std::vector<Double_t> TGLPadPainter::fVs [private] |
Definition at line 41 of file TGLPadPainter.h.
std::vector<TPoint> TGLPadPainter::fPoly [private] |
Definition at line 48 of file TGLPadPainter.h.