HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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>
#include "impl/PointMaskImpl.h"
+ Include dependency graph for PointMask.h:
+ This graph shows which files directly or indirectly include this file:

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

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::points
 

Functions

template<typename PointDataTreeT , typename MaskTreeT , typename FilterT >
std::enable_if
< std::is_base_of< TreeBase,
PointDataTreeT >::value
&&std::is_same< typename
MaskTreeT::ValueType, bool >
::value, typename
MaskTreeT::Ptr >::type 
openvdb::OPENVDB_VERSION_NAME::points::convertPointsToMask (const PointDataTreeT &tree, const FilterT &filter=NullFilter(), bool threaded=true)
 Extract a Mask Tree from a Point Data Tree. More...
 
template<typename PointDataGridT , typename MaskGridT , typename FilterT >
std::enable_if
< std::is_base_of< GridBase,
PointDataGridT >::value
&&std::is_same< typename
MaskGridT::ValueType, bool >
::value, typename
MaskGridT::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 FilterT >
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...
 

Detailed Description

Methods for extracting masks from VDB Point grids.

Author
Dan Bailey

Definition in file PointMask.h.