22#include "TGLIncludes.h"
170 glDisable(GL_LIGHTING);
172 glEnable(GL_LIGHTING);
int Int_t
Signed integer 4 bytes (int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
void MouseLeave() override
Mouse has left the element.
Bool_t Handle(TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event) override
Handle overlay event.
TGLManip * fManip[3]
! manipulator store
Bool_t MouseEnter(TGLOvlSelectRecord &selRec) override
Mouse has entered this element.
EManip fType
! current manipulator
void SetManipType(Int_t type)
Set manipulator type, range checked.
Bool_t fDrawBBox
! also draw bounding-box around physical
void Render(TGLRnrCtx &rnrCtx) override
Render the manipulator and bounding-box.
~TGLManipSet() override
Destructor.
TGLManip * GetCurrentManip() const
void SetPShape(TGLPhysicalShape *shape) override
Set phys-shape, override of virtual from TGLPShapeRef.
Abstract base class for viewer manipulators, which allow direct in viewer manipulation of a (TGlPhysi...
void SetSelectedWidget(UInt_t s)
UInt_t GetSelectedWidget() const
virtual Bool_t HandleButton(const Event_t &event, const TGLCamera &camera)
Handle a mouse button event - return kTRUE if processed, kFALSE otherwise.
virtual Bool_t HandleMotion(const Event_t &event, const TGLCamera &camera)
Handle a mouse button event - return kTRUE if widget selection change kFALSE otherwise.
TGLOverlayElement(const TGLOverlayElement &)=delete
Selection record for overlay objects.
virtual void SetPShape(TGLPhysicalShape *shape)
Set the shape.
TGLPhysicalShape * fPShape
friend class TGLPhysicalShape
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
UInt_t GetEventKeySym() const
TGLColorSet & ColorSet()
Return reference to current color-set (top of the stack).
Rotate manipulator - attaches to physical shape and draws local axes widgets - rings drawn from attac...
Scale manipulator - attaches to physical shape and draws local axes widgets with box heads.
UInt_t GetCurrItem() const
Translation manipulator - attaches to physical shape and draws local axes widgets with arrow heads.
static void SetDrawQuality(UInt_t dq)
static: set draw quality
static void ResetDrawQuality()
static: reset draw quality
static void Color(const TGLColor &color)
Set color from TGLColor.
EGEventType fType
of event (see EGEventType)