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)

public:
TGLManipSet()
virtual~TGLManipSet()
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)
private:
TGLManipSet(const TGLManipSet&)
TGLManipSet&operator=(const TGLManipSet&)

Data Members

public:
enum EManip { kTrans
kScale
kRotate
kEndType
};
protected:
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& )
 Constructor.
~TGLManipSet()
 Destructor.
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 change: root/gl:$Id: TGLManipSet.h 26394 2008-11-23 14:35:25Z matevz $
Last generated: 2008-11-24 08:19
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.