23 Double_t fTransform[16];
26 Double_t fAdjustWidth;
27 Double_t fAdjustHeight;
29 TArcBall(
const TArcBall &);
30 TArcBall & operator = (
const TArcBall &);
33 void MapToSphere(
const TPoint &NewPt, Double_t *NewVec)
const;
35 TArcBall(UInt_t NewWidth = 100, UInt_t NewHeight = 100);
36 virtual ~TArcBall() { }
38 void SetBounds(UInt_t NewWidth, UInt_t NewHeight)
40 fAdjustWidth = 1.0f / ((NewWidth - 1.) * 0.5);
41 fAdjustHeight = 1.0f / ((NewHeight - 1.) * 0.5);
44 void Click(
const TPoint &NewPt);
46 void Drag(
const TPoint &NewPt);
47 const Double_t *GetRotMatrix()
const