11 #ifndef OPENVDB_POINTS_RASTERIZE_TRILINEAR_HAS_BEEN_INCLUDED 12 #define OPENVDB_POINTS_RASTERIZE_TRILINEAR_HAS_BEEN_INCLUDED 35 template <
typename ValueT,
bool Staggered = true>
38 using ResultT =
typename std::conditional<
40 template <
typename Po
intDataTreeT>
41 using TreeT =
typename PointDataTreeT::template ValueConverter<ResultT>::Type;
45 template <
typename ValueT>
49 template <
typename Po
intDataTreeT>
50 using TreeT =
typename PointDataTreeT::template ValueConverter<ResultT>::Type;
71 template <
bool Staggered,
77 const std::string& attribute,
86 #endif //OPENVDB_POINTS_RASTERIZE_TRILINEAR_HAS_BEEN_INCLUDED Framework methods for rasterizing PointDataGrid data to Trees.
General-purpose arithmetic and comparison routines, most of which accept arbitrary value types (or at...
typename PointDataTreeT::template ValueConverter< ResultT >::Type TreeT
Definition: PointRasterizeTrilinear.h:41
Definition: PointRasterizeTrilinear.h:36
ValueT ResultT
Definition: PointRasterizeTrilinear.h:48
Implementation of morphological dilation and erosion.
Definition: Exceptions.h:13
Methods for extracting masks from VDB Point grids.
typename PointDataTreeT::template ValueConverter< ResultT >::Type TreeT
Definition: PointRasterizeTrilinear.h:50
ValueAccessors are designed to help accelerate accesses into the OpenVDB Tree structures by storing c...
Attribute-owned data structure for points. Point attributes are stored in leaf nodes and ordered by v...
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h.in:121
auto rasterizeTrilinear(const PointDataTreeT &points, const std::string &attribute, const FilterT &filter=NullFilter())
Perform weighted trilinear rasterization of all points within a voxel. This method takes and returns ...
Definition: PointRasterizeTrilinearImpl.h:330
typename std::conditional< VecTraits< ValueT >::IsVec, ValueT, math::Vec3< ValueT >>::type ResultT
Definition: PointRasterizeTrilinear.h:39
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h.in:218
A no-op filter that can be used when iterating over all indices.
Definition: IndexIterator.h:51