TGLAxisPainterBox Class Reference

#include <TGLAxisPainter.h>

Inheritance diagram for TGLAxisPainterBox:

TGLAxisPainter TGLAxisPainter List of all members.

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]
TAxisfAxis [3]
TAxisfAxis [3]

Detailed Description

Definition at line 138 of file TGLAxisPainter.h.


Constructor & Destructor Documentation

TGLAxisPainterBox::TGLAxisPainterBox (  ) 

Definition at line 462 of file TGLAxisPainter.cxx.

References fAxis.

TGLAxisPainterBox::~TGLAxisPainterBox (  )  [virtual]

Definition at line 471 of file TGLAxisPainter.cxx.

TGLAxisPainterBox::TGLAxisPainterBox (  ) 

virtual TGLAxisPainterBox::~TGLAxisPainterBox (  )  [virtual]


Member Function Documentation

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  ,
 
)

void TGLAxisPainterBox::SetAxis3DTitlePos ( TGLRnrCtx rnrCtx  ) 

void TGLAxisPainterBox::DrawAxis3D ( TGLRnrCtx rnrCtx  ) 

void TGLAxisPainterBox::PlotStandard ( TGLRnrCtx rnrCtx,
const TH1 histo,
const TGLBoundingBox bbox 
)

TGLAxisPainterBox::ClassDef ( TGLAxisPainterBox  ,
 
)


Member Data Documentation

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.


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