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_ConRelHard_h__ 00015 #define __SIM_ConRelHard_h__ 00016 00017 #include "SIM_API.h" 00018 #include "SIM_OptionsUser.h" 00019 #include "SIM_ConRel.h" 00020 00021 /// The simplest type of constraint: forcing the geometry to exactly match 00022 /// the anchor position and/or orientation. 00023 class SIM_API SIM_ConRelHard : public SIM_ConRel 00024 { 00025 protected: 00026 explicit SIM_ConRelHard(const SIM_DataFactory *factory); 00027 virtual ~SIM_ConRelHard(); 00028 00029 virtual void setStateForceSubclass(fpreal force); 00030 virtual fpreal getStateForceSubclass() const; 00031 00032 private: 00033 static const SIM_DopDescription *getConRelHardDopDescription(); 00034 00035 fpreal myStateForce; 00036 00037 DECLARE_STANDARD_GETCASTTOTYPE(); 00038 DECLARE_DATAFACTORY(SIM_ConRelHard, 00039 SIM_ConRel, 00040 "Hard Constraint Relationship", 00041 getConRelHardDopDescription()); 00042 }; 00043 00044 #endif
1.5.9