HDK
|
Sample a VDB Grid onto a VDB Points attribute. More...
#include <openvdb/util/NullInterrupter.h>
#include <openvdb/thread/Threading.h>
#include <openvdb/tools/Interpolation.h>
#include "PointDataGrid.h"
#include "PointAttribute.h"
#include <sstream>
#include <type_traits>
#include "impl/PointSampleImpl.h"
Go to the source code of this file.
Classes | |
struct | openvdb::OPENVDB_VERSION_NAME::points::SampleWithRounding |
struct | openvdb::OPENVDB_VERSION_NAME::points::DummySampleType |
Namespaces | |
openvdb | |
openvdb::OPENVDB_VERSION_NAME | |
openvdb::OPENVDB_VERSION_NAME::points | |
Functions | |
template<typename PointDataGridT , typename SourceGridT , typename FilterT , typename InterrupterT > | |
void | openvdb::OPENVDB_VERSION_NAME::points::pointSample (PointDataGridT &points, const SourceGridT &sourceGrid, const Name &targetAttribute="", const FilterT &filter=NullFilter(), InterrupterT *const interrupter=nullptr) |
Performs closest point sampling from a VDB grid onto a VDB Points attribute. More... | |
template<typename PointDataGridT , typename SourceGridT , typename FilterT , typename InterrupterT > | |
void | openvdb::OPENVDB_VERSION_NAME::points::boxSample (PointDataGridT &points, const SourceGridT &sourceGrid, const Name &targetAttribute="", const FilterT &filter=NullFilter(), InterrupterT *const interrupter=nullptr) |
Performs tri-linear sampling from a VDB grid onto a VDB Points attribute. More... | |
template<typename PointDataGridT , typename SourceGridT , typename FilterT , typename InterrupterT > | |
void | openvdb::OPENVDB_VERSION_NAME::points::quadraticSample (PointDataGridT &points, const SourceGridT &sourceGrid, const Name &targetAttribute="", const FilterT &filter=NullFilter(), InterrupterT *const interrupter=nullptr) |
Performs tri-quadratic sampling from a VDB grid onto a VDB Points attribute. More... | |
template<typename PointDataGridT , typename SourceGridT , typename TargetValueT , typename SamplerT , typename FilterT , typename InterrupterT > | |
void | openvdb::OPENVDB_VERSION_NAME::points::sampleGrid (size_t order, PointDataGridT &points, const SourceGridT &sourceGrid, const Name &targetAttribute, const FilterT &filter=NullFilter(), const SamplerT &sampler=SampleWithRounding(), InterrupterT *const interrupter=nullptr, const bool threaded=true) |
Performs sampling and conversion from a VDB grid onto a VDB Points attribute. More... | |
Sample a VDB Grid onto a VDB Points attribute.
Definition in file PointSample.h.