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 * Dale Ducharme 00008 * Side Effects Software Inc. 00009 * 20 Maud St. 00010 * Toronto, Ontario, M5V 2M5 00011 * Canada 00012 * 416-366-4607 00013 * 00014 * NAME: Geometry Utility Library (C++) 00015 * 00016 * COMMENTS: GU_Magnet.h 00017 * 00018 */ 00019 00020 #include "GU_API.h" 00021 #include <UT/UT_XformOrder.h> 00022 class GU_Detail; 00023 00024 class GB_BaseGroup; 00025 00026 class GU_API GU_MagnetParms 00027 { 00028 public: 00029 const GU_Detail *source; // the source geometry 00030 GU_Detail *magnet; // the magnet geometry 00031 UT_XformOrder order; // deformation transform order 00032 float tx, ty, tz; // translate value 00033 float rx, ry, rz; // rotate value 00034 float sx, sy, sz; // scale value 00035 float px, py, pz; // pivot point 00036 int position; // affect position 00037 int color; // affect color 00038 bool clampColor; // clamp affected color 0..1 00039 int normals; // affect normals 00040 int velocity; // affect velocity 00041 const GB_BaseGroup *sourceGroup; // source geometry to deform 00042 const GB_PrimitiveGroup *magnetGroup; // source magnets 00043 };
1.5.9