HDK
|
Methods for extracting masks from VDB Point grids. More...
#include <openvdb/openvdb.h>
#include <openvdb/tools/ValueTransformer.h>
#include "PointDataGrid.h"
#include "IndexFilter.h"
#include <tbb/combinable.h>
#include <type_traits>
#include <vector>
Go to the source code of this file.
Classes | |
struct | openvdb::OPENVDB_VERSION_NAME::points::NullDeformer |
No-op deformer (adheres to the deformer interface documented in PointMove.h) More... | |
struct | openvdb::OPENVDB_VERSION_NAME::points::DeformerTraits< DeformerT > |
Deformer Traits for optionally configuring deformers to be applied in index-space. The default is world-space. More... | |
struct | openvdb::OPENVDB_VERSION_NAME::points::point_mask_internal::GridCombinerOp< GridT > |
Combines multiple grids into one by stealing leaf nodes and summing voxel values This class is designed to work with thread local storage containers such as tbb::combinable. More... | |
struct | openvdb::OPENVDB_VERSION_NAME::points::point_mask_internal::PointsToScalarOp< GridT, PointDataGridT, FilterT > |
Compute scalar grid from PointDataGrid while evaluating the point filter. More... | |
struct | openvdb::OPENVDB_VERSION_NAME::points::point_mask_internal::PointsToTransformedScalarOp< GridT, PointDataGridT, FilterT, DeformerT > |
Compute scalar grid from PointDataGrid using a different transform and while evaluating the point filter. More... | |
Namespaces | |
openvdb | |
openvdb::OPENVDB_VERSION_NAME | |
openvdb::OPENVDB_VERSION_NAME::points | |
openvdb::OPENVDB_VERSION_NAME::points::point_mask_internal | |
Functions | |
template<typename PointDataGridT , typename MaskT = typename PointDataGridT::template ValueConverter<bool>::Type, typename FilterT = NullFilter> | |
std::enable_if< std::is_same < typename MaskT::ValueType, bool >::value, typename MaskT::Ptr >::type | openvdb::OPENVDB_VERSION_NAME::points::convertPointsToMask (const PointDataGridT &grid, const FilterT &filter=NullFilter(), bool threaded=true) |
Extract a Mask Grid from a Point Data Grid. More... | |
template<typename PointDataGridT , typename MaskT = typename PointDataGridT::template ValueConverter<bool>::Type, typename FilterT = NullFilter> | |
std::enable_if< std::is_same < typename MaskT::ValueType, bool >::value, typename MaskT::Ptr >::type | openvdb::OPENVDB_VERSION_NAME::points::convertPointsToMask (const PointDataGridT &grid, const openvdb::math::Transform &transform, const FilterT &filter=NullFilter(), bool threaded=true) |
Extract a Mask Grid from a Point Data Grid using a new transform. More... | |
template<typename LeafT > | |
void | openvdb::OPENVDB_VERSION_NAME::points::point_mask_internal::voxelSum (LeafT &leaf, const Index offset, const typename LeafT::ValueType &value) |
template<typename T , Index Log2Dim> | |
void | openvdb::OPENVDB_VERSION_NAME::points::point_mask_internal::voxelSum (PointDataLeafNode< T, Log2Dim > &leaf, const Index offset, const typename PointDataLeafNode< T, Log2Dim >::ValueType &value) |
template<typename GridT , typename PointDataGridT , typename FilterT > | |
GridT::Ptr | openvdb::OPENVDB_VERSION_NAME::points::point_mask_internal::convertPointsToScalar (const PointDataGridT &points, const FilterT &filter, bool threaded=true) |
template<typename GridT , typename PointDataGridT , typename FilterT , typename DeformerT > | |
GridT::Ptr | openvdb::OPENVDB_VERSION_NAME::points::point_mask_internal::convertPointsToScalar (PointDataGridT &points, const openvdb::math::Transform &transform, const FilterT &filter, const DeformerT &deformer, bool threaded=true) |
Methods for extracting masks from VDB Point grids.
Definition in file PointMask.h.