HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_PointImpulseMassMatrixResolver Class Reference

#include <SIM_PhysicalParms.h>

+ Inheritance diagram for SIM_PointImpulseMassMatrixResolver:

Public Member Functions

 SIM_PointImpulseMassMatrixResolver (const SIM_Solver *solver, const SIM_Object *obj)
 
virtual ~SIM_PointImpulseMassMatrixResolver ()
 
virtual void get (GA_Index ptnum, UT_DMatrix3 &immatrix) const
 
virtual bool threadsafe () const
 

Protected Attributes

const SIM_ObjectmyObject
 
const SIM_SolvermySolver
 

Detailed Description

This simple verb class is designed to create a fast and usually threadsafe way to lookup lots of property value queries. For threadsafety it is important you act on a resolver local to your thread, you can create such a thing with the copy() function.

Definition at line 236 of file SIM_PhysicalParms.h.

Constructor & Destructor Documentation

SIM_PointImpulseMassMatrixResolver::SIM_PointImpulseMassMatrixResolver ( const SIM_Solver solver,
const SIM_Object obj 
)
inline

Definition at line 239 of file SIM_PhysicalParms.h.

virtual SIM_PointImpulseMassMatrixResolver::~SIM_PointImpulseMassMatrixResolver ( )
inlinevirtual

Definition at line 245 of file SIM_PhysicalParms.h.

Member Function Documentation

virtual void SIM_PointImpulseMassMatrixResolver::get ( GA_Index  ptnum,
UT_DMatrix3 immatrix 
) const
virtual
virtual bool SIM_PointImpulseMassMatrixResolver::threadsafe ( ) const
inlinevirtual

The default implementation just calls SIM_Solver::getPointImpulseMassMatrix and is not threadsafe.

Reimplemented in SIM_ParticleImpulseMassMatrixResolver.

Definition at line 251 of file SIM_PhysicalParms.h.

Member Data Documentation

const SIM_Object* SIM_PointImpulseMassMatrixResolver::myObject
protected

Definition at line 254 of file SIM_PhysicalParms.h.

const SIM_Solver* SIM_PointImpulseMassMatrixResolver::mySolver
protected

Definition at line 255 of file SIM_PhysicalParms.h.


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