OpenVDB  6.1.0
Public Types | Public Member Functions | List of all members
DenseTransformer< _ValueT, OpType > Class Template Reference

Class that applies a functor to the index space intersection of a prescribed bounding box and the dense grid. NB: This class only supports DenseGrids with ZYX memory layout. More...

#include <DenseSparseTools.h>

Public Types

using ValueT = _ValueT
 
using DenseT = Dense< ValueT, openvdb::tools::LayoutZYX >
 
using IntType = openvdb::math::Coord::ValueType
 
using RangeType = tbb::blocked_range2d< IntType, IntType >
 

Public Member Functions

 DenseTransformer (DenseT &dense, const openvdb::math::CoordBBox &bbox, const OpType &functor)
 
 DenseTransformer (const DenseTransformer &other)
 
void apply (bool threaded=true)
 
void operator() (const RangeType &range) const
 

Detailed Description

template<typename _ValueT, typename OpType>
class openvdb::v6_1::tools::DenseTransformer< _ValueT, OpType >

Class that applies a functor to the index space intersection of a prescribed bounding box and the dense grid. NB: This class only supports DenseGrids with ZYX memory layout.

Member Typedef Documentation

using DenseT = Dense<ValueT, openvdb::tools::LayoutZYX>
using IntType = openvdb::math::Coord::ValueType
using RangeType = tbb::blocked_range2d<IntType, IntType>
using ValueT = _ValueT

Constructor & Destructor Documentation

DenseTransformer ( DenseT dense,
const openvdb::math::CoordBBox &  bbox,
const OpType &  functor 
)
inline
DenseTransformer ( const DenseTransformer< _ValueT, OpType > &  other)
inline

Member Function Documentation

void apply ( bool  threaded = true)
inline
void operator() ( const RangeType range) const
inline

The documentation for this class was generated from the following file: