#ifndef ROOT_TGLRotateManip
#define ROOT_TGLRotateManip
#ifndef ROOT_TGLManip
#include "TGLManip.h"
#endif
#ifndef ROOT_TGLUtil
#include "TGLUtil.h"
#endif
class TGLRotateManip : public TGLManip
{
private:
Bool_t fShallowRing;
Bool_t fShallowFront;
TGLPlane fActiveRingPlane;
TGLVertex3 fActiveRingCenter;
TGLLine3 fRingLine;
TGLLine3 fRingLineOld;
void DrawAxisRing(const TGLVertex3 & origin, const TGLVector3 & axis,
Double_t radius, Float_t rgba[4]) const;
Double_t CalculateAngleDelta(const TPoint & mouse, const TGLCamera & camera);
TGLLine3 CalculateRingLine(const TPoint & mouse, const TGLCamera & camera) const;
public:
TGLRotateManip();
TGLRotateManip(TGLPhysicalShape * shape);
virtual ~TGLRotateManip();
virtual void Draw(const TGLCamera & camera) const;
virtual Bool_t HandleButton(const Event_t & event, const TGLCamera & camera);
virtual Bool_t HandleMotion(const Event_t & event, const TGLCamera & camera, const TGLBoundingBox & sceneBox);
ClassDef(TGLRotateManip,0)
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
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.