|
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 | tfVertexSolverMeshHasQuality (bool *result) |
| Test whether this mesh has a mesh quality instance. | |
| HRESULT | tfVertexSolverMeshGetQuality (struct tfVertexSolverMeshQualityHandle *quality) |
| Get the mesh quality instance. | |
| HRESULT | tfVertexSolverMeshSetQuality (struct tfVertexSolverMeshQualityHandle *quality) |
| Set the mesh quality instance. | |
| HRESULT | tfVertexSolverMeshQualityWorking (bool *result) |
| Test whether a mesh quality instance is working on the mesh. | |
| HRESULT | tfVertexSolverMeshEnsureAvailableVertices (unsigned int numAlloc) |
| Ensure that there are a given number of allocated vertices. | |
| HRESULT | tfVertexSolverMeshEnsureAvailableSurfaces (unsigned int numAlloc) |
| Ensure that there are a given number of allocated surfaces. | |
| HRESULT | tfVertexSolverMeshEnsureAvailableBodies (unsigned int numAlloc) |
| Ensure that there are a given number of allocated bodies. | |
| HRESULT | tfVertexSolverMeshCreateVertex (struct tfVertexSolverVertexHandleHandle *handle, unsigned int pid) |
| Create a vertex. | |
| HRESULT | tfVertexSolverMeshCreateVertices (struct tfVertexSolverVertexHandleHandle **handles, unsigned int *pids, unsigned int numObjs) |
| Create a vertices. | |
| HRESULT | tfVertexSolverMeshCreateSurface (struct tfVertexSolverSurfaceHandleHandle *handle) |
| Create a surface. | |
| HRESULT | tfVertexSolverMeshCreateSurfaces (struct tfVertexSolverSurfaceHandleHandle **handles, unsigned int numObjs) |
| Create surfaces. | |
| HRESULT | tfVertexSolverMeshCreateBody (struct tfVertexSolverBodyHandleHandle *handle) |
| Create a body. | |
| HRESULT | tfVertexSolverMeshCreateBodies (struct tfVertexSolverBodyHandleHandle *handles, unsigned int numObjs) |
| Create a bodies. | |
| HRESULT | tfVertexSolverMeshLock () |
| Locks the mesh for thread-safe operations. | |
| HRESULT | tfVertexSolverMeshUnlock () |
| Unlocks the mesh for thread-safe operations. | |
| HRESULT | tfVertexSolverMeshFindVertex (tfFloatP_t *pos, tfFloatP_t tol, struct tfVertexSolverVertexHandleHandle *v) |
| Find a vertex in this mesh. | |
| HRESULT | tfVertexSolverMeshGetVertexByPID (unsigned int pid, struct tfVertexSolverVertexHandleHandle *v) |
| Get the vertex for a given particle id. | |
| HRESULT | tfVertexSolverMeshGetVertex (unsigned int idx, struct tfVertexSolverVertexHandleHandle *v) |
| Get the vertex at a location in the list of vertices. | |
| HRESULT | tfVertexSolverMeshGetSurface (unsigned int idx, struct tfVertexSolverSurfaceHandleHandle *s) |
| Get a surface at a location in the list of surfaces. | |
| HRESULT | tfVertexSolverMeshGetBody (unsigned int idx, struct tfVertexSolverBodyHandleHandle *b) |
| Get a body at a location in the list of bodies. | |
| HRESULT | tfVertexSolverMeshNumVertices (unsigned int *result) |
| Get the number of vertices. | |
| HRESULT | tfVertexSolverMeshNumSurfaces (unsigned int *result) |
| Get the number of surfaces. | |
| HRESULT | tfVertexSolverMeshNumBodies (unsigned int *result) |
| Get the number of bodies. | |
| HRESULT | tfVertexSolverMeshSizeVertices (unsigned int *result) |
| Get the size of the list of vertices. | |
| HRESULT | tfVertexSolverMeshSizeSurfaces (unsigned int *result) |
| Get the size of the list of surfaces. | |
| HRESULT | tfVertexSolverMeshSizeBodies (unsigned int *result) |
| Get the size of the list of bodies. | |
| HRESULT | tfVertexSolverMeshValidate (bool *result) |
| Validate state of the mesh. | |
| HRESULT | tfVertexSolverMeshMakeDirty () |
| Manually notify that the mesh has been changed. | |
| HRESULT | tfVertexSolverMeshConnectedVertices (struct tfVertexSolverVertexHandleHandle *v1, struct tfVertexSolverVertexHandleHandle *v2, bool *result) |
| Check whether two vertices are connected. | |
| HRESULT | tfVertexSolverMeshConnectedSurfaces (struct tfVertexSolverSurfaceHandleHandle *s1, struct tfVertexSolverSurfaceHandleHandle *s2, bool *result) |
| Check whether two surfaces are connected. | |
| HRESULT | tfVertexSolverMeshConnectedBodies (struct tfVertexSolverBodyHandleHandle *b1, struct tfVertexSolverBodyHandleHandle *b2, bool *result) |
| Check whether two bodies are connected. | |
| HRESULT | tfVertexSolverMeshRemoveVertex (struct tfVertexSolverVertexHandleHandle *v) |
| Remove a vertex from the mesh; all connected surfaces and bodies are also removed. | |
| HRESULT | tfVertexSolverMeshRemoveVertices (struct tfVertexSolverVertexHandleHandle **v, unsigned int numObjs) |
| Remove vertices from the mesh; all connected surfaces and bodies are also removed. | |
| HRESULT | tfVertexSolverMeshRemoveSurface (struct tfVertexSolverSurfaceHandleHandle *s) |
| Remove a surface from the mesh; all connected bodies are also removed. | |
| HRESULT | tfVertexSolverMeshRemoveSurfaces (struct tfVertexSolverSurfaceHandleHandle **s, unsigned int numObjs) |
| Remove surfaces from the mesh; all connected bodies are also removed. | |
| HRESULT | tfVertexSolverMeshRemoveBody (struct tfVertexSolverBodyHandleHandle *b) |
| Remove a body from the mesh. | |
| HRESULT | tfVertexSolverMeshRemoveBodies (struct tfVertexSolverBodyHandleHandle **b, unsigned int numObjs) |
| Remove bodies from the mesh. | |
| HRESULT | tfVertexSolverMeshIs3D (bool *result) |
| Test whether the mesh is 3D. | |
| HRESULT tfVertexSolverMeshConnectedBodies | ( | struct tfVertexSolverBodyHandleHandle * | b1, |
| struct tfVertexSolverBodyHandleHandle * | b2, | ||
| bool * | result ) |
Check whether two bodies are connected.
| b1 | first body |
| b2 | second body |
| result | result of the test |
| HRESULT tfVertexSolverMeshConnectedSurfaces | ( | struct tfVertexSolverSurfaceHandleHandle * | s1, |
| struct tfVertexSolverSurfaceHandleHandle * | s2, | ||
| bool * | result ) |
Check whether two surfaces are connected.
| s1 | first surface |
| s2 | second surface |
| result | result of the test |
| HRESULT tfVertexSolverMeshConnectedVertices | ( | struct tfVertexSolverVertexHandleHandle * | v1, |
| struct tfVertexSolverVertexHandleHandle * | v2, | ||
| bool * | result ) |
Check whether two vertices are connected.
| v1 | first vertex |
| v2 | second vertex |
| result | result of the test |
| HRESULT tfVertexSolverMeshCreateBodies | ( | struct tfVertexSolverBodyHandleHandle * | handles, |
| unsigned int | numObjs ) |
Create a bodies.
| handles | handles to populate |
| numObjs | number of instances to create |
| HRESULT tfVertexSolverMeshCreateBody | ( | struct tfVertexSolverBodyHandleHandle * | handle | ) |
Create a body.
| handle | handle to populate |
| HRESULT tfVertexSolverMeshCreateSurface | ( | struct tfVertexSolverSurfaceHandleHandle * | handle | ) |
Create a surface.
| handle | handle to populate |
| HRESULT tfVertexSolverMeshCreateSurfaces | ( | struct tfVertexSolverSurfaceHandleHandle ** | handles, |
| unsigned int | numObjs ) |
Create surfaces.
| handles | handles to populate |
| numObjs | number of instances to create |
| HRESULT tfVertexSolverMeshCreateVertex | ( | struct tfVertexSolverVertexHandleHandle * | handle, |
| unsigned int | pid ) |
Create a vertex.
| handle | handle to populate |
| pid | id of underlying particle |
| HRESULT tfVertexSolverMeshCreateVertices | ( | struct tfVertexSolverVertexHandleHandle ** | handles, |
| unsigned int * | pids, | ||
| unsigned int | numObjs ) |
Create a vertices.
| handles | handles to populate |
| pids | ids of underlying particles |
| numObjs | number of instances to create |
| HRESULT tfVertexSolverMeshEnsureAvailableBodies | ( | unsigned int | numAlloc | ) |
Ensure that there are a given number of allocated bodies.
| numAlloc | number to ensure allocated |
| HRESULT tfVertexSolverMeshEnsureAvailableSurfaces | ( | unsigned int | numAlloc | ) |
Ensure that there are a given number of allocated surfaces.
| numAlloc | number to ensure allocated |
| HRESULT tfVertexSolverMeshEnsureAvailableVertices | ( | unsigned int | numAlloc | ) |
Ensure that there are a given number of allocated vertices.
| numAlloc | number to ensure allocated |
| HRESULT tfVertexSolverMeshFindVertex | ( | tfFloatP_t * | pos, |
| tfFloatP_t | tol, | ||
| struct tfVertexSolverVertexHandleHandle * | v ) |
Find a vertex in this mesh.
| pos | position to look |
| tol | distance tolerance |
| v | a vertex within the distance tolerance of the position, otherwise NULL |
| HRESULT tfVertexSolverMeshGetBody | ( | unsigned int | idx, |
| struct tfVertexSolverBodyHandleHandle * | b ) |
Get a body at a location in the list of bodies.
| idx | index |
| b | body |
| HRESULT tfVertexSolverMeshGetQuality | ( | struct tfVertexSolverMeshQualityHandle * | quality | ) |
Get the mesh quality instance.
| quality | mesh quality instance |
| HRESULT tfVertexSolverMeshGetSurface | ( | unsigned int | idx, |
| struct tfVertexSolverSurfaceHandleHandle * | s ) |
Get a surface at a location in the list of surfaces.
| idx | index |
| s | surface |
| HRESULT tfVertexSolverMeshGetVertex | ( | unsigned int | idx, |
| struct tfVertexSolverVertexHandleHandle * | v ) |
Get the vertex at a location in the list of vertices.
| idx | index |
| v | handle to populate |
| HRESULT tfVertexSolverMeshGetVertexByPID | ( | unsigned int | pid, |
| struct tfVertexSolverVertexHandleHandle * | v ) |
Get the vertex for a given particle id.
| pid | particle id |
| v | handle to populate |
| HRESULT tfVertexSolverMeshHasQuality | ( | bool * | result | ) |
Test whether this mesh has a mesh quality instance.
| result | result of the test |
| HRESULT tfVertexSolverMeshIs3D | ( | bool * | result | ) |
Test whether the mesh is 3D.
A 3D mesh has at least one body.
| result | result of the test |
| HRESULT tfVertexSolverMeshNumBodies | ( | unsigned int * | result | ) |
Get the number of bodies.
| result | result of the test |
| HRESULT tfVertexSolverMeshNumSurfaces | ( | unsigned int * | result | ) |
Get the number of surfaces.
| result | result of the test |
| HRESULT tfVertexSolverMeshNumVertices | ( | unsigned int * | result | ) |
Get the number of vertices.
| result | result of the test |
| HRESULT tfVertexSolverMeshQualityWorking | ( | bool * | result | ) |
Test whether a mesh quality instance is working on the mesh.
| result | result of the test |
| HRESULT tfVertexSolverMeshRemoveBodies | ( | struct tfVertexSolverBodyHandleHandle ** | b, |
| unsigned int | numObjs ) |
Remove bodies from the mesh.
| b | bodies to remove |
| numObjs | number of instances |
| HRESULT tfVertexSolverMeshRemoveBody | ( | struct tfVertexSolverBodyHandleHandle * | b | ) |
Remove a body from the mesh.
| b | body to remove |
| HRESULT tfVertexSolverMeshRemoveSurface | ( | struct tfVertexSolverSurfaceHandleHandle * | s | ) |
Remove a surface from the mesh; all connected bodies are also removed.
| s | surface to remove |
| HRESULT tfVertexSolverMeshRemoveSurfaces | ( | struct tfVertexSolverSurfaceHandleHandle ** | s, |
| unsigned int | numObjs ) |
Remove surfaces from the mesh; all connected bodies are also removed.
| s | surfaces to remove |
| numObjs | number of instances |
| HRESULT tfVertexSolverMeshRemoveVertex | ( | struct tfVertexSolverVertexHandleHandle * | v | ) |
Remove a vertex from the mesh; all connected surfaces and bodies are also removed.
| v | vertex to remove |
| HRESULT tfVertexSolverMeshRemoveVertices | ( | struct tfVertexSolverVertexHandleHandle ** | v, |
| unsigned int | numObjs ) |
Remove vertices from the mesh; all connected surfaces and bodies are also removed.
| v | vertices to remove |
| numObjs | number of instances |
| HRESULT tfVertexSolverMeshSetQuality | ( | struct tfVertexSolverMeshQualityHandle * | quality | ) |
Set the mesh quality instance.
| quality | mesh quality instance |
| HRESULT tfVertexSolverMeshSizeBodies | ( | unsigned int * | result | ) |
Get the size of the list of bodies.
| result | result of the test |
| HRESULT tfVertexSolverMeshSizeSurfaces | ( | unsigned int * | result | ) |
Get the size of the list of surfaces.
| result | result of the test |
| HRESULT tfVertexSolverMeshSizeVertices | ( | unsigned int * | result | ) |
Get the size of the list of vertices.
| result | result of the test |
| HRESULT tfVertexSolverMeshValidate | ( | bool * | result | ) |
Validate state of the mesh.
| result | result of the test |