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>
138 template <
typename PointDataGridT,
154 template <
typename AttributeTs = TypeList<>,
155 typename RadiusAttributeT =
float,
156 typename FilterT = NullFilter>
233 template <
typename AttributeTs = TypeList<>,
234 typename RadiusAttributeT =
float,
235 typename FilterT = NullFilter>
237 :
protected SphereSettings<AttributeTs, RadiusAttributeT, FilterT>
247 using BaseT::radiusScale;
251 using BaseT::halfband;
253 using BaseT::attributes;
255 using BaseT::interrupter;
286 template <
typename AttributeTs = TypeList<>,
287 typename RadiusAttributeT = Vec3f,
288 typename FilterT = NullFilter>
290 :
protected SphereSettings<AttributeTs, RadiusAttributeT, FilterT>
297 using BaseT::halfband;
299 using BaseT::attributes;
301 using BaseT::interrupter;
307 using BaseT::radiusScale;
335 #include "impl/PointRasterizeSDFImpl.h"
336 #include "impl/PointRasterizeEllipsoidsSDFImpl.h"
338 #endif //OPENVDB_POINTS_RASTERIZE_SDF_HAS_BEEN_INCLUDED
math::Transform::Ptr transform
GLdouble GLdouble GLint GLint const GLdouble * points
util::NullInterrupter * interrupter
Smoothed point distribution based sphere stamping with a uniform radius or varying radius and optiona...
NumericAttributeTypes::Append< Vec3AttributeTypes >::Append< Mat3AttributeTypes >::Append< Mat4AttributeTypes >::Append< QuatAttributeTypes >::Append< points::GroupAttributeArray >::Append< points::StringAttributeArray >::Append< points::TypedAttributeArray< bool >> AttributeTypes
The attribute array types which OpenVDB will register by default.
Framework methods for rasterizing PointDataGrid data to Trees.
#define OPENVDB_USE_VERSION_NAMESPACE
Selectively extract and filter point data using a custom filter operator.
Base class for interrupters.
std::vector< GridBase::Ptr > GridPtrVec
AttributeTs AttributeTypes
Generic settings for narrow band spherical stamping with a uniform or varying radius and optionally w...
Defined various multi-threaded utility functions for trees.
SIM_API const UT_StringHolder rotation
GridPtrVec rasterizeSdf(const PointDataGridT &points, const SettingsT &settings)
Perform point rasterzation to produce a signed distance field.
GA_API const UT_StringHolder transform
RadiusAttributeT RadiusAttributeType
Functions to perform multi threaded reductions and analysis of arbitrary point attribute types...
Anisotropic point rasterization based on the principal component analysis of point neighbours...
std::vector< std::string > attributes
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Attribute-owned data structure for points. Point attributes are stored in leaf nodes and ordered by v...
typename PromoteType< RadiusAttributeT >::Highest RadiusScaleT
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter