OpenVDB
5.2.0
|
This tool converts particles (with position, radius and velocity) into a signed distance field encoded as a narrow band level set. Optionally, arbitrary attributes on the particles can be transferred resulting in an additional attribute grid with the same topology as the level set grid. More...
#include <tbb/parallel_reduce.h>
#include <tbb/blocked_range.h>
#include <openvdb/Types.h>
#include <openvdb/Grid.h>
#include <openvdb/math/Math.h>
#include <openvdb/math/Transform.h>
#include <openvdb/util/NullInterrupter.h>
#include "Composite.h"
#include "PointPartitioner.h"
#include "Prune.h"
#include "SignedFloodFill.h"
#include <iostream>
#include <type_traits>
Go to the source code of this file.
Classes | |
class | BlindData< VisibleT, BlindT > |
class | ParticlesToLevelSet< SdfGridT, AttributeT, InterrupterT > |
class | BlindData< VisibleT, BlindT > |
Namespaces | |
openvdb | |
openvdb::v5_2 | |
openvdb::v5_2::tools | |
openvdb::v5_2::tools::p2ls_internal | |
Functions | |
template<typename VisibleT , typename BlindT > | |
std::ostream & | operator<< (std::ostream &ostr, const BlindData< VisibleT, BlindT > &rhs) |
template<typename VisibleT , typename BlindT > | |
BlindData< VisibleT, BlindT > | Abs (const BlindData< VisibleT, BlindT > &x) |
This tool converts particles (with position, radius and velocity) into a signed distance field encoded as a narrow band level set. Optionally, arbitrary attributes on the particles can be transferred resulting in an additional attribute grid with the same topology as the level set grid.
The ParticleListT
template argument below refers to any class with the following interface (see unittest/TestParticlesToLevelSet.cc and SOP_DW_OpenVDBParticleVoxelizer for practical examples):
The InterruptT
template argument below refers to any class with the following interface: