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 * 00008 * Michiel Hagedoorn 00009 * Side Effects Software Inc. 00010 * 123 Front Street West, Suite 1401 00011 * Toronto, Ontario 00012 * Canada M5J 2M2 00013 * 416-504-9876 00014 * 00015 * This class holds the cloth collision properties for a cloth object. 00016 * The collision properties can be adjusted on a finer scale using 00017 * attributes that scale the per-object values stored here. 00018 * 00019 */ 00020 00021 #ifndef __CLO_CollisionProperties_h__ 00022 #define __CLO_CollisionProperties_h__ 00023 00024 #include "CLO_API.h" 00025 #include <SIM/SIM_DataUtils.h> 00026 #include <SIM/SIM_OptionsUser.h> 00027 #include <SIM/SIM_DopDescription.h> 00028 #include "CLO_Names.h" 00029 00030 class CLO_API CLO_CollisionProperties : public SIM_Data, public SIM_OptionsUser 00031 { 00032 public: 00033 explicit CLO_CollisionProperties(const SIM_DataFactory* factory); 00034 virtual ~CLO_CollisionProperties(); 00035 00036 GETSET_DATA_FUNCS_B(CLO_NAME_COLLIDE_EXTERNAL, CollideExternal); 00037 GETSET_DATA_FUNCS_B(CLO_NAME_COLLIDE_CLOTH, CollideCloth); 00038 GETSET_DATA_FUNCS_B(CLO_NAME_COLLIDE_SELF, CollideSelf); 00039 00040 GETSET_DATA_FUNCS_F(CLO_NAME_THICKNESS, Thickness) 00041 00042 private: 00043 static const SIM_DopDescription* getCollisionPropertiesDopDescription(); 00044 00045 DECLARE_STANDARD_GETCASTTOTYPE(); 00046 DECLARE_DATAFACTORY(CLO_CollisionProperties, SIM_Data, 00047 "Cloth Collision Properties", 00048 getCollisionPropertiesDopDescription()); 00049 }; 00050 00051 #endif
1.5.9