OpenVDB 7.0.0

Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Morphology< TreeType > Class Template Reference

`#include <Morphology.h>`

## Classes
struct | CopyMasks
struct | ErodeVoxelsOp
struct | LeafCache
struct | MaskManager
struct | Neighbor
struct | UpdateMasks

## Public Types
using | ManagerType = tree::LeafManager< TreeType >

## Public Member Functions
| Morphology (TreeType &tree)
| Morphology (ManagerType *mgr)
virtual | ~Morphology ()
void | dilateVoxels6 ()
| Face-adjacent dilation pattern. More...
void | dilateVoxels18 ()
| Face- and edge-adjacent dilation pattern. More...
void | dilateVoxels26 ()
| Face-, edge- and vertex-adjacent dilation pattern. More...
void | dilateVoxels (int iterations=1, NearestNeighbors nn=NN_FACE)
void | erodeVoxels6 ()
| Face-adjacent erosion pattern. More...
void | erodeVoxels18 ()
| Face- and edge-adjacent erosion pattern. More...
void | erodeVoxels26 ()
| Face-, edge- and vertex-adjacent erosion pattern. More...
void | erodeVoxels (int iterations=1, NearestNeighbors nn=NN_FACE)

## Protected Types
using | LeafType = typename TreeType::LeafNodeType
using | MaskType = typename LeafType::NodeMaskType
using | AccessorType = tree::ValueAccessor< TreeType >
using | Word = typename DimToWord< LEAF_LOG2DIM >::Type

## Protected Member Functions
void | doErosion (NearestNeighbors nn)
void | copyMasks (std::vector< MaskType > &a, const ManagerType &b)

## Protected Attributes
const bool | mOwnsManager
ManagerType * | mManager
AccessorType | mAcc
int | mSteps

## Static Protected Attributes
static const int | LEAF_DIM = LeafType::DIM
static const int | LEAF_LOG2DIM = LeafType::LOG2DIM

## Member Typedef Documentation

## ◆ AccessorType

using AccessorType = tree::ValueAccessor<TreeType>
| protected

## ◆ LeafType

using LeafType = typename TreeType::LeafNodeType
| protected

## ◆ ManagerType

using ManagerType = tree::LeafManager<TreeType>

## ◆ MaskType

using MaskType = typename LeafType::NodeMaskType
| protected

## ◆ Word

using Word = typename DimToWord<LEAF_LOG2DIM>::Type
| protected

## Constructor & Destructor Documentation

## ◆ Morphology() [1/2]

Morphology | ( | TreeType & | tree | ) |
| inline

## ◆ Morphology() [2/2]

Morphology | ( | ManagerType * | mgr | ) |
| inline

## ◆ ~Morphology()

virtual ~Morphology | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ copyMasks()

void copyMasks | ( | std::vector< MaskType > & | a,
|  | const ManagerType & | b
| ) |  |
| inline protected

## ◆ dilateVoxels()

void dilateVoxels | ( | int | iterations = `1`,
|  | NearestNeighbors | nn = `NN_FACE`
| ) |  |
| inline

## ◆ dilateVoxels18()

void dilateVoxels18 | ( |  | ) |
| inline

Face- and edge-adjacent dilation pattern.

## ◆ dilateVoxels26()

void dilateVoxels26 | ( |  | ) |
| inline

Face-, edge- and vertex-adjacent dilation pattern.

## ◆ dilateVoxels6()

void dilateVoxels6 | ( |  | ) |
| inline

Face-adjacent dilation pattern.

## ◆ doErosion()

void doErosion | ( | NearestNeighbors | nn | ) |
| inline protected

## ◆ erodeVoxels()

void erodeVoxels | ( | int | iterations = `1`,
|  | NearestNeighbors | nn = `NN_FACE`
| ) |  |
| inline

## ◆ erodeVoxels18()

void erodeVoxels18 | ( |  | ) |
| inline

Face- and edge-adjacent erosion pattern.

## ◆ erodeVoxels26()

void erodeVoxels26 | ( |  | ) |
| inline

Face-, edge- and vertex-adjacent erosion pattern.

## ◆ erodeVoxels6()

void erodeVoxels6 | ( |  | ) |
| inline

Face-adjacent erosion pattern.

## Member Data Documentation

## ◆ LEAF_DIM

const int LEAF_DIM = LeafType::DIM
| static protected

## ◆ LEAF_LOG2DIM

const int LEAF_LOG2DIM = LeafType::LOG2DIM
| static protected

## ◆ mAcc

AccessorType mAcc
| protected

## ◆ mManager

ManagerType* mManager
| protected

## ◆ mOwnsManager

const bool mOwnsManager
| protected

## ◆ mSteps

int mSteps
| protected

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

- Morphology.h