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;
41 void SetRange(Float_t val, Int_t axis) const;
44 NLTProjector* fM; // fModel dynamic-casted to NLTProjector
47 virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
51 virtual ~NLTProjectorGL();
53 virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
54 virtual void SetBBox();
55 Bool_t IgnoreSizeForOfInterest() const { return kTRUE;}
57 ClassDef(NLTProjectorGL, 0);
58 }; // endclass NLTProjectorGL