HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tools::CopyToDense< _TreeT, _DenseT > Class Template Reference

Copy an OpenVDB tree into an existing dense grid. More...

#include <Dense.h>

Public Types

using DenseT = _DenseT
 
using TreeT = _TreeT
 
using ValueT = typename TreeT::ValueType
 

Public Member Functions

 CopyToDense (const TreeT &tree, DenseT &dense)
 
void copy (bool serial=false) const
 
void operator() (const CoordBBox &bbox) const
 Public method called by tbb::parallel_for. More...
 

Detailed Description

template<typename _TreeT, typename _DenseT = Dense<typename _TreeT::ValueType>>
class openvdb::OPENVDB_VERSION_NAME::tools::CopyToDense< _TreeT, _DenseT >

Copy an OpenVDB tree into an existing dense grid.

Note
Only voxels that intersect the dense grid's bounding box are copied from the OpenVDB tree. But both active and inactive voxels are copied, so all existing values in the dense grid are overwritten, regardless of the OpenVDB tree's topology.

Definition at line 387 of file Dense.h.

Member Typedef Documentation

template<typename _TreeT, typename _DenseT = Dense<typename _TreeT::ValueType>>
using openvdb::OPENVDB_VERSION_NAME::tools::CopyToDense< _TreeT, _DenseT >::DenseT = _DenseT

Definition at line 390 of file Dense.h.

template<typename _TreeT, typename _DenseT = Dense<typename _TreeT::ValueType>>
using openvdb::OPENVDB_VERSION_NAME::tools::CopyToDense< _TreeT, _DenseT >::TreeT = _TreeT

Definition at line 391 of file Dense.h.

template<typename _TreeT, typename _DenseT = Dense<typename _TreeT::ValueType>>
using openvdb::OPENVDB_VERSION_NAME::tools::CopyToDense< _TreeT, _DenseT >::ValueT = typename TreeT::ValueType

Definition at line 392 of file Dense.h.

Constructor & Destructor Documentation

template<typename _TreeT, typename _DenseT = Dense<typename _TreeT::ValueType>>
openvdb::OPENVDB_VERSION_NAME::tools::CopyToDense< _TreeT, _DenseT >::CopyToDense ( const TreeT tree,
DenseT dense 
)
inline

Definition at line 394 of file Dense.h.

Member Function Documentation

template<typename _TreeT, typename _DenseT = Dense<typename _TreeT::ValueType>>
void openvdb::OPENVDB_VERSION_NAME::tools::CopyToDense< _TreeT, _DenseT >::copy ( bool  serial = false) const
inline

Definition at line 397 of file Dense.h.

template<typename _TreeT, typename _DenseT = Dense<typename _TreeT::ValueType>>
void openvdb::OPENVDB_VERSION_NAME::tools::CopyToDense< _TreeT, _DenseT >::operator() ( const CoordBBox &  bbox) const
inline

Public method called by tbb::parallel_for.

Definition at line 407 of file Dense.h.


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