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

vptranslation.h

Go to the documentation of this file.
00001 //deprecated
00003 //
00004 //  PROJECT.....: vpat - Creating Virtual Patients
00005 //  RESPONSIBLE.: Carla Freitas e Luciana Nedel
00006 //
00007 //  FILE........: vptranslation.h
00008 //  DESCRIPTION.: Contain the VPTranslation class declarations.
00009 //
00010 //  AUTHOR......: Fernando Sola Pereira
00011 //  DATE........: January/23/2001
00012 //  DESCRIPTION.: Class declarations.
00013 //
00014 //  AUTHOR......: Isabel Harb Manssour
00015 //  DATE........: March/01/2001
00016 //  DESCRIPTION.: File and variables rename.
00017 //
00019 
00020 
00021 #ifndef __VPTRANSLATION_H
00022 #define __VPTRANSLATION_H
00023 
00024 
00025 
00026 class VPTranslation {
00027     private:
00028         // translation values 
00029         float positionX, positionY;
00030         float previousPositionX, previousPositionY;
00031         float deltaX, deltaY;
00032     public:
00033         VPTranslation();
00034         
00035         void vpSetPositionX (float v);
00036         void vpSetPositionY (float v);
00037         void vpSetPreviousPositionX (float v);
00038         void vpSetPreviousPositionY (float v);
00039         void vpSetDeltaX (float v);
00040         void vpSetDeltaY (float v);
00041 
00042         float vpGetPositionX ();
00043         float vpGetPositionY ();
00044         float vpGetPreviousPositionX ();
00045         float vpGetPreviousPositionY ();
00046         float vpGetDeltaX ();
00047         float vpGetDeltaY ();
00048         
00049         void vpSetTranslation (float posX,float posY,float posAntX,
00050                      float posAntY,float dX,float dY);
00051         
00052         void vpGetTranslation (float &pos_X,float &pos_Y,float &posAnt_X,
00053                      float &posAnt_Y,float &dX,float &dY);
00054 };
00055 
00056 #endif  // __VPTRANSLATION_H

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