OpenVDB  9.0.1
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  NullDeformer
 No-op deformer (adheres to the deformer interface documented in PointMove.h) More...
 
struct  DeformerTraits< DeformerT >
 Deformer Traits for optionally configuring deformers to be applied in index-space. The default is world-space. More...
 

Namespaces

 openvdb
 
 openvdb::v9_0
 
 openvdb::v9_0::points
 

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 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 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...
 

Detailed Description

Methods for extracting masks from VDB Point grids.

Author
Dan Bailey