Warning, file /include/root/TEveProjectionAxesGL.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TEveProjectionAxesGL
0013 #define ROOT_TEveProjectionAxesGL
0014
0015 #include "TGLObject.h"
0016 #include "TGLAxisPainter.h"
0017
0018 class TEveProjectionAxes;
0019 class TEveProjection;
0020
0021 class TEveProjectionAxesGL : public TGLObject
0022 {
0023 private:
0024 TEveProjectionAxesGL(const TEveProjectionAxesGL&);
0025 TEveProjectionAxesGL& operator=(const TEveProjectionAxesGL&);
0026
0027 void GetRange(Int_t ax, Float_t frustMin, Float_t frustMax, Float_t& start, Float_t& en) const;
0028 void SplitInterval(Float_t x1, Float_t x2, Int_t axis) const;
0029 void SplitIntervalByPos(Float_t min, Float_t max, Int_t axis)const;
0030 void SplitIntervalByVal(Float_t min, Float_t max, Int_t axis)const;
0031 void FilterOverlappingLabels(Int_t idx, Float_t ref) const;
0032 protected:
0033 TEveProjectionAxes *fM;
0034 mutable TEveProjection *fProjection;
0035 mutable TGLAxisPainter fAxisPainter;
0036
0037 public:
0038 TEveProjectionAxesGL();
0039 ~TEveProjectionAxesGL() override {}
0040
0041 Bool_t SetModel(TObject* obj, const Option_t* opt = nullptr) override;
0042 void SetBBox() override;
0043 void Draw(TGLRnrCtx& rnrCtx) const override;
0044 void DirectDraw(TGLRnrCtx & rnrCtx) const override;
0045
0046 Bool_t IgnoreSizeForOfInterest() const override { return kTRUE; }
0047
0048 ClassDefOverride(TEveProjectionAxesGL, 0);
0049 };
0050
0051 #endif