35 fXPos(x), fYPos(y), fSize(s),
36 fSelAxis(-1), fInDrag(
kFALSE)
115 glTranslatef(-1.0f, -1.0f, 0.0f);
116 glScalef(2.0f, 2.0f, -2.0f);
121 glScalef(1.0f / aspect, 1.0f, 1.0f);
123 glScalef(1.0f, aspect, 1.0f);
126 glGetFloatv(GL_DEPTH_RANGE, dr);
127 glDepthRange(0, 0.01);
157 glDepthRange(dr[0], dr[1]);
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
static const UChar_t fgYellow[4]
void ProjectionMatrixPushIdentity()
16 component (4x4) transform matrix - column MAJOR as per GL.
static void DrawLine(const TGLLine3 &line, ELineHeadShape head, Double_t size, const UChar_t rgba[4])
Draw thick line (tube) defined by 'line', with head at end shape 'head' - box/arrow/none, (head) size 'size', color 'rgba'.
Short_t Range(Short_t lb, Short_t ub, Short_t x)
static const UChar_t fgRed[4]
const TGLMatrix & RefModelViewMatrix() const
3 component (x/y/z) vertex class.
static void DrawSphere(const TGLVertex3 &position, Double_t radius, const UChar_t rgba[4])
Draw sphere, centered on vertex 'position', with radius 'radius', color 'rgba'.
const UChar_t * CArr() const
Viewport (pixel base) 2D rectangle class.
3 component (x/y/z) vector class.
void ProjectionMatrixPop()
static const UChar_t fgBlue[4]
virtual Bool_t MouseEnter(TGLOvlSelectRecord &selRec)
Mouse has entered overlay area.
virtual Bool_t Handle(TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event)
Handle overlay event.
static const UChar_t fgGreen[4]
Draws arrows showing camera orientation in the overlay.
virtual void MouseLeave()
Mouse has left overlay area.
UInt_t GetItem(Int_t i) const
static constexpr double s
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
TGLCameraGuide(const TGLCameraGuide &)
Selection record for overlay objects.
TGLColorSet & ColorSet()
Return reference to current color-set (top of the stack).
virtual void Render(TGLRnrCtx &rnrCtx)
Render the camera axis arrows.
TGLVector3 GetBaseVec(Int_t b) const