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 * Side Effects Software Inc. 00008 * 477 Richmond Street West, Suite 1001 00009 * Toronto, Ontario 00010 * Canada M5V 3E7 00011 * 416-504-9876 00012 */ 00013 00014 #ifndef __SIM_RelationshipSource_h__ 00015 #define __SIM_RelationshipSource_h__ 00016 00017 #include "SIM_API.h" 00018 #include "SIM_RelationshipData.h" 00019 00020 /// This class defines a source relationship between objects. Source 00021 /// relationships are useful for solvers that generate some physical 00022 /// entity as part of the solve process. An example of this would be 00023 /// the fluid solver which may use another DOP object as a fluid source 00024 /// to generate new fluid. Another example is the HDK sample Snow 00025 /// solver or Hair solver which generate snow and hair using a source 00026 /// object. 00027 class SIM_API SIM_RelationshipSource : public SIM_RelationshipData 00028 { 00029 protected: 00030 explicit SIM_RelationshipSource(const SIM_DataFactory *factory); 00031 virtual ~SIM_RelationshipSource(); 00032 00033 private: 00034 static const SIM_DopDescription *getSourceDopDescription(); 00035 00036 DECLARE_STANDARD_GETCASTTOTYPE(); 00037 DECLARE_DATAFACTORY(SIM_RelationshipSource, 00038 SIM_RelationshipData, 00039 "Source Relationship", 00040 getSourceDopDescription()); 00041 }; 00042 00043 #endif 00044
1.5.9