#ifndef ROOT_TEveProjectionAxesGL
#define ROOT_TEveProjectionAxesGL
#include "TGLObject.h"
#include "TGLAxisPainter.h"
#include <vector>
class TEveProjectionAxes;
class TEveProjection;
class TGLFont;
class TEveProjectionAxesGL : public TGLObject
{
private:
TEveProjectionAxesGL(const TEveProjectionAxesGL&);
TEveProjectionAxesGL& operator=(const TEveProjectionAxesGL&);
typedef std::pair<Float_t, Float_t> Lab_t;
typedef std::vector<Lab_t> LabVec_t;
typedef std::vector<Float_t> TMVec_t;
mutable LabVec_t fLabVec;
mutable TMVec_t fTickMarks;
mutable TGLAxisPainter fAxisPainter;
mutable TGLAxisAttrib fAxisAtt;
void DrawScales(Bool_t horizontal, TGLFont& font, Float_t tms, Float_t dtw) const;
Bool_t GetRange(Int_t ax, Float_t frustMin, Float_t frustMax, Float_t& start, Float_t& en) const;
void SplitInterval(Float_t x1, Float_t x2, Int_t axis, Int_t nLabels) const;
void SplitIntervalByPos(Float_t min, Float_t max, Int_t axis, Int_t nLab)const;
void SplitIntervalByVal(Float_t min, Float_t max, Int_t axis, Int_t nLab)const;
protected:
TEveProjectionAxes *fM;
mutable TEveProjection *fProjection;
public:
TEveProjectionAxesGL();
virtual ~TEveProjectionAxesGL() {}
virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
virtual void SetBBox();
virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
Bool_t IgnoreSizeForOfInterest() const { return kTRUE;}
ClassDef(TEveProjectionAxesGL, 0);
};
#endif
Last change: Mon Nov 24 08:18:51 2008
Last generated: 2008-11-24 08:18
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.