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 * Alex Lee 00008 * Side Effects 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: Curve Clay Parameter(C++) 00015 * 00016 * COMMENTS: 00017 */ 00018 00019 #ifndef __GU_CurveClay_h__ 00020 #define __GU_CurveClay_h__ 00021 00022 #include "GU_API.h" 00023 class UT_Vector3; 00024 class UT_Vector4; 00025 class GEO_Detail; 00026 class GB_PrimitiveGroup; 00027 00028 enum GU_CurveClayRestType 00029 { 00030 GU_MINIMUM = 0, 00031 GU_PROJECT = 1, 00032 GU_PROFILE = 2 00033 }; 00034 00035 enum GU_CurveClayDeformType 00036 { 00037 GU_CURVE = 0, 00038 GU_DIRECTION = 1, 00039 GU_NORMAL = 2 00040 }; 00041 00042 class GU_API GU_CurveClayParms 00043 { 00044 public: 00045 GU_CurveClayParms(void); 00046 00047 GU_CurveClayRestType restType; 00048 GU_CurveClayDeformType deformType; 00049 00050 UT_Vector3 restDir; 00051 int restDirFNorm; // whether to use face normal 00052 UT_Vector3 deformDir; 00053 00054 int numdivs; 00055 float refinement; 00056 float sharpness; 00057 00058 GEO_Detail *restdp; 00059 GEO_Detail *deformdp; 00060 00061 const GB_PrimitiveGroup *restfaces; 00062 const GB_PrimitiveGroup *deformfaces; 00063 const GB_PrimitiveGroup *surfaces; 00064 00065 float deformLength; 00066 00067 int deforminside; 00068 int individual; 00069 }; 00070 00071 #endif
1.5.9