#ifndef ROOT_TGLManipSet
#define ROOT_TGLManipSet
#include <TObject.h>
#include "TGLOverlay.h"
#include "TGLPShapeRef.h"
class TGLManip;
class TGLManipSet : public TGLOverlayElement,
public TGLPShapeRef
{
public:
enum EManip { kTrans, kScale, kRotate, kEndType };
private:
TGLManipSet(const TGLManipSet&);
TGLManipSet& operator=(const TGLManipSet&);
protected:
TGLManip *fManip[3];
EManip fType;
Bool_t fDrawBBox;
public:
TGLManipSet();
virtual ~TGLManipSet();
virtual void SetPShape(TGLPhysicalShape* shape);
virtual Bool_t MouseEnter(TGLOvlSelectRecord& selRec);
virtual Bool_t Handle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec,
Event_t* event);
virtual void MouseLeave();
virtual void Render(TGLRnrCtx& rnrCtx);
TGLManip* GetCurrentManip() const { return fManip[fType]; }
Int_t GetManipType() const { return fType; }
void SetManipType(Int_t type);
Bool_t GetDrawBBox() const { return fDrawBBox; }
void SetDrawBBox(Bool_t bb) { fDrawBBox = bb; }
ClassDef(TGLManipSet, 0);
};
#endif
Last change: Mon Nov 24 08:19:15 2008
Last generated: 2008-11-24 08:19
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.