VTK-m
2.0
|
Clamps boundary values to the nearest valid i,j,k value. More...
#include <BoundaryTypes.h>
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:
returns the following neighborhood of values: