class TGLAxisPainter


 Utility class to paint axis in GL.

Function Members (Methods)

public:
TGLAxisPainter()
virtual~TGLAxisPainter()
static TClass*Class()
virtual TClass*IsA() const
voidPaint(TGLRnrCtx& ctx, TGLAxisAttrib& atrib)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
private:
TGLAxisPainter(const TGLAxisPainter&)
voidDrawTick(TGLVector3& tv, Int_t order) const
const char*FormAxisValue(Float_t x) const
TGLAxisPainter&operator=(const TGLAxisPainter&)
voidRnrText(const char* txt, TGLVector3 pos, TGLFont& font) const

Data Members

private:
TGLAxisAttrib*fAtt

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

const char* FormAxisValue(Float_t x) const
 Returns formatted text suitable for display of value.
void DrawTick(TGLVector3& tv, Int_t order) const
 Draw tick-marks in supprted dimensions.
void RnrText(const char* txt, TGLVector3 pos, TGLFont& font) const
 Render text at the given position. Make offset depending of text aligment.
void Paint(TGLRnrCtx& ctx, TGLAxisAttrib& atrib)
 Paint axis body, tickmarks and labels.
TGLAxisPainter(const TGLAxisPainter& )
TGLAxisPainter& operator=(const TGLAxisPainter& )
TGLAxisPainter(const TGLAxisPainter& )
{}
virtual ~TGLAxisPainter()
{}

Author: Matevz Tadel 2007
Last change: root/eve:$Id: TGLAxisPainter.h 24445 2008-06-20 18:55:43Z matevz $
Last generated: 2008-06-25 08:40
Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.