#include <TGLAxisPainter.h>
Inheritance diagram for TGLAxisPainterBox:

Public Member Functions | |
| TGLAxisPainterBox () | |
| virtual | ~TGLAxisPainterBox () |
| void | SetAxis3DTitlePos (TGLRnrCtx &rnrCtx) |
| void | DrawAxis3D (TGLRnrCtx &rnrCtx) |
| void | PlotStandard (TGLRnrCtx &rnrCtx, const TH1 *histo, const TGLBoundingBox &bbox) |
| ClassDef (TGLAxisPainterBox, 0) | |
| TGLAxisPainterBox () | |
| virtual | ~TGLAxisPainterBox () |
| void | SetAxis3DTitlePos (TGLRnrCtx &rnrCtx) |
| void | DrawAxis3D (TGLRnrCtx &rnrCtx) |
| void | PlotStandard (TGLRnrCtx &rnrCtx, const TH1 *histo, const TGLBoundingBox &bbox) |
| ClassDef (TGLAxisPainterBox, 0) | |
Protected Attributes | |
| TGLVector3 | fAxisTitlePos [3] |
| TAxis * | fAxis [3] |
| TAxis * | fAxis [3] |
Definition at line 138 of file TGLAxisPainter.h.
| TGLAxisPainterBox::TGLAxisPainterBox | ( | ) |
| TGLAxisPainterBox::~TGLAxisPainterBox | ( | ) | [virtual] |
Definition at line 471 of file TGLAxisPainter.cxx.
| TGLAxisPainterBox::TGLAxisPainterBox | ( | ) |
| virtual TGLAxisPainterBox::~TGLAxisPainterBox | ( | ) | [virtual] |
| void TGLAxisPainterBox::SetAxis3DTitlePos | ( | TGLRnrCtx & | rnrCtx | ) |
Definition at line 477 of file TGLAxisPainter.cxx.
References TGLMatrix::CArr(), fAxis, fAxisTitlePos, TAxis::GetXmax(), TAxis::GetXmin(), GL_MODELVIEW_MATRIX, GL_VIEWPORT, glGetDoublev(), glGetIntegerv(), i, TGLRnrCtx::RefCamera(), TGLCamera::RefLastNoPickProjM(), TGLVertex3::Set(), vp, x0, and x1.
Referenced by PlotStandard().
| void TGLAxisPainterBox::DrawAxis3D | ( | TGLRnrCtx & | rnrCtx | ) |
Definition at line 559 of file TGLAxisPainter.cxx.
References TGLMatrix::Arr(), TMath::CeilNint(), fAxis, fAxisTitlePos, TAxis::GetXmax(), TAxis::GetXmin(), GL_MODELVIEW_MATRIX, GL_PROJECTION_MATRIX, GL_VIEWPORT, glGetDoublev(), glGetIntegerv(), glPopMatrix(), glPushMatrix(), glTranslatef(), TGLFont::kBottom, TGLFont::kCenterH, TGLFont::kRight, len, TGLAxisPainter::PaintAxis(), TGLRnrCtx::RefCamera(), TGLAxisPainter::RefDir(), TGLAxisPainter::RefTitlePos(), TGLAxisPainter::RefTMOff(), TGLVertex3::Set(), TGLAxisPainter::SetLabelAlign(), TGLAxisPainter::SetLabelPixelFontSize(), TAttAxis::SetTickLength(), TGLAxisPainter::SetTitlePixelFontSize(), TGLAxisPainter::SetTMNDim(), TMath::Sqrt(), TGLCamera::ViewportDeltaToWorld(), vp, X, Y, and Z.
Referenced by PlotStandard().
| void TGLAxisPainterBox::PlotStandard | ( | TGLRnrCtx & | rnrCtx, | |
| const TH1 * | histo, | |||
| const TGLBoundingBox & | bbox | |||
| ) |
Definition at line 628 of file TGLAxisPainter.cxx.
References DrawAxis3D(), fAxis, TH1::GetXaxis(), TH1::GetYaxis(), TH1::GetZaxis(), glPopMatrix(), glPushMatrix(), glScaled(), histo, SetAxis3DTitlePos(), sx, TGLBoundingBox::XMax(), TGLBoundingBox::XMin(), TGLBoundingBox::YMax(), TGLBoundingBox::YMin(), TGLBoundingBox::ZMax(), and TGLBoundingBox::ZMin().
Referenced by TF2GL::DirectDraw(), TH3GL::DirectDraw(), and TH2GL::DirectDraw().
| TGLAxisPainterBox::ClassDef | ( | TGLAxisPainterBox | , | |
| 0 | ||||
| ) |
| void TGLAxisPainterBox::SetAxis3DTitlePos | ( | TGLRnrCtx & | rnrCtx | ) |
| void TGLAxisPainterBox::DrawAxis3D | ( | TGLRnrCtx & | rnrCtx | ) |
| void TGLAxisPainterBox::PlotStandard | ( | TGLRnrCtx & | rnrCtx, | |
| const TH1 * | histo, | |||
| const TGLBoundingBox & | bbox | |||
| ) |
| TGLAxisPainterBox::ClassDef | ( | TGLAxisPainterBox | , | |
| 0 | ||||
| ) |
TGLVector3 TGLAxisPainterBox::fAxisTitlePos [protected] |
Definition at line 141 of file TGLAxisPainter.h.
Referenced by DrawAxis3D(), and SetAxis3DTitlePos().
TAxis* TGLAxisPainterBox::fAxis[3] [protected] |
Definition at line 142 of file TGLAxisPainter.h.
Referenced by DrawAxis3D(), PlotStandard(), SetAxis3DTitlePos(), and TGLAxisPainterBox().
TAxis* TGLAxisPainterBox::fAxis[3] [protected] |
Definition at line 142 of file TGLAxisPainter.h.
1.5.1