16#include "TGLIncludes.h"
36 fSelAxis(-1), fInDrag(
kFALSE)
82 if (
vp.Width() == 0 ||
vp.Height() == 0)
return kFALSE;
112 rnrCtx.ProjectionMatrixPushIdentity();
160 rnrCtx.ProjectionMatrixPop();
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Draws arrows showing camera orientation in the overlay.
void Render(TGLRnrCtx &rnrCtx) override
Render the camera axis arrows.
Bool_t MouseEnter(TGLOvlSelectRecord &selRec) override
Mouse has entered overlay area.
void MouseLeave() override
Mouse has left overlay area.
TGLCameraGuide(const TGLCameraGuide &)=delete
Bool_t Handle(TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event) override
Handle overlay event.
16 component (4x4) transform matrix - column MAJOR as per GL.
TGLVector3 GetBaseVec(Int_t b) const
Selection record for overlay objects.
Viewport (pixel base) 2D rectangle class.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
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'.
static const UChar_t fgRed[4]
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,...
static const UChar_t fgBlue[4]
static const UChar_t fgGreen[4]
static const UChar_t fgYellow[4]
3 component (x/y/z) vector class.
3 component (x/y/z) vertex class.
Short_t Range(Short_t lb, Short_t ub, Short_t x)
Returns x if lb < x < up, lb if x < lb and ub if x > ub.
EGEventType fType
of event (see EGEventType)
Int_t fY
pointer x, y coordinates in event window