00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Mark Elendt 00008 * Side Effects Software Inc. 00009 * 20 Maud St. 00010 * Toronto, Ontario, M5V 2M5 00011 * Canada 00012 * 416-366-4607 00013 * 00014 * NAME: Geometry Library (C++) 00015 * 00016 * COMMENTS: 00017 * This class is used as a base class for all patch types supported. 00018 * The vertex list management is handled by this class, however, all 00019 * other function should be handled by the subclass. 00020 * The insertRow and insertCol are meant to be virtual since it 00021 * may be possible for the patch type to insert a row or column 00022 * without distorting the shape of the patch (as in NURBs or MESH) 00023 * 00024 */ 00025 00026 #ifndef __GEO_SurfaceType_H__ 00027 #define __GEO_SurfaceType_H__ 00028 00029 enum GEO_SurfaceType { 00030 GEO_PATCH_ROWS = 0, // Just the rows 00031 GEO_PATCH_COLS = 1, // Just the columns 00032 GEO_PATCH_ROWCOL = 2, // Both rows and columns 00033 GEO_PATCH_TRIANGLE = 3, // Solid surface of triagles 00034 GEO_PATCH_QUADS = 4, // Solid surface of quads 00035 GEO_PATCH_ALTTRIANGLE = 5, // Triangles but common corners 00036 GEO_PATCH_REVTRIANGLE = 6, // Triangles but opposite direction 00037 GEO_PATCH_NUMTYPES // Number of patch types 00038 }; 00039 00040 #endif
1.5.9