class TGLManipSet: public TGLOverlayElement, public TGLPShapeRef


 Combine all available manipulators in a collection.

 At first I wanted to merge them back into TGLManip (to have a
 single class) but then it seemed somehow messy.
 Maybe next time.

Function Members (Methods)

static TClass*Class()
TGLManip*GetCurrentManip() const
Bool_tGetDrawBBox() const
Int_tGetManipType() const
TGLPhysicalShape*TGLPShapeRef::GetPShape() const
virtual Bool_tHandle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event)
virtual TClass*IsA() const
virtual Bool_tMouseEnter(TGLOvlSelectRecord& selRec)
virtual voidMouseLeave()
virtual Bool_tTGLOverlayElement::MouseStillInside(TGLOvlSelectRecord& selRec)
virtual voidTGLPShapeRef::PShapeModified()
virtual voidRender(TGLRnrCtx& rnrCtx)
voidSetDrawBBox(Bool_t bb)
voidSetManipType(Int_t type)
virtual voidSetPShape(TGLPhysicalShape* shape)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
TGLManipSet(const TGLManipSet&)
TGLManipSet&operator=(const TGLManipSet&)

Data Members

enum EManip { kTrans
Bool_tfDrawBBox! also draw bounding-box around physical
TGLManip*fManip[3]! manipulator store
TGLPhysicalShape*TGLPShapeRef::fPShapePointer to referenced physical shape.
TGLManipSet::EManipfType! current manipulator

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLManipSet(const TGLManipSet& )
void SetPShape(TGLPhysicalShape* shape)
 Set phys-shape, override of virtual from TGLPShapeRef.
 Forward to all managed manipulators.
Bool_t MouseEnter(TGLOvlSelectRecord& selRec)
 Mouse has enetered this element.
 Always accept.
Bool_t Handle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event)
 Handle overlay event.
 Return TRUE if event was handled.
void MouseLeave()
 Mouse has left the element.
void Render(TGLRnrCtx& rnrCtx)
 Render the manipulator and bounding-box.
void SetManipType(Int_t type)
 Set manipulator type, range checked.
TGLManipSet(const TGLManipSet& )
TGLManipSet& operator=(const TGLManipSet& )
TGLManip* GetCurrentManip()
{ return fManip[fType]; }
Int_t GetManipType()
{ return fType; }
Bool_t GetDrawBBox()
{ return fDrawBBox; }
void SetDrawBBox(Bool_t bb)
{ fDrawBBox = bb; }

Author: Matevz Tadel, Feb 2007
Last update: root/gl:$Id: TGLManipSet.h 20882 2007-11-19 11:31:26Z rdm $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.