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