A++ » INCLUDE » TArcBall

class TArcBall

Function Members (Methods)

public:
virtual~TArcBall()
static TClass*Class()
voidClick(const TPoint& NewPt)
voidDrag(const TPoint& NewPt)
const Double_t*GetRotMatrix() const
virtual TClass*IsA() const
voidSetBounds(UInt_t NewWidth, UInt_t NewHeight)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TArcBall(UInt_t NewWidth = 100, UInt_t NewHeight = 100)
protected:
voidMapToSphere(const TPoint& NewPt, Double_t* NewVec) const
private:
TArcBall&operator=(const TArcBall&)
voidResetMatrices()
TArcBall(const TArcBall&)

Data Members

private:
Double_tfAdjustHeightMouse bounds height
Double_tfAdjustWidthMouse bounds width
Double_tfEnVec[3]Saved drag vector
Double_tfLastRot[9]
Double_tfStVec[3]Saved click vector
Double_tfThisRot[9]
Double_tfTransform[16]

Class Charts

Inheritance Chart:
TArcBall

Function documentation

TArcBall(const TArcBall& )
Non-copyable
void ResetMatrices()
void MapToSphere(const TPoint& NewPt, Double_t* NewVec) const
TArcBall(UInt_t NewWidth = 100, UInt_t NewHeight = 100)
virtual ~TArcBall()
{ }
void SetBounds(UInt_t NewWidth, UInt_t NewHeight)
void Click(const TPoint& NewPt)
Mouse down
void Drag(const TPoint& NewPt)
Mouse drag, calculate rotation
const Double_t * GetRotMatrix() const