11#ifndef OPENVDB_POINTS_RASTERIZE_TRILINEAR_HAS_BEEN_INCLUDED
12#define OPENVDB_POINTS_RASTERIZE_TRILINEAR_HAS_BEEN_INCLUDED
35template <
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;
45template <
typename ValueT>
49 template <
typename Po
intDataTreeT>
50 using TreeT =
typename PointDataTreeT::template ValueConverter<ResultT>::Type;
71template <
bool Staggered,
77 const std::string& attribute,
General-purpose arithmetic and comparison routines, most of which accept arbitrary value types (or at...
Implementation of morphological dilation and erosion.
Attribute-owned data structure for points. Point attributes are stored in leaf nodes and ordered by v...
Methods for extracting masks from VDB Point grids.
Framework methods for rasterizing PointDataGrid data to Trees.
ValueAccessors are designed to help accelerate accesses into the OpenVDB Tree structures by storing c...
A no-op filter that can be used when iterating over all indices.
Definition IndexIterator.h:52
Definition AttributeArray.h:42
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
tree::Tree< tree::RootNode< tree::InternalNode< tree::InternalNode< PointDataLeafNode< PointDataIndex32, 3 >, 4 >, 5 > > > PointDataTree
Point index tree configured to match the default VDB configurations.
Definition PointDataGrid.h:190
Definition Exceptions.h:13
static const bool IsVec
Definition Types.h:245
typename PointDataTreeT::template ValueConverter< ResultT >::Type TreeT
Definition PointRasterizeTrilinear.h:50
ValueT ResultT
Definition PointRasterizeTrilinear.h:48
Definition PointRasterizeTrilinear.h:37
typename std::conditional< VecTraits< ValueT >::IsVec, ValueT, math::Vec3< ValueT > >::type ResultT
Definition PointRasterizeTrilinear.h:38
typename PointDataTreeT::template ValueConverter< ResultT >::Type TreeT
Definition PointRasterizeTrilinear.h:41
#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