HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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/tree/ValueAccessor.h>
#include <openvdb/Exceptions.h>
#include <openvdb/util/Formats.h>
#include "Prune.h"
#include <tbb/parallel_for.h>
#include <iostream>
#include <memory>
#include <string>
#include <utility>
#include <vector>
+ Include dependency graph for Dense.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openvdb::OPENVDB_VERSION_NAME::tools::DenseBase< ValueT, Layout >
 Base class for Dense which is defined below. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::DenseBase< ValueT, LayoutZYX >
 Partial template specialization of DenseBase. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::DenseBase< ValueT, LayoutXYZ >
 Partial template specialization of DenseBase. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::Dense< ValueT, Layout >
 Dense is a simple dense grid API used by the CopyToDense and CopyFromDense classes defined below. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::CopyToDense< _TreeT, _DenseT >
 Copy an OpenVDB tree into an existing dense grid. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::CopyFromDense< _TreeT, _DenseT >
 Copy the values from a dense grid into an OpenVDB tree. More...
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::tools
 

Enumerations

enum  openvdb::OPENVDB_VERSION_NAME::tools::MemoryLayout { openvdb::OPENVDB_VERSION_NAME::tools::LayoutXYZ, openvdb::OPENVDB_VERSION_NAME::tools::LayoutZYX }
 

Functions

template<typename DenseT , typename GridOrTreeT >
void openvdb::OPENVDB_VERSION_NAME::tools::copyToDense (const GridOrTreeT &sparse, DenseT &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 DenseT , typename GridOrTreeT >
void openvdb::OPENVDB_VERSION_NAME::tools::copyFromDense (const DenseT &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.

Definition in file Dense.h.