68#ifndef OPENVDB_POINTS_RASTERIZE_SDF_HAS_BEEN_INCLUDED
69#define OPENVDB_POINTS_RASTERIZE_SDF_HAS_BEEN_INCLUDED
83#include <unordered_map>
85#include <tbb/task_group.h>
86#include <tbb/parallel_reduce.h>
138template <
typename PointDataGridT,
139 typename SdfT =
typename PointDataGridT::template ValueConverter<float>::Type,
154template <
typename AttributeTs = TypeList<>,
155 typename RadiusAttributeT =
float,
156 typename FilterT = NullFilter>
233template <
typename AttributeTs = TypeList<>,
234 typename RadiusAttributeT =
float,
235 typename FilterT = NullFilter>
237 :
protected SphereSettings<AttributeTs, RadiusAttributeT, FilterT>
286template <
typename AttributeTs = TypeList<>,
287 typename RadiusAttributeT = Vec3f,
288 typename FilterT = NullFilter>
290 :
protected SphereSettings<AttributeTs, RadiusAttributeT, FilterT>
335#include "impl/PointRasterizeSDFImpl.h"
336#include "impl/PointRasterizeEllipsoidsSDFImpl.h"
Attribute-owned data structure for points. Point attributes are stored in leaf nodes and ordered by v...
Functions to perform multi threaded reductions and analysis of arbitrary point attribute types....
Framework methods for rasterizing PointDataGrid data to Trees.
Defined various multi-threaded utility functions for trees.
Definition AttributeArray.h:42
GridPtrVec rasterizeSdf(const PointDataGridT &points, const SettingsT &settings)
Perform point rasterzation to produce a signed distance field.
static const Real LEVEL_SET_HALF_WIDTH
Definition Types.h:532
std::vector< GridBase::Ptr > GridPtrVec
Definition Grid.h:508
double Real
Definition Types.h:40
Definition Exceptions.h:13
Anisotropic point rasterization based on the principal component analysis of point neighbours....
Definition PointRasterizeSDF.h:291
std::string rotation
Definition PointRasterizeSDF.h:326
typename BaseT::AttributeTypes AttributeTypes
Definition PointRasterizeSDF.h:293
typename BaseT::RadiusAttributeType RadiusAttributeType
Definition PointRasterizeSDF.h:294
SphereSettings< AttributeTs, RadiusAttributeT, FilterT > BaseT
Definition PointRasterizeSDF.h:292
std::string xform
Definition PointRasterizeSDF.h:315
std::string pws
Definition PointRasterizeSDF.h:321
typename BaseT::FilterType FilterType
Definition PointRasterizeSDF.h:295
Smoothed point distribution based sphere stamping with a uniform radius or varying radius and optiona...
Definition PointRasterizeSDF.h:238
typename BaseT::AttributeTypes AttributeTypes
Definition PointRasterizeSDF.h:240
typename BaseT::RadiusAttributeType RadiusAttributeType
Definition PointRasterizeSDF.h:241
SphereSettings< AttributeTs, RadiusAttributeT, FilterT > BaseT
Definition PointRasterizeSDF.h:239
Real searchRadius
Definition PointRasterizeSDF.h:267
typename BaseT::FilterType FilterType
Definition PointRasterizeSDF.h:242
Generic settings for narrow band spherical stamping with a uniform or varying radius and optionally w...
Definition PointRasterizeSDF.h:158
std::vector< std::string > attributes
Definition PointRasterizeSDF.h:217
const FilterT * filter
Definition PointRasterizeSDF.h:222
math::Transform::Ptr transform
Definition PointRasterizeSDF.h:188
Real halfband
Definition PointRasterizeSDF.h:184
RadiusScaleT radiusScale
Definition PointRasterizeSDF.h:181
RadiusAttributeT RadiusAttributeType
Definition PointRasterizeSDF.h:160
typename PromoteType< RadiusAttributeT >::Highest RadiusScaleT
Definition PointRasterizeSDF.h:180
util::NullInterrupter * interrupter
Definition PointRasterizeSDF.h:225
FilterT FilterType
Definition PointRasterizeSDF.h:161
AttributeTs AttributeTypes
Definition PointRasterizeSDF.h:159
std::string radius
Definition PointRasterizeSDF.h:170
Base class for interrupters.
Definition NullInterrupter.h:26
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition version.h.in:121
#define OPENVDB_USE_VERSION_NAMESPACE
Definition version.h.in:218