OpenVDB: Voxelizer< TreeT > Struct Template Reference

OpenVDB 8.1.0

Classes | Public Types | Public Member Functions | List of all members
Voxelizer< TreeT > Struct Template Reference

`#include <Filter.h>`

## Public Types
using | NodeManagerT = tree::NodeManager< TreeT, TreeT::RootNodeType::LEVEL-1 >
using | MaskT = typename TreeT::template ValueConverter< ValueMask >::Type

## Public Member Functions
| Voxelizer (TreeT &tree, const bool allNeighbours, const size_t grainSize)
int | run (const int width)
| Convert tiles to leaf nodes that exist at a particular voxel distance away. More...

## Member Typedef Documentation

## ◆ MaskT

using MaskT = typename TreeT::template ValueConverter<ValueMask>::Type

## ◆ NodeManagerT

using NodeManagerT = tree::NodeManager<TreeT, TreeT::RootNodeType::LEVEL-1>

## Constructor & Destructor Documentation

## ◆ Voxelizer()

Voxelizer | ( | TreeT & | tree,
|  | const bool | allNeighbours,
|  | const size_t | grainSize
| ) |  |
| inline

## Member Function Documentation

## ◆ run()

int run | ( | const int | width | ) |
| inline

Convert tiles to leaf nodes that exist at a particular voxel distance away.

Parameters

  width | distance in voxels to seach for tiles from each leaf

Returns
  Returns how many search iterations were performed, which also represents how many leaf node neighbours may have been created. Returns 0 if the tree is already entirely voxelized

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

- Filter.h