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

vpvertex3d.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........: vpvector3d.h
00008 //  DESCRIPTION.: Contain the VPVector3D class declarations.
00009 //
00010 //  AUTHOR......: Anderson Maciel
00011 //  DATE........: August/22/2000
00012 //  DESCRIPTION.: Classe and methods declaration.
00013 //
00015 
00016 #ifndef __VPVERTEX3D_H
00017 #define __VPVERTEX3D_H
00018 
00019 #include <vppoint3d.h>
00020 #include <vpvector3d.h>
00021 
00022 enum {CL_RED, CL_GREEN, CL_BLUE, CL_APLHA};
00023 
00024 
00026 // Class Name: VPVertex3D
00027 // Superclass: VPPoint3D
00028 // Subclass: -
00030 
00031 class VPVertex3D: public VPPoint3D {
00032     private:
00033         short int color[4]; //Usar CL_RED, CL_GREEN, CL_BLUE e CL_ALPHA como índice
00034         VPVector3D normal;
00035     public:
00036         VPVertex3D ( void );
00037         VPVertex3D( float x, float y, float z);
00038         VPVertex3D( VPVertex3D *v);
00039         VPVertex3D( float x, float y, float z, short int color[4]);
00040         VPVertex3D( float x, float y, float z, VPPoint3D n);
00041         VPVertex3D( float x, float y, float z, short int c[4], VPVector3D n);
00042         short int *vpGetColor( void );
00043         VPVector3D *vpGetNormal( void );
00044         void vpSetColor (short int *c);
00045         void vpSetNormal (VPVector3D *n);
00046 };
00047 
00048 #endif

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