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 * 123 Front Street West, Suite 1401 00009 * Toronto, Ontario 00010 * Canada M5J 2M2 00011 * 416-504-9876 00012 */ 00013 00014 #ifndef __SIM_ConAnchorObjSpacePos_h__ 00015 #define __SIM_ConAnchorObjSpacePos_h__ 00016 00017 #include "SIM_API.h" 00018 #include "SIM_ConAnchorObjSpatial.h" 00019 00020 class SIM_API SIM_ConAnchorObjSpacePos : public SIM_ConAnchorObjSpatial 00021 { 00022 protected: 00023 explicit SIM_ConAnchorObjSpacePos(const SIM_DataFactory *f); 00024 virtual ~SIM_ConAnchorObjSpacePos(); 00025 00026 virtual void initParmsFromWorldSpacePositionSubclass( 00027 const UT_Vector3 &worldspacepos, 00028 const SIM_Object *object); 00029 virtual UT_Vector3 getPositionSubclass(const SIM_Time &time) const; 00030 virtual UT_Vector3 getVelocitySubclass(const SIM_Time &time) const; 00031 00032 private: 00033 static const SIM_DopDescription *getDopDescription(); 00034 00035 DECLARE_STANDARD_GETCASTTOTYPE(); 00036 DECLARE_DATAFACTORY(SIM_ConAnchorObjSpacePos, 00037 SIM_ConAnchorObjSpatial, 00038 "Anchor: Object Space Position", 00039 getDopDescription()); 00040 }; 00041 00042 #endif
1.5.9