OpenVDB 5.1.0

Classes | Namespaces | Functions
PointMask.h File Reference

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 | 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 | PointsToScalarOp< GridT, PointDataGridT, FilterT >
| Compute scalar grid from PointDataGrid while evaluating the point filter. More...
struct | PointsToTransformedScalarOp< GridT, PointDataGridT, FilterT >
| Compute scalar grid from PointDataGrid using a different transform and while evaluating the point filter. More...

## Namespaces
| openvdb
| openvdb::v5_1
| openvdb::v5_1::points
| openvdb::v5_1::points::point_mask_internal

## Functions
template<typename PointDataGridT , typename MaskT = typename PointDataGridT::template ValueConverter<bool>::Type>
std::enable_if< std::is_same< typename MaskT::ValueType, bool >::value, typename MaskT::Ptr >::type | convertPointsToMask (const PointDataGridT &grid, const std::vector< Name > &includeGroups=std::vector< Name >(), const std::vector< Name > &excludeGroups=std::vector< Name >())
| Extract a Mask Grid from a Point Data Grid. More...
template<typename PointDataGridT , typename MaskT = typename PointDataGridT::template ValueConverter<bool>::Type>
std::enable_if< std::is_same< typename MaskT::ValueType, bool >::value, typename MaskT::Ptr >::type | convertPointsToMask (const PointDataGridT &grid, const openvdb::math::Transform &transform, const std::vector< Name > &includeGroups=std::vector< Name >(), const std::vector< Name > &excludeGroups=std::vector< Name >())
| Extract a Mask Grid from a Point Data Grid using a new transform. More...
template<typename PointDataGridT , typename GridT >
GridT::Ptr | convertPointsToScalar (const PointDataGridT &points, const std::vector< Name > &includeGroups, const std::vector< Name > &excludeGroups)
template<typename PointDataGridT , typename GridT >
GridT::Ptr | convertPointsToScalar (const PointDataGridT &points, const openvdb::math::Transform &transform, const std::vector< Name > &includeGroups, const std::vector< Name > &excludeGroups)

## Detailed Description

Methods for extracting masks from VDB Point grids.

Author
  Dan Bailey