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 * Rob Bairos 00008 * Side Effects 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: align parameters (C++) 00015 * 00016 * COMMENTS: 00017 */ 00018 00019 #ifndef __GU_AlignParms_h__ 00020 #define __GU_AlignParms_h__ 00021 00022 #include "GU_API.h" 00023 #include <UT/UT_Matrix4.h> 00024 00025 class GB_PrimitiveGroup; 00026 class GEO_Primitive; 00027 00028 class GU_API GU_AlignParms 00029 { 00030 public: 00031 00032 GU_AlignParms(); 00033 ~GU_AlignParms(); 00034 00035 float bias; // which prim to alter 00036 00037 float lu, lv; // which point/segment to align 00038 float ru, rv; 00039 float ruend, rvend; 00040 00041 int individual; // align each separately else 00042 // follow the first prim 00043 00044 int dotrans; // align position 00045 int dorotate; // align orientation 00046 00047 UT_Matrix4 postxform; // Transform prims after alignment 00048 00049 const GEO_Primitive *auxprim; // what to align to (optional) 00050 // note this may belong to another 00051 // detail object altogether but 00052 // only positions and derivatives 00053 // are calculated from it. ie. 00054 // no attributes 00055 00056 GB_PrimitiveGroup *primGroup; 00057 00058 }; 00059 00060 #endif
1.5.9