HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tools::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::OPENVDB_VERSION_NAME::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.

Definition at line 644 of file DenseSparseTools.h.

Member Typedef Documentation

template<typename _ValueT, typename OpType>
using openvdb::OPENVDB_VERSION_NAME::tools::DenseTransformer< _ValueT, OpType >::DenseT = Dense<ValueT, openvdb::tools::LayoutZYX>

Definition at line 648 of file DenseSparseTools.h.

template<typename _ValueT, typename OpType>
using openvdb::OPENVDB_VERSION_NAME::tools::DenseTransformer< _ValueT, OpType >::IntType = openvdb::math::Coord::ValueType

Definition at line 649 of file DenseSparseTools.h.

template<typename _ValueT, typename OpType>
using openvdb::OPENVDB_VERSION_NAME::tools::DenseTransformer< _ValueT, OpType >::RangeType = tbb::blocked_range2d<IntType, IntType>

Definition at line 650 of file DenseSparseTools.h.

template<typename _ValueT, typename OpType>
using openvdb::OPENVDB_VERSION_NAME::tools::DenseTransformer< _ValueT, OpType >::ValueT = _ValueT

Definition at line 647 of file DenseSparseTools.h.

Constructor & Destructor Documentation

template<typename _ValueT, typename OpType>
openvdb::OPENVDB_VERSION_NAME::tools::DenseTransformer< _ValueT, OpType >::DenseTransformer ( DenseT dense,
const openvdb::math::CoordBBox &  bbox,
const OpType &  functor 
)
inline

Definition at line 658 of file DenseSparseTools.h.

template<typename _ValueT, typename OpType>
openvdb::OPENVDB_VERSION_NAME::tools::DenseTransformer< _ValueT, OpType >::DenseTransformer ( const DenseTransformer< _ValueT, OpType > &  other)
inline

Definition at line 666 of file DenseSparseTools.h.

Member Function Documentation

template<typename _ValueT, typename OpType>
void openvdb::OPENVDB_VERSION_NAME::tools::DenseTransformer< _ValueT, OpType >::apply ( bool  threaded = true)
inline

Definition at line 669 of file DenseSparseTools.h.

template<typename _ValueT, typename OpType>
void openvdb::OPENVDB_VERSION_NAME::tools::DenseTransformer< _ValueT, OpType >::operator() ( const RangeType range) const
inline

Definition at line 690 of file DenseSparseTools.h.


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