40 fAdjustWidth = 1.0f / ((NewWidth - 1.) * 0.5);
41 fAdjustHeight = 1.0f / ((NewHeight - 1.) * 0.5);
void Click(const TPoint &NewPt)
Mouse down.
const Double_t * GetRotMatrix() const
TArcBall & operator=(const TArcBall &)
#define ClassDef(name, id)
void Drag(const TPoint &NewPt)
Mouse drag, calculate rotation.
TArcBall(const TArcBall &)
void ResetMatrices()
Set rotation matrix as union.
Implements the arc-ball rotation manipulator.
void SetBounds(UInt_t NewWidth, UInt_t NewHeight)
void MapToSphere(const TPoint &NewPt, Double_t *NewVec) const
map to sphere