library: libRGL
#include "TArcBall.h"

TArcBall


class description - header file - source file
viewCVS header - viewCVS source

class TArcBall

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TArcBall(UInt_t NewWidth = 100, UInt_t NewHeight = 100)
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, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
voidMapToSphere(const TPoint& NewPt, Double_t* NewVec) const
private:
TArcBall(const TArcBall&)
TArcBall&operator=(const TArcBall&)
voidResetMatrices()

Data Members

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

Class Description

void MapToSphere(const TPoint &NewPt, Double_t *NewVec)
map to sphere
TArcBall(UInt_t Width, UInt_t Height)
 constructor
void Click(const TPoint &NewPt)
Mouse down
void Drag(const TPoint &NewPt)
Mouse drag, calculate rotation
void ResetMatrices()
Set rotation matrix as union
TArcBall(const TArcBall &)
Non-copyable
virtual ~TArcBall()
{ }
void SetBounds(UInt_t NewWidth, UInt_t NewHeight)
const Double_t * GetRotMatrix()

Author: Timur Pocheptsov 03/08/2004
Last update: root/gl:$Name: $:$Id: TArcBall.cxx,v 1.11 2006/05/31 07:48:56 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.