Checks the norm of the gradient against a range, i.e., |∇Φ| ∈ [min, max]. More...
#include <openvdb/tools/Diagnostics.h>
Public Types | |
| using | ValueType = typename GridT::ValueType |
| using | TileIterT = TreeIterT |
| using | VoxelIterT |
| using | AccT = typename GridT::ConstAccessor |
Public Member Functions | |
| CheckNormGrad (const GridT &grid, const ValueType &_min, const ValueType &_max) | |
| Constructor taking a grid and a range to be tested against. | |
| CheckNormGrad (const CheckNormGrad &other) | |
| bool | operator() (const ValueType &v) const |
| Return true if the value is smaller than min or larger than max. | |
| bool | operator() (const TreeIterT &) const |
| Return true if zero is outside the range. | |
| bool | operator() (const VoxelIterT &iter) const |
| Return true if the norm of the gradient at a voxel location of the iterator is out of range. | |
| std::string | str () const |
| Return a string describing a failed check. | |
Public Attributes | |
| AccT | acc |
| const ValueType | invdx2 |
| const ValueType | minVal2 |
| const ValueType | maxVal2 |
Checks the norm of the gradient against a range, i.e., |∇Φ| ∈ [min, max].
| using AccT = typename GridT::ConstAccessor |
| using TileIterT = TreeIterT |
| using ValueType = typename GridT::ValueType |
| using VoxelIterT |
|
inline |
Constructor taking a grid and a range to be tested against.
|
inline |
|
inline |
Return true if zero is outside the range.
|
inline |
Return true if the value is smaller than min or larger than max.
|
inline |
Return true if the norm of the gradient at a voxel location of the iterator is out of range.
|
inline |
Return a string describing a failed check.
| AccT acc |
| const ValueType invdx2 |
| const ValueType maxVal2 |
| const ValueType minVal2 |