HDK
|
#include <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. 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 PointIndexGrid that represents the given level n. More... | |
const PointIndexGridType & | pointIndexGrid (size_t n) const |
Returns the PointIndexGrid that represents the given level n. More... | |
template<typename ParticleArrayType > | |
ParticleAtlas < PointIndexGridType >::Ptr | create (const ParticleArrayType &particles, double minVoxelSize, size_t maxLevels) |
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. More... | |
Definition at line 83 of file ParticleAtlas.h.
using openvdb::OPENVDB_VERSION_NAME::tools::ParticleAtlas< PointIndexGridType >::ConstPtr = SharedPtr<const ParticleAtlas> |
Definition at line 86 of file ParticleAtlas.h.
using openvdb::OPENVDB_VERSION_NAME::tools::ParticleAtlas< PointIndexGridType >::IndexType = typename PointIndexGridType::ValueType |
Definition at line 89 of file ParticleAtlas.h.
using openvdb::OPENVDB_VERSION_NAME::tools::ParticleAtlas< PointIndexGridType >::PointIndexGridPtr = typename PointIndexGridType::Ptr |
Definition at line 88 of file ParticleAtlas.h.
using openvdb::OPENVDB_VERSION_NAME::tools::ParticleAtlas< PointIndexGridType >::Ptr = SharedPtr<ParticleAtlas> |
Definition at line 85 of file ParticleAtlas.h.
|
inline |
Definition at line 95 of file ParticleAtlas.h.
|
inline |
Partitions particle indices.
particles | container conforming to the ParticleArray interface |
minVoxelSize | minimum voxel size limit |
maxLevels | maximum number of resolution levels |
Definition at line 690 of file ParticleAtlas.h.
|
static |
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 |
Definition at line 770 of file ParticleAtlas.h.
|
inline |
true if the container size is 0, false otherwise.
Definition at line 117 of file ParticleAtlas.h.
|
inline |
Returns the number of resolution levels.
Definition at line 115 of file ParticleAtlas.h.
|
inline |
Returns maximum particle radius for level n.
Definition at line 122 of file ParticleAtlas.h.
|
inline |
Returns minimum particle radius for level n.
Definition at line 120 of file ParticleAtlas.h.
|
inline |
Returns the PointIndexGrid
that represents the given level n.
Definition at line 125 of file ParticleAtlas.h.
|
inline |
Returns the PointIndexGrid
that represents the given level n.
Definition at line 127 of file ParticleAtlas.h.