Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

vuArcBall.h

Go to the documentation of this file.
00001 
00002 #ifndef _VUARCBALL_H_
00003 #define _VUARCBALL_H_
00004 
00005 #include "vuCamera.h"
00006 
00008 
00013 class vuArcBall
00014 {
00015  public:
00017     vuArcBall();
00018 
00020     void attachCamera(vuCamera & camera);
00021 
00023 
00026     void setWinSize(int maxX, int maxY);
00027 
00029     void setCenter(vuVector & center);
00030 
00032 
00035     void turn(int ox,int oy,int nx,int ny);
00036     
00037  protected:
00039     vuVector spherePoint(int px,int py); //
00040 
00041     int m_Winx; 
00042     int m_Winy; 
00043     vuVector m_Center; 
00044     vuCamera *m_Camera; 
00045 };
00046 
00047 #endif

Generated on Wed Dec 15 21:20:33 2004 for vuVolume by  doxygen 1.3.9.1