PolygonMesh.h

Go to the documentation of this file.
00001 /* $Id: PolygonMesh.h,v 1.3 2002/12/06 11:22:43 cvs Exp $ */
00002 
00003 #ifndef __POLYGON_MESH_H
00004 #define __POLYGON_MESH_H
00005 
00006 #include <esg/Definitions.h>
00007 #include <esg/mesh/Mesh.h>
00008 
00009 /*
00010  * Mesh of single polygon (not polygonal mesh)
00011  */
00012 
00013 namespace esg {
00014 
00015 class OGSCENE_EXPORT PolygonMesh : public Mesh {
00016 public:
00017   PolygonMesh (const Vertex3  [], // Array of verteces coordinates
00018                const unsigned [], // Array of verteces indices
00019                int,               // Number of vertices
00020                const Vector3 [],  // Array of vertex normals (can be NULL)
00021                const unsigned [], // Array of indices to this array (NULL)
00022                const Vector3&,    // Normal vector
00023                float);            // D in eq. a*x+b*y+c*z+D=0
00024   
00025   virtual Solid* cut(float ar, float br, float cr, float dr);
00026 };
00027 
00028 }; // namespace
00029 
00030 #endif //__POLYGON_MESH_H

Generated on Wed Jun 28 12:24:28 2006 for esg by  doxygen 1.4.6