22#include "TGLIncludes.h"
78 manip->SetSelectedWidget(0);
96 return manip->HandleButton(*event,
rnrCtx.RefCamera());
105 if (
manip->GetActive())
106 return manip->HandleMotion(*event,
rnrCtx.RefCamera());
107 if (
selRec.GetCurrItem() !=
manip->GetSelectedWidget())
116 switch (
rnrCtx.GetEventKeySym())
145 manip->SetSelectedWidget(0);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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...
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...
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.
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)