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

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

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 688 of file DenseSparseTools.h.

Member Typedef Documentation

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

Definition at line 693 of file DenseSparseTools.h.

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

Definition at line 694 of file DenseSparseTools.h.

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

Definition at line 695 of file DenseSparseTools.h.

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

Definition at line 692 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 705 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 715 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 718 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 739 of file DenseSparseTools.h.


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