172 glDisable(GL_LIGHTING);
174 glEnable(GL_LIGHTING);
UInt_t GetCurrItem() const
Abstract base class for viewer manipulators, which allow direct in viewer manipulation of a (TGlPhysi...
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
virtual void Draw(const TGLCamera &camera) const =0
static void Color(const TGLColor &color)
Set color from TGLColor.
UInt_t GetEventKeySym() const
const TGLBoundingBox & BoundingBox() const
virtual void SetPShape(TGLPhysicalShape *shape)
Set phys-shape, override of virtual from TGLPShapeRef.
virtual Bool_t HandleButton(const Event_t &event, const TGLCamera &camera)
Handle a mouse button event - return kTRUE if processed, kFALSE otherwise.
virtual void MouseLeave()
Mouse has left the element.
void SetSelectedWidget(UInt_t s)
Combine all available manipulators in a collection.
Scale manipulator - attaches to physical shape and draws local axes widgets with box heads...
Concrete physical shape - a GL drawable.
UInt_t GetSelectedWidget() const
Bool_t fDrawBBox
current manipulator
virtual Bool_t MouseEnter(TGLOvlSelectRecord &selRec)
Mouse has entered this element.
void Draw(Bool_t solid=kFALSE) const
Draw the bounding box as either wireframe (default) of solid using current GL color.
Rotate manipulator - attaches to physical shape and draws local axes widgets - rings drawn from attac...
virtual Bool_t Handle(TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event)
Handle overlay event.
virtual void SetPShape(TGLPhysicalShape *shape)
Set the shape.
virtual void Render(TGLRnrCtx &rnrCtx)
Render the manipulator and bounding-box.
void SetManipType(Int_t type)
Set manipulator type, range checked.
TGLPhysicalShape * fPShape
static void ResetDrawQuality()
static: reset draw quality
TGLManipSet()
also draw bounding-box around physical
static void SetDrawQuality(UInt_t dq)
static: set draw quality
TGLManip * GetCurrentManip() const
virtual Bool_t HandleMotion(const Event_t &event, const TGLCamera &camera)
Handle a mouse button event - return kTRUE if widget selection change kFALSE otherwise.
Selection record for overlay objects.
TGLColorSet & ColorSet()
Return reference to current color-set (top of the stack).
EManip fType
manipulator store
virtual ~TGLManipSet()
Destructor.
Translation manipulator - attaches to physical shape and draws local axes widgets with arrow heads...