VTK-m  2.2
vtkm::worklet::BoundaryClamp Struct Reference

Clamps boundary values to the nearest valid i,j,k value. More...

#include <BoundaryTypes.h>

Detailed Description

Clamps boundary values to the nearest valid i,j,k value.

BoundaryClamp always returns the nearest valid i,j,k value when at an image boundary. This is a commonly used when solving differential equations.

For example, when used with WorkletCellNeighborhood3x3x3 when centered on the point 1:

* * *
* 1 2 (where * denotes points that lie outside of the image boundary)
* 3 5

returns the following neighborhood of values:

1 1 2
1 1 2
3 3 5

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