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 * Jeff Lait 00008 * Side Effects 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: trim fillet (C++) 00015 * 00016 * COMMENTS: 00017 */ 00018 00019 #ifndef __GU_TrimFillet_h__ 00020 #define __GU_TrimFillet_h__ 00021 00022 #include "GU_API.h" 00023 #include <UT/UT_PtrArray.h> 00024 #include <UT/UT_IntArray.h> 00025 #include <UT/UT_FloatArray.h> 00026 00027 class GD_Face; 00028 class GD_TrimLoop; 00029 class GEO_Face; 00030 00031 class GU_API GU_TrimFilletParms 00032 { 00033 public: 00034 GU_TrimFilletParms(int curves); 00035 ~GU_TrimFilletParms(); 00036 00037 int order; 00038 int numcurves; 00039 int usecurvature; 00040 int circularfillet; 00041 int usegordon; 00042 00043 UT_PtrArray<GD_TrimLoop *> loop; 00044 UT_PtrArray<GD_Face *> face; 00045 UT_PtrArray<GEO_Face *> gface; 00046 00047 UT_FloatArray width1, width2; 00048 00049 // Scale factors for tangents: 00050 UT_FloatArray scaletangents; 00051 UT_IntArray normalizetangents; 00052 UT_FloatArray scalecurvature; 00053 UT_IntArray normalizecurvature; 00054 UT_IntArray fliptangents; 00055 UT_IntArray usefrenet; 00056 UT_FloatArray theta; 00057 00058 int divisions; 00059 int extractdiv; 00060 int keepsharp; 00061 float fittol; 00062 }; 00063 00064 00065 #endif
1.5.9