SIM_ForceResolverGeneric Class Reference

#include <SIM_Force.h>

Inheritance diagram for SIM_ForceResolverGeneric:

SIM_ForceResolver

List of all members.

Public Member Functions

 SIM_ForceResolverGeneric (const SIM_Force *force, const SIM_Object *object)
virtual SIM_ForceResolvercopy () const
virtual bool threadsafe () const
virtual void getForce (const UT_Vector3 &position, const UT_Vector3 &velocity, const UT_Vector3 &angvel, const fpreal mass, UT_Vector3 &force, UT_Vector3 &torque)
virtual bool hasJacobian () const
virtual void getForceJacobian (const UT_Vector3 &position, const UT_Vector3 &velocity, const UT_Vector3 &angvel, const fpreal mass, UT_Matrix &dFdX, UT_Matrix &dFdV)

Protected Attributes

const SIM_ForcemyForce
const SIM_ObjectmyObject


Detailed Description

Definition at line 305 of file SIM_Force.h.


Constructor & Destructor Documentation

SIM_ForceResolverGeneric::SIM_ForceResolverGeneric ( const SIM_Force force,
const SIM_Object object 
) [inline]

Definition at line 308 of file SIM_Force.h.


Member Function Documentation

virtual SIM_ForceResolver* SIM_ForceResolverGeneric::copy ( void   )  const [inline, virtual]

Implements SIM_ForceResolver.

Definition at line 315 of file SIM_Force.h.

virtual void SIM_ForceResolverGeneric::getForce ( const UT_Vector3 position,
const UT_Vector3 velocity,
const UT_Vector3 angvel,
const fpreal  mass,
UT_Vector3 force,
UT_Vector3 torque 
) [inline, virtual]

Implements SIM_ForceResolver.

Definition at line 322 of file SIM_Force.h.

virtual void SIM_ForceResolverGeneric::getForceJacobian ( const UT_Vector3 position,
const UT_Vector3 velocity,
const UT_Vector3 angvel,
const fpreal  mass,
UT_Matrix dFdX,
UT_Matrix dFdV 
) [inline, virtual]

Reimplemented from SIM_ForceResolver.

Definition at line 333 of file SIM_Force.h.

virtual bool SIM_ForceResolverGeneric::hasJacobian (  )  const [inline, virtual]

Whether the getForceJacobian returns non-zero values. The default implementation is to always return a 0 jacobian, hence hasJacobian of false.

Reimplemented from SIM_ForceResolver.

Definition at line 332 of file SIM_Force.h.

virtual bool SIM_ForceResolverGeneric::threadsafe (  )  const [inline, virtual]

Defaults to the resolver being threadsafe provided all of the noise resolvers are threadsafe.

Reimplemented from SIM_ForceResolver.

Definition at line 320 of file SIM_Force.h.


Member Data Documentation

Definition at line 346 of file SIM_Force.h.

Definition at line 347 of file SIM_Force.h.


The documentation for this class was generated from the following file:

Generated on Fri May 25 00:10:40 2012 for HDK by  doxygen 1.5.9