|
OpenVDB 13.0.0
|
#include <openvdb/tools/ParticleAtlas.h>
Classes | |
| struct | Iterator |
| Provides accelerated range and nearest-neighbor searches for particles that are partitioned using the ParticleAtlas. More... | |
Public Types | |
| using | Ptr = SharedPtr<ParticleAtlas> |
| using | ConstPtr = SharedPtr<const ParticleAtlas> |
| using | PointIndexGridPtr = typename PointIndexGridType::Ptr |
| using | IndexType = typename PointIndexGridType::ValueType |
Public Member Functions | |
| ParticleAtlas () | |
| template<typename ParticleArrayType> | |
| void | construct (const ParticleArrayType &particles, double minVoxelSize, size_t maxLevels=50) |
| Partitions particle indices. | |
| size_t | levels () const |
| Returns the number of resolution levels. | |
| bool | empty () const |
| true if the container size is 0, false otherwise. | |
| double | minRadius (size_t n) const |
| Returns minimum particle radius for level n. | |
| double | maxRadius (size_t n) const |
| Returns maximum particle radius for level n. | |
| PointIndexGridType & | pointIndexGrid (size_t n) |
Returns the PointIndexGrid that represents the given level n. | |
| const PointIndexGridType & | pointIndexGrid (size_t n) const |
Returns the PointIndexGrid that represents the given level n. | |
Static Public Member Functions | |
| template<typename ParticleArrayType> | |
| static Ptr | create (const ParticleArrayType &particles, double minVoxelSize, size_t maxLevels=50) |
Create a new ParticleAtlas from the given particles. | |
| using ConstPtr = SharedPtr<const ParticleAtlas> |
| using IndexType = typename PointIndexGridType::ValueType |
| using PointIndexGridPtr = typename PointIndexGridType::Ptr |
| using Ptr = SharedPtr<ParticleAtlas> |
|
inline |
|
inline |
Partitions particle indices.
| particles | container conforming to the ParticleArray interface |
| minVoxelSize | minimum voxel size limit |
| maxLevels | maximum number of resolution levels |
|
inlinestatic |
Create a new ParticleAtlas from the given particles.
| particles | container conforming to the ParticleArray interface |
| minVoxelSize | minimum voxel size limit |
| maxLevels | maximum number of resolution levels |
|
inline |
true if the container size is 0, false otherwise.
|
inline |
Returns the number of resolution levels.
|
inline |
Returns maximum particle radius for level n.
|
inline |
Returns minimum particle radius for level n.
|
inline |
Returns the PointIndexGrid that represents the given level n.
|
inline |
Returns the PointIndexGrid that represents the given level n.