SpatialGridContainer
Hashing spatial grid container, used for SPH fluids for instance. GPU support using CUDA.
Templates:
Vec3d
Target: SofaSphFluid
namespace: sofa::component::container
parents:
BaseObject
Data:
| Name | Description | Default value |
|---|---|---|
| name | object name | unnamed |
| printLog | if true, emits extra messages at runtime. | 0 |
| tags | list of the subsets the objet belongs to | |
| bbox | this object bounding box | |
| componentState | The state of the component among (Dirty, Valid, Undefined, Loading, Invalid). | Undefined |
| listening | if true, handle the events, otherwise ignore the events | 0 |
| cellWidth | Width each cell in the grid. If it is used to compute neighboors, it should be greater than the max radius considered. | 1 |
| autoUpdate | Automatically update the grid at each iteration. | 0 |
| sortPoints | Sort points depending on which cell they are in the grid. This is required for efficient collision detection. | 0 |
| Visualization | ||
| showGrid | activate rendering of the grid | 0 |
Links:
| Name | Description |
|---|---|
| context | Graph Node containing this object (or BaseContext::getDefault() if no graph is used) |
| slaves | Sub-objects used internally by this object |
| master | nullptr for regular objects, or master object for which this object is one sub-objects |