22#include "TGLIncludes.h"
171 glDisable(GL_LIGHTING);
173 glEnable(GL_LIGHTING);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
void Draw(Bool_t solid=kFALSE) const
Draw the bounding box as either wireframe (default) of solid using current GL color.
Combine all available manipulators in a collection.
void MouseLeave() override
Mouse has left the element.
Bool_t Handle(TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event) override
Handle overlay event.
Bool_t MouseEnter(TGLOvlSelectRecord &selRec) override
Mouse has entered this element.
EManip fType
manipulator store
void SetManipType(Int_t type)
Set manipulator type, range checked.
TGLManipSet()
also draw bounding-box around physical
Bool_t fDrawBBox
current manipulator
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.
virtual void Draw(const TGLCamera &camera) const =0
Selection record for overlay objects.
virtual void SetPShape(TGLPhysicalShape *shape)
Set the shape.
TGLPhysicalShape * fPShape
Concrete physical shape - a GL drawable.
const TGLBoundingBox & BoundingBox() const
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)