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 * Luke Moore 00008 * Side Effects 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: subdivided surfaces (C++) 00015 * 00016 * COMMENTS: 00017 */ 00018 00019 #ifndef __GQ_Subdivide_h__ 00020 #define __GQ_Subdivide_h__ 00021 00022 #include "GQ_API.h" 00023 enum GQ_DivideChoice 00024 { 00025 GQ_NO_DIVISION, 00026 GQ_DIVIDE_EDGES, 00027 GQ_TRIANGULATE 00028 }; 00029 00030 class GQ_API GQ_SubdivideParms 00031 { 00032 public: 00033 GQ_SubdivideParms() 00034 { 00035 iterations = 1; 00036 pullHoles = true; 00037 bias = 1; 00038 stitchHoles = false; 00039 divideChoice = GQ_DIVIDE_EDGES; 00040 smoothvertex = true; 00041 consistentTopology = false; 00042 linearCreases = false; 00043 } 00044 00045 int iterations; 00046 int pullHoles; 00047 float bias; 00048 int stitchHoles; 00049 GQ_DivideChoice divideChoice; 00050 int smoothvertex; 00051 bool consistentTopology; 00052 bool linearCreases; 00053 }; 00054 00055 #endif
1.5.9