|
Tissue Forge C 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
|


Go to the source code of this file.
Functions | |
| HRESULT | tfVertexSolverVertexForce (struct tfVertexSolverVertexHandleHandle *v, tfFloatP_t *f) |
| Calculate the force on a vertex. | |
| HRESULT | tfVertexSolverInit () |
| Initialize the solver. | |
| HRESULT | tfVertexSolverCompact () |
| Reduce internal buffers and storage. | |
| HRESULT | tfVertexSolverEngineLock () |
| Locks the engine for thread-safe engine operations. | |
| HRESULT | tfVertexSolverEngineUnlock () |
| Unlocks the engine for thread-safe engine operations. | |
| HRESULT | tfVertexSolverIsDirty (bool *result) |
| Test whether the current mesh state needs updated. | |
| HRESULT | tfVertexSolverSetDirty (bool isDirty) |
| Set whether the current mesh state needs updated. | |
| HRESULT | tfVertexSolverRegisterBodyType (struct tfVertexSolverBodyTypeHandle *type) |
| Register a body type. | |
| HRESULT | tfVertexSolverRegisterSurfaceType (struct tfVertexSolverSurfaceTypeHandle *type) |
| Register a surface type. | |
| HRESULT | tfVertexSolverGetBodyType (const unsigned int &typeId, struct tfVertexSolverBodyTypeHandle *type) |
| Get the body type by id. | |
| HRESULT | tfVertexSolverGetSurfaceType (const unsigned int &typeId, struct tfVertexSolverSurfaceTypeHandle *type) |
| Get the surface type by id. | |
| HRESULT | tfVertexSolverNumBodyTypes (int *numTypes) |
| Get the number of registered body types. | |
| HRESULT | tfVertexSolverNumSurfaceTypes (int *numTypes) |
| Get the number of registered surface types. | |
| HRESULT | tfVertexSolverPositionChanged () |
| Update internal data due to a change in position. | |
| HRESULT | tfVertexSolverUpdate (bool force) |
| Update the solver if dirty. | |
| HRESULT tfVertexSolverGetBodyType | ( | const unsigned int & | typeId, |
| struct tfVertexSolverBodyTypeHandle * | type ) |
Get the body type by id.
| typeId | type id |
| type | handle to populate |
| HRESULT tfVertexSolverGetSurfaceType | ( | const unsigned int & | typeId, |
| struct tfVertexSolverSurfaceTypeHandle * | type ) |
Get the surface type by id.
| typeId | type id |
| type | handle to populate |
| HRESULT tfVertexSolverIsDirty | ( | bool * | result | ) |
Test whether the current mesh state needs updated.
| result | result of the test |
| HRESULT tfVertexSolverNumBodyTypes | ( | int * | numTypes | ) |
Get the number of registered body types.
| numTypes | number of registered body types |
| HRESULT tfVertexSolverNumSurfaceTypes | ( | int * | numTypes | ) |
Get the number of registered surface types.
| numTypes | number of registered surface types |
| HRESULT tfVertexSolverRegisterBodyType | ( | struct tfVertexSolverBodyTypeHandle * | type | ) |
Register a body type.
| type | a body type |
| HRESULT tfVertexSolverRegisterSurfaceType | ( | struct tfVertexSolverSurfaceTypeHandle * | type | ) |
Register a surface type.
| type | a surface type |
| HRESULT tfVertexSolverSetDirty | ( | bool | isDirty | ) |
Set whether the current mesh state needs updated.
| isDirty | flag indicating whether the current mesh state needs updated |
| HRESULT tfVertexSolverUpdate | ( | bool | force | ) |
Update the solver if dirty.
| force | flag to force an update and ignore whether the solver is dirty |
| HRESULT tfVertexSolverVertexForce | ( | struct tfVertexSolverVertexHandleHandle * | v, |
| tfFloatP_t * | f ) |
Calculate the force on a vertex.
| v | vertex |
| f | force |