25#ifndef _WRAPS_C_VERTEX_SOLVER_TFCMESHSOLVER_H_
26#define _WRAPS_C_VERTEX_SOLVER_TFCMESHSOLVER_H_
Handle to a models::vertex::BodyType instance.
Definition tfCBody.h:65
Handle to a models::vertex::SurfaceType instance.
Definition tfCSurface.h:76
Handle to a models::vertex::VertexHandle instance.
Definition tfCVertex.h:39
HRESULT tfVertexSolverNumSurfaceTypes(int *numTypes)
Get the number of registered surface types.
HRESULT tfVertexSolverSetDirty(bool isDirty)
Set whether the current mesh state needs updated.
HRESULT tfVertexSolverGetSurfaceType(const unsigned int &typeId, struct tfVertexSolverSurfaceTypeHandle *type)
Get the surface type by id.
HRESULT tfVertexSolverIsDirty(bool *result)
Test 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 tfVertexSolverPositionChanged()
Update internal data due to a change in position.
HRESULT tfVertexSolverEngineUnlock()
Unlocks the engine for thread-safe engine operations.
HRESULT tfVertexSolverUpdate(bool force)
Update the solver if dirty.
HRESULT tfVertexSolverGetBodyType(const unsigned int &typeId, struct tfVertexSolverBodyTypeHandle *type)
Get the body type by id.
HRESULT tfVertexSolverNumBodyTypes(int *numTypes)
Get the number of registered body types.
HRESULT tfVertexSolverVertexForce(struct tfVertexSolverVertexHandleHandle *v, tfFloatP_t *f)
Calculate the force on a vertex.
HRESULT tfVertexSolverInit()
Initialize the solver.
HRESULT tfVertexSolverEngineLock()
Locks the engine for thread-safe engine operations.
HRESULT tfVertexSolverCompact()
Reduce internal buffers and storage.