library: libRGL
#include "TArcBall.h"

TArcBall


class description - source file - inheritance tree (.pdf)

class TArcBall

Inheritance Chart:
TArcBall
    private:
TArcBall(const TArcBall&) TArcBall& operator=(const TArcBall&) void ResetMatrices() protected:
void MapToSphere(const TPoint& NewPt, Double_t* NewVec) const public:
TArcBall(UInt_t NewWidth, UInt_t NewHeight) virtual ~TArcBall() static TClass* Class() void Click(const TPoint& NewPt) void Drag(const TPoint& NewPt) const Double_t* GetRotMatrix() const virtual TClass* IsA() const void SetBounds(UInt_t NewWidth, UInt_t NewHeight) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Double_t fThisRot[9] Double_t fLastRot[9] Double_t fTransform[16] Double_t fStVec[3] Saved click vector Double_t fEnVec[3] Saved drag vector Double_t fAdjustWidth Mouse bounds width Double_t fAdjustHeight Mouse bounds height

Class Description


TArcBall(UInt_t Width, UInt_t Height) :fThisRot(), fLastRot(), fTransform(), fStVec(), fEnVec(), fAdjustWidth(0.), fAdjustHeight(0.)

void Click(const TPoint &NewPt)
Mouse down

void Drag(const TPoint &NewPt)
Mouse drag, calculate rotation

void ResetMatrices()



Inline Functions


                   void ~TArcBall()
              TArcBall& operator=(const TArcBall&)
                   void MapToSphere(const TPoint& NewPt, Double_t* NewVec) const
               TArcBall TArcBall(UInt_t NewWidth, UInt_t NewHeight)
                   void SetBounds(UInt_t NewWidth, UInt_t NewHeight)
        const Double_t* GetRotMatrix() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)


Author: Timur Pocheptsov 03/08/2004
Last update: root/gl:$Name: $:$Id: TArcBall.cxx,v 1.8 2005/08/30 10:29:52 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *


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.