#ifndef ROOT_TEveProjectionAxesGL
#define ROOT_TEveProjectionAxesGL
#include "TGLObject.h"
#include "TGLAxisPainter.h"
class TEveProjectionAxes;
class TEveProjection;
class TEveProjectionAxesGL : public TGLObject
{
private:
TEveProjectionAxesGL(const TEveProjectionAxesGL&);
TEveProjectionAxesGL& operator=(const TEveProjectionAxesGL&);
void 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) const;
void SplitIntervalByPos(Float_t min, Float_t max, Int_t axis)const;
void SplitIntervalByVal(Float_t min, Float_t max, Int_t axis)const;
void FilterOverlappingLabels(Int_t idx, Float_t ref) const;
protected:
TEveProjectionAxes *fM;
mutable TEveProjection *fProjection;
mutable TGLAxisPainter fAxisPainter;
public:
TEveProjectionAxesGL();
virtual ~TEveProjectionAxesGL() {}
virtual Bool_t SetModel(TObject* obj, const Option_t* opt = 0);
virtual void SetBBox();
virtual void Draw(TGLRnrCtx& rnrCtx) const;
virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
Bool_t IgnoreSizeForOfInterest() const { return kTRUE; }
ClassDef(TEveProjectionAxesGL, 0);
};
#endif
TEveProjectionAxesGL.h:10 TEveProjectionAxesGL.h:11 TEveProjectionAxesGL.h:12 TEveProjectionAxesGL.h:13 TEveProjectionAxesGL.h:14 TEveProjectionAxesGL.h:15 TEveProjectionAxesGL.h:16 TEveProjectionAxesGL.h:17 TEveProjectionAxesGL.h:18 TEveProjectionAxesGL.h:19 TEveProjectionAxesGL.h:20 TEveProjectionAxesGL.h:21 TEveProjectionAxesGL.h:22 TEveProjectionAxesGL.h:23 TEveProjectionAxesGL.h:24 TEveProjectionAxesGL.h:25 TEveProjectionAxesGL.h:26 TEveProjectionAxesGL.h:27 TEveProjectionAxesGL.h:28 TEveProjectionAxesGL.h:29 TEveProjectionAxesGL.h:30 TEveProjectionAxesGL.h:31 TEveProjectionAxesGL.h:32 TEveProjectionAxesGL.h:33 TEveProjectionAxesGL.h:34 TEveProjectionAxesGL.h:35 TEveProjectionAxesGL.h:36 TEveProjectionAxesGL.h:37 TEveProjectionAxesGL.h:38 TEveProjectionAxesGL.h:39 TEveProjectionAxesGL.h:40 TEveProjectionAxesGL.h:41 TEveProjectionAxesGL.h:42 TEveProjectionAxesGL.h:43 TEveProjectionAxesGL.h:44 TEveProjectionAxesGL.h:45 TEveProjectionAxesGL.h:46 TEveProjectionAxesGL.h:47 TEveProjectionAxesGL.h:48 TEveProjectionAxesGL.h:49 TEveProjectionAxesGL.h:50 TEveProjectionAxesGL.h:51