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

vprotation.h

Go to the documentation of this file.
00001 
00002 //
00003 //  PROJECT.....: vpat - Creating Virtual Patients
00004 //  RESPONSIBLE.: Carla Freitas e Luciana Nedel
00005 //
00006 //  FILE........: vprotation.h
00007 //  DESCRIPTION.: Contain the VPRotation class declarations.
00008 //
00009 //  AUTHOR......: Fernando Sola Pereira
00010 //  DATE........: January/23/2001
00011 //  DESCRIPTION.: Class declarations.
00012 //
00013 //  AUTHOR......: Isabel Harb Manssour
00014 //  DATE........: March/01/2001
00015 //  DESCRIPTION.: File and variables rename.
00016 //
00018 
00019 
00020 #ifndef __VPROTATION_H
00021 #define __VPROTATION_H
00022 
00023 
00024 class VPRotation {
00025     private:
00026         // rotation values 
00027         float positionX, positionY;
00028         float previousPositionX, previousPositionY;
00029         float angleX, angleY;
00030     public:
00031         VPRotation();
00032         
00033         void vpSetPositionX (float v);
00034         void vpSetPositionY (float v);
00035         void vpSetPreviousPositionX (float v);
00036         void vpSetPreviousPositionY (float v);
00037         void vpSetAngleX (float v);
00038         void vpSetAngleY (float v);
00039 
00040         float vpGetPositionX ();
00041         float vpGetPositionY ();
00042         float vpGetPreviousPositionX ();
00043         float vpGetPreviousPositionY ();
00044         float vpGetAngleX ();
00045         float vpGetAngleY ();
00046         
00047         void vpSetRotation (float posX,float posY,float posAntX,
00048                      float posAntY,float angleX,float angleY);
00049         
00050         void vpGetRotation (float &pos_X,float &pos_Y,float &posAnt_X,
00051                      float &posAnt_Y,float &angle_X,float &angle_Y);
00052 };
00053 
00054 #endif  // __VPROTATION_H

Generated on Tue Sep 6 10:00:06 2005 for VPAT by  doxygen 1.4.4