8 #ifndef __SIM_PhysicalParms_h__
9 #define __SIM_PhysicalParms_h__
103 return myQueue.get();
115 const char *attribname,
212 myUseSDF = usesdfhistory;
213 myUseGeo = usegeohistory;
214 myIntegrate = integrateovertime;
307 "Physical Parameters",
308 getPhysicalParmsDopDescription());
fpreal getF(const UT_Vector3 &pos) override
UT_DMatrix4 myOldGdpToGeo
#define DECLARE_STANDARD_GETCASTTOTYPE()
KDPQueuePtr & operator=(const KDPQueuePtr ©)=delete
OIIO_UTIL_API bool copy(string_view from, string_view to, std::string &err)
UT_DMatrix4 myNewGdpToGeo
KDPQueuePtr(const KDPQueuePtr &)
virtual ~SIM_PropertyResolver()
This class contains physical attributes that apply to all objects.
virtual UT_Vector3 getV3(const UT_Vector3 &pos)=0
virtual bool threadsafe() const
SIM_PropertyResolverConstant(UT_Vector3 v)
#define SIM_NAME_TEMPERATURE
UT_DMatrix3 myGeoVelToWorld
#define GETSET_DATA_FUNCS_F(DataName, FuncName)
GU_ConstDetailHandle myGdpHandle
SIM_PropertyResolver * copy() const override
Duplicates this.
GU_ConstDetailHandle myGdpHandle
SIM_PropertyResolver * copy() const override
Duplicates this.
SIM_PropertyResolver * copy() const override
Duplicates this.
GA_ROHandleF myMassAttrib
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
virtual ~SIM_PointImpulseMassMatrixResolver()
SIM_Detail::KDPQueuePtr myQueue
fpreal getF(const UT_Vector3 &pos) override
SIM_PropertyResolverVelAtPosition(const SIM_Object *obj, bool usesdfhistory, bool usegeohistory, fpreal integrateovertime)
bool threadsafe() const override
Sometimes despite our best efforts the lookup isn't threadsafe.
virtual bool threadsafe() const
Sometimes despite our best efforts the lookup isn't threadsafe.
SIM_PropertyResolver * copy() const override
Duplicates this.
ut_KDPQueue * operator->() const noexcept
SIM_PropertyResolverConstant(fpreal v)
UT_UniquePtr< ut_KDPQueue, ut_KDPQueueDeleter > ut_KDPQueuePtr
GU_ConstDetailHandle myGdpHandle
virtual SIM_PropertyResolver * copy() const =0
Duplicates this.
fpreal getF(const UT_Vector3 &pos) override
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
SIM_Detail::KDPQueuePtr myQueue
#define SIM_NAME_FRICTION
#define SIM_NAME_DYNAMICFRICTION
GEO_PointTree * myPointTree
const SIM_Solver * mySolver
UT_Vector3 getV3(const UT_Vector3 &pos) override
virtual fpreal getF(const UT_Vector3 &pos)=0
GA_API const UT_StringHolder pivot
bool threadsafe() const override
const SIM_Object * myObject
SIM_PointImpulseMassMatrixResolver(const SIM_Solver *solver, const SIM_Object *obj)
GEO_PointTree * myPointTree
ut_KDPQueue & operator*() const
This class holds a three dimensional vector field.
#define SIM_NAME_BOUNCEFORWARD
const SIM_Object * myObject
const GU_Detail * myOldGdp
GU_ConstDetailHandle myOldGdh
fpreal getF(const UT_Vector3 &pos) override
constexpr SYS_FORCE_INLINE T & x() noexcept