OpenVDB  1.2.0
Classes | Namespaces | Constant Groups | Functions
Dense.h File Reference

This file defines a simple dense grid and efficient converters to and from VDB grids. More...

#include <openvdb/Types.h>
#include <openvdb/Grid.h>
#include <openvdb/Exceptions.h>
#include <tbb/parallel_for.h>

Go to the source code of this file.

Classes

class  Dense< ValueT >
 Dense is a simple dense grid API used by the CopyToDense and CopyFromDense classes defined below. More...
 
class  Dense< ValueT >
 Dense is a simple dense grid API used by the CopyToDense and CopyFromDense classes defined below. More...
 
class  CopyToDense< TreeT >
 Copy an OpenVDB tree into an existing dense grid. More...
 
class  CopyFromDense< TreeT >
 Copy the values from a dense grid into an OpenVDB tree. More...
 

Namespaces

 openvdb
 
 openvdb::v1_2_0
 
 openvdb::v1_2_0::tools
 

Constant Groups

 openvdb
 
 openvdb::v1_2_0
 
 openvdb::v1_2_0::tools
 

Functions

template<typename GridOrTreeT >
void copyToDense (const GridOrTreeT &sparse, Dense< typename GridOrTreeT::ValueType > &dense, bool serial=false)
 Populate a dense grid with the values of voxels from a sparse grid, where the sparse grid intersects the dense grid. More...
 
template<typename GridOrTreeT >
void copyFromDense (const Dense< typename GridOrTreeT::ValueType > &dense, GridOrTreeT &sparse, const typename GridOrTreeT::ValueType &tolerance, bool serial=false)
 Populate a sparse grid with the values of all of the voxels of a dense grid. More...
 

Detailed Description

This file defines a simple dense grid and efficient converters to and from VDB grids.