Tissue Forge C 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
Loading...
Searching...
No Matches
tfCBodyForce.h File Reference
#include <tf_port_c.h>
#include <models/vertex/solver/tfCMeshObj.h>
Include dependency graph for tfCBodyForce.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tfVertexSolverBodyForceHandle
 Handle to a models::vertex::BodyForce instance. More...
 

Functions

HRESULT tfVertexSolverBodyForce_init (struct tfVertexSolverBodyForceHandle *handle, tfFloatP_t *comps)
 Initialize an instance.
 
HRESULT tfVertexSolverBodyForce_destroy (struct tfVertexSolverBodyForceHandle *handle)
 Destroy an instance.
 
HRESULT tfVertexSolverBodyForce_getComps (struct tfVertexSolverBodyForceHandle *handle, tfFloatP_t **comps)
 Get the force components.
 
HRESULT tfVertexSolverBodyForce_setComps (struct tfVertexSolverBodyForceHandle *handle, tfFloatP_t *comps)
 Set the force components.
 
HRESULT tfVertexSolverBodyForce_toBase (struct tfVertexSolverBodyForceHandle *handle, struct tfVertexSolverMeshObjActorHandle *result)
 Cast to a base actor instance.
 
HRESULT tfVertexSolverBodyForce_fromBase (struct tfVertexSolverMeshObjActorHandle *handle, struct tfVertexSolverBodyForceHandle *result)
 Cast from a base actor instance.
 

Function Documentation

◆ tfVertexSolverBodyForce_destroy()

HRESULT tfVertexSolverBodyForce_destroy ( struct tfVertexSolverBodyForceHandle * handle)

Destroy an instance.

Parameters
handlepopulated handle

◆ tfVertexSolverBodyForce_fromBase()

HRESULT tfVertexSolverBodyForce_fromBase ( struct tfVertexSolverMeshObjActorHandle * handle,
struct tfVertexSolverBodyForceHandle * result )

Cast from a base actor instance.

Parameters
handlepopulated handle
resultresult of cast

◆ tfVertexSolverBodyForce_getComps()

HRESULT tfVertexSolverBodyForce_getComps ( struct tfVertexSolverBodyForceHandle * handle,
tfFloatP_t ** comps )

Get the force components.

Parameters
handlepopulated handle
compsforce components

◆ tfVertexSolverBodyForce_init()

HRESULT tfVertexSolverBodyForce_init ( struct tfVertexSolverBodyForceHandle * handle,
tfFloatP_t * comps )

Initialize an instance.

Parameters
handlehandle to populate
compsforce components

◆ tfVertexSolverBodyForce_setComps()

HRESULT tfVertexSolverBodyForce_setComps ( struct tfVertexSolverBodyForceHandle * handle,
tfFloatP_t * comps )

Set the force components.

Parameters
handlepopulated handle
compsforce components

◆ tfVertexSolverBodyForce_toBase()

HRESULT tfVertexSolverBodyForce_toBase ( struct tfVertexSolverBodyForceHandle * handle,
struct tfVertexSolverMeshObjActorHandle * result )

Cast to a base actor instance.

Parameters
handlepopulated handle
resultresult of cast