|
OpenVDB
6.0.0
|
Functions | |
| template<typename PointDataGridT , typename GridT > | |
| PointDataGridT::Ptr | initialisePointTopology (const GridT &grid) |
| initialise the topology of a PointDataGrid and ensure everything is voxelized More... | |
| template<typename PositionType , typename CodecT , typename RandGenT , typename LeafNodeT > | |
| void | generatePositions (LeafNodeT &leaf, const AttributeSet::Descriptor::Ptr &descriptor, const Index64 &count, const float spread, RandGenT &rand01) |
| Generate random point positions for a leaf node. More... | |
|
inline |
Generate random point positions for a leaf node.
| leaf | The leaf node to initialize |
| descriptor | The descriptor containing the position type |
| count | The number of points to generate |
| spread | The spread of points from the voxel center |
| rand01 | The random number generator, expected to produce floating point values between 0 and 1. |
|
inline |
initialise the topology of a PointDataGrid and ensure everything is voxelized
| grid | The source grid from which to base the topology generation |
1.8.14