|
Tissue Forge C 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
|
#include <tf_port_c.h>

Go to the source code of this file.
Data Structures | |
| struct | tfVertexSolverMeshQualityHandle |
| Handle to a models::vertex::MeshQuality instance. More... | |
Functions | |
| HRESULT | tfVertexSolverMeshQuality_init (struct tfVertexSolverMeshQualityHandle *handle, tfFloatP_t vertexMergeDistCf, tfFloatP_t surfaceDemoteAreaCf, tfFloatP_t bodyDemoteVolumeCf, tfFloatP_t _edgeSplitDistCf) |
| Initialize an instance. | |
| HRESULT | tfVertexSolverMeshQuality_destroy (struct tfVertexSolverMeshQualityHandle *handle) |
| Destroy an instance. | |
| HRESULT | tfVertexSolverMeshQuality_toString (struct tfVertexSolverMeshQualityHandle *handle, char **str, unsigned int *numChar) |
| Get a JSON string representation. | |
| HRESULT | tfVertexSolverMeshQuality_doQuality (struct tfVertexSolverMeshQualityHandle *handle) |
| Perform quality operations work. | |
| HRESULT | tfVertexSolverMeshQuality_working (struct tfVertexSolverMeshQualityHandle *handle, bool *working) |
| Test whether quality operations are being done. | |
| HRESULT | tfVertexSolverMeshQuality_getVertexMergeDistance (struct tfVertexSolverMeshQualityHandle *handle, tfFloatP_t *val) |
| Get the distance below which two vertices are scheduled for merging. | |
| HRESULT | tfVertexSolverMeshQuality_setVertexMergeDistance (struct tfVertexSolverMeshQualityHandle *handle, tfFloatP_t val) |
| Set the distance below which two vertices are scheduled for merging. | |
| HRESULT | tfVertexSolverMeshQuality_getSurfaceDemoteArea (struct tfVertexSolverMeshQualityHandle *handle, tfFloatP_t *val) |
| Get the area below which a surface is scheduled to become a vertex. | |
| HRESULT | tfVertexSolverMeshQuality_setSurfaceDemoteArea (struct tfVertexSolverMeshQualityHandle *handle, tfFloatP_t val) |
| Set the area below which a surface is scheduled to become a vertex. | |
| HRESULT | tfVertexSolverMeshQuality_getBodyDemoteVolume (struct tfVertexSolverMeshQualityHandle *handle, tfFloatP_t *val) |
| Get the volume below which a body is scheduled to become a vertex. | |
| HRESULT | tfVertexSolverMeshQuality_setBodyDemoteVolume (struct tfVertexSolverMeshQualityHandle *handle, tfFloatP_t val) |
| Set the volume below which a body is scheduled to become a vertex. | |
| HRESULT | tfVertexSolverMeshQuality_getEdgeSplitDist (struct tfVertexSolverMeshQualityHandle *handle, tfFloatP_t *val) |
| Get the distance at which two vertices are seperated when a vertex is split. | |
| HRESULT | tfVertexSolverMeshQuality_setEdgeSplitDist (struct tfVertexSolverMeshQualityHandle *handle, tfFloatP_t val) |
| Set the distance at which two vertices are seperated when a vertex is split. | |
| HRESULT | tfVertexSolverMeshQuality_getCollision2D (struct tfVertexSolverMeshQualityHandle *handle, bool *collision2D) |
| Get whether 2D collisions are implemented. | |
| HRESULT | tfVertexSolverMeshQuality_setCollision2D (struct tfVertexSolverMeshQualityHandle *handle, bool collision2D) |
| Set whether 2D collisions are implemented. | |
| HRESULT | tfVertexSolverMeshQuality_excludeVertex (struct tfVertexSolverMeshQualityHandle *handle, const unsigned int &id) |
| Exclude a vertex from quality operations. | |
| HRESULT | tfVertexSolverMeshQuality_excludeSurface (struct tfVertexSolverMeshQualityHandle *handle, const unsigned int &id) |
| Exclude a surface from quality operations. | |
| HRESULT | tfVertexSolverMeshQuality_excludeBody (struct tfVertexSolverMeshQualityHandle *handle, const unsigned int &id) |
| Exclude a body from quality operations. | |
| HRESULT | tfVertexSolverMeshQuality_includeVertex (struct tfVertexSolverMeshQualityHandle *handle, const unsigned int &id) |
| Include a vertex from quality operations. | |
| HRESULT | tfVertexSolverMeshQuality_includeSurface (struct tfVertexSolverMeshQualityHandle *handle, const unsigned int &id) |
| Include a surface from quality operations. | |
| HRESULT | tfVertexSolverMeshQuality_includeBody (struct tfVertexSolverMeshQualityHandle *handle, const unsigned int &id) |
| Include a body from quality operations. | |
| HRESULT tfVertexSolverMeshQuality_destroy | ( | struct tfVertexSolverMeshQualityHandle * | handle | ) |
Destroy an instance.
| handle | populated handle |
| HRESULT tfVertexSolverMeshQuality_doQuality | ( | struct tfVertexSolverMeshQualityHandle * | handle | ) |
Perform quality operations work.
| handle | populated handle |
| HRESULT tfVertexSolverMeshQuality_excludeBody | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| const unsigned int & | id ) |
Exclude a body from quality operations.
| handle | populated handle |
| id | body id |
| HRESULT tfVertexSolverMeshQuality_excludeSurface | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| const unsigned int & | id ) |
Exclude a surface from quality operations.
| handle | populated handle |
| id | surface id |
| HRESULT tfVertexSolverMeshQuality_excludeVertex | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| const unsigned int & | id ) |
Exclude a vertex from quality operations.
| handle | populated handle |
| id | vertex id |
| HRESULT tfVertexSolverMeshQuality_getBodyDemoteVolume | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| tfFloatP_t * | val ) |
Get the volume below which a body is scheduled to become a vertex.
| handle | populated handle |
| val | volume below which a body is scheduled to become a vertex |
| HRESULT tfVertexSolverMeshQuality_getCollision2D | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| bool * | collision2D ) |
Get whether 2D collisions are implemented.
| handle | populated handle |
| collision2D | whether 2D collisions are implemented |
| HRESULT tfVertexSolverMeshQuality_getEdgeSplitDist | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| tfFloatP_t * | val ) |
Get the distance at which two vertices are seperated when a vertex is split.
| handle | populated handle |
| val | distance at which two vertices are seperated when a vertex is split |
| HRESULT tfVertexSolverMeshQuality_getSurfaceDemoteArea | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| tfFloatP_t * | val ) |
Get the area below which a surface is scheduled to become a vertex.
| handle | populated handle |
| val | area below which a surface is scheduled to become a vertex |
| HRESULT tfVertexSolverMeshQuality_getVertexMergeDistance | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| tfFloatP_t * | val ) |
Get the distance below which two vertices are scheduled for merging.
| handle | populated handle |
| val | distance below which two vertices are scheduled for merging |
| HRESULT tfVertexSolverMeshQuality_includeBody | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| const unsigned int & | id ) |
Include a body from quality operations.
Unless otherwise specified, all bodies are subject to operations.
| handle | populated handle |
| id | body id |
| HRESULT tfVertexSolverMeshQuality_includeSurface | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| const unsigned int & | id ) |
Include a surface from quality operations.
Unless otherwise specified, all surfaces are subject to operations.
| handle | populated handle |
| id | surface id |
| HRESULT tfVertexSolverMeshQuality_includeVertex | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| const unsigned int & | id ) |
Include a vertex from quality operations.
Unless otherwise specified, all vertices are subject to operations.
| handle | populated handle |
| id | vertex id |
| HRESULT tfVertexSolverMeshQuality_init | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| tfFloatP_t | vertexMergeDistCf, | ||
| tfFloatP_t | surfaceDemoteAreaCf, | ||
| tfFloatP_t | bodyDemoteVolumeCf, | ||
| tfFloatP_t | _edgeSplitDistCf ) |
Initialize an instance.
| hande | handle to populate |
| vertexMergeDistCf | |
| surfaceDemoteAreaCf | |
| bodyDemoteVolumeCf | |
| _edgeSplitDistCf |
| HRESULT tfVertexSolverMeshQuality_setBodyDemoteVolume | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| tfFloatP_t | val ) |
Set the volume below which a body is scheduled to become a vertex.
| handle | populated handle |
| val | volume below which a body is scheduled to become a vertex |
| HRESULT tfVertexSolverMeshQuality_setCollision2D | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| bool | collision2D ) |
Set whether 2D collisions are implemented.
| handle | populated handle |
| collision2D | whether 2D collisions are implemented |
| HRESULT tfVertexSolverMeshQuality_setEdgeSplitDist | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| tfFloatP_t | val ) |
Set the distance at which two vertices are seperated when a vertex is split.
| handle | populated handle |
| val | distance at which two vertices are seperated when a vertex is split |
| HRESULT tfVertexSolverMeshQuality_setSurfaceDemoteArea | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| tfFloatP_t | val ) |
Set the area below which a surface is scheduled to become a vertex.
| handle | populated handle |
| val | area below which a surface is scheduled to become a vertex |
| HRESULT tfVertexSolverMeshQuality_setVertexMergeDistance | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| tfFloatP_t | val ) |
Set the distance below which two vertices are scheduled for merging.
| handle | populated handle |
| val | distance below which two vertices are scheduled for merging |
| HRESULT tfVertexSolverMeshQuality_toString | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| char ** | str, | ||
| unsigned int * | numChar ) |
Get a JSON string representation.
| handle | populated handle |
| str | JSON string representation |
| numChar | number of chars |
| HRESULT tfVertexSolverMeshQuality_working | ( | struct tfVertexSolverMeshQualityHandle * | handle, |
| bool * | working ) |
Test whether quality operations are being done.
| handle | populated handle |
| working | result of the test |