22#include "TGLIncludes.h"
171 glDisable(GL_LIGHTING);
173 glEnable(GL_LIGHTING);
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.
virtual Bool_t Handle(TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event)
Handle overlay event.
virtual ~TGLManipSet()
Destructor.
virtual Bool_t MouseEnter(TGLOvlSelectRecord &selRec)
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
virtual void MouseLeave()
Mouse has left the element.
virtual void SetPShape(TGLPhysicalShape *shape)
Set phys-shape, override of virtual from TGLPShapeRef.
TGLManip * GetCurrentManip() const
virtual void Render(TGLRnrCtx &rnrCtx)
Render the manipulator and bounding-box.
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)