3 #ifndef REVE_NLTProjectorGL_H
4 #define REVE_NLTProjectorGL_H
7 #include <Reve/RenderElement.h>
15 class NLTProjectorGL : public TGLObject
18 typedef std::list<Float_t> TMList_t;
21 NLTProjectorGL(const NLTProjectorGL&); // Not implemented
22 NLTProjectorGL& operator=(const NLTProjectorGL&); // Not implemented
24 mutable TMList_t fPos;
25 mutable TMList_t fVals;
27 mutable Float_t fRange;
32 void DrawTickMarks(Float_t tms) const;
33 void DrawHInfo() const;
34 void DrawVInfo() const;
35 const char* GetText(Float_t) const;
37 void SplitInterval(Int_t axis) const;
38 void SplitIntervalByPos(Float_t min, Float_t max, Int_t axis, Int_t level)const;
39 void SplitIntervalByVal(Float_t min, Float_t max, Int_t axis, Int_t level)const;
42 NLTProjector* fM; // fModel dynamic-casted to NLTProjector
45 virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
49 virtual ~NLTProjectorGL();
51 virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
52 virtual void SetBBox();
53 Bool_t IgnoreSizeForOfInterest() const { return kTRUE;}
55 ClassDef(NLTProjectorGL, 0);
56 }; // endclass NLTProjectorGL