OpenVDB  12.1.0
Classes | Namespaces | Functions
PointRasterizeSDF.h File Reference

Various transfer schemes for rasterizing point positions and radius data to signed distance fields with optional closest point attribute transfers. All methods support arbitrary target linear transformations, fixed or varying point radius, filtering of point data and arbitrary types for attribute transferring. More...

#include "PointDataGrid.h"
#include "PointTransfer.h"
#include "PointStatistics.h"
#include <openvdb/openvdb.h>
#include <openvdb/Types.h>
#include <openvdb/tools/Prune.h>
#include <openvdb/tools/ValueTransformer.h>
#include <openvdb/thread/Threading.h>
#include <openvdb/util/NullInterrupter.h>
#include <openvdb/util/Assert.h>
#include <unordered_map>
#include <tbb/task_group.h>
#include <tbb/parallel_reduce.h>
#include "impl/PointRasterizeSDFImpl.h"
#include "impl/PointRasterizeEllipsoidsSDFImpl.h"

Go to the source code of this file.

Classes

struct  SphereSettings< AttributeTs, RadiusAttributeT, FilterT >
 Generic settings for narrow band spherical stamping with a uniform or varying radius and optionally with closest point attribute transfer of arbitrary attributes. See the struct member documentation for detailed behavior. More...
 
struct  SmoothSphereSettings< AttributeTs, RadiusAttributeT, FilterT >
 Smoothed point distribution based sphere stamping with a uniform radius or varying radius and optionally with closest point attribute transfer of arbitrary attributes. See the struct member documentation for detailed behavior. More...
 
struct  EllipsoidSettings< AttributeTs, RadiusAttributeT, FilterT >
 Anisotropic point rasterization based on the principal component analysis of point neighbours. See the struct member documentation for detailed behavior. More...
 

Namespaces

 openvdb
 
 openvdb::v12_1
 
 openvdb::v12_1::points
 

Functions

template<typename PointDataGridT , typename SdfT = typename PointDataGridT::template ValueConverter<float>::Type, typename SettingsT >
GridPtrVec rasterizeSdf (const PointDataGridT &points, const SettingsT &settings)
 Perform point rasterzation to produce a signed distance field. More...
 

Detailed Description

Various transfer schemes for rasterizing point positions and radius data to signed distance fields with optional closest point attribute transfers. All methods support arbitrary target linear transformations, fixed or varying point radius, filtering of point data and arbitrary types for attribute transferring.

Author
Nick Avramoussis

There are currently three main transfer implementations:

Note
These methods use the framework provided in PointTransfer.h