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

vpface.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........: vpface.h
00008 //  DESCRIPTION.: Contain the VPFace class declarations.
00009 //
00010 //  AUTHOR......: Julierme Krüger Gaviăo
00011 //  DATE........: June/07/2000
00012 //  DESCRIPTION.: Class and methods declaration.
00013 //
00014 //  AUTHOR......: Anderson Maciel
00015 //  DATE........: August/22/2000
00016 //  DESCRIPTION.: Class standarization.
00017 //
00019 
00020 #ifndef __VPFACE_H              // Verify previous includes of vpmesh.h header
00021 #define __VPFACE_H
00022 
00023 #include <vpvertex3d.h>
00024 #include <vpvector3d.h>
00025 #include <vpedge.h>
00026 #include <list> //STL include
00027 using namespace std;
00028 
00029 //-----------------------------------------------------------------------
00030 // V P F A C E
00031 //-----------------------------------------------------------------------
00032 
00034 // Class Name: VPFace
00035 // Superclass: -
00036 // Subclass: -
00038 
00039 class VPFace {
00040     private:
00041         list<VPVertex3D> vertices;
00042         list<VPEdge> edges;
00043         VPPoint3D normal;
00044         short int color[4]; //Usar CL_RED, CL_GREEN, CL_BLUE e CL_ALPHA como índice
00045     public:
00046         VPFace ( void );
00047         VPFace (int numvertices, VPVertex3D* ...);
00048         VPFace (int numedges, VPEdge* ...); //Variable number of vertices and edges
00049         VPFace (list<VPVertex3D> *v);
00050         VPFace (list<VPEdge> *e);
00051         short int *vpGetColor( void );
00052         VPVector3D *vpGetNormal( void );
00053         void vpSetColor (short int *c);
00054         void vpSetNormal (VPVector3D *n);
00055 };
00056 
00057 #endif

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