HDK
|
Checks the norm of the gradient at zero-crossing voxels against a range. More...
#include <Diagnostics.h>
Public Types | |
using | ValueType = typename GridT::ValueType |
using | TileIterT = TreeIterT |
using | VoxelIterT = typename tree::IterTraits< typename TreeIterT::NodeT, typename TreeIterT::ValueIterT >::template NodeConverter< typename GridT::TreeType::LeafNodeType >::Type |
Public Member Functions | |
CheckEikonal (const GridT &grid, const ValueType &_min, const ValueType &_max) | |
Constructor taking a grid and a range to be tested against. More... | |
CheckEikonal (const CheckEikonal &other) | |
bool | operator() (const ValueType &v) const |
Return true if the value is smaller than min or larger than max. More... | |
bool | operator() (const TreeIterT &) const |
Return true if zero is outside the range. More... | |
bool | operator() (const VoxelIterT &iter) const |
Return true if the norm of the gradient at a zero-crossing voxel location of the iterator is out of range. More... | |
std::string | str () const |
Return a string describing a failed check. More... | |
Public Attributes | |
StencilT | stencil |
const ValueType | minVal |
const ValueType | maxVal |
Checks the norm of the gradient at zero-crossing voxels against a range.
CheckEikonal differs from CheckNormGrad in that it only checks the norm of the gradient at voxel locations where the FD-stencil crosses the zero isosurface!
Definition at line 498 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckEikonal< GridT, TreeIterT, StencilT >::TileIterT = TreeIterT |
Definition at line 503 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckEikonal< GridT, TreeIterT, StencilT >::ValueType = typename GridT::ValueType |
Definition at line 500 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckEikonal< GridT, TreeIterT, StencilT >::VoxelIterT = typename tree::IterTraits<typename TreeIterT::NodeT, typename TreeIterT::ValueIterT> ::template NodeConverter< typename GridT::TreeType::LeafNodeType>::Type |
Definition at line 506 of file Diagnostics.h.
|
inline |
Constructor taking a grid and a range to be tested against.
Definition at line 509 of file Diagnostics.h.
|
inline |
Definition at line 520 of file Diagnostics.h.
|
inline |
Return true if the value is smaller than min or larger than max.
Definition at line 526 of file Diagnostics.h.
|
inline |
Return true if zero is outside the range.
Definition at line 530 of file Diagnostics.h.
|
inline |
Return true if the norm of the gradient at a zero-crossing voxel location of the iterator is out of range.
Definition at line 534 of file Diagnostics.h.
|
inline |
Return a string describing a failed check.
Definition at line 542 of file Diagnostics.h.
const ValueType openvdb::OPENVDB_VERSION_NAME::tools::CheckEikonal< GridT, TreeIterT, StencilT >::maxVal |
Definition at line 550 of file Diagnostics.h.
const ValueType openvdb::OPENVDB_VERSION_NAME::tools::CheckEikonal< GridT, TreeIterT, StencilT >::minVal |
Definition at line 550 of file Diagnostics.h.
|
mutable |
Definition at line 549 of file Diagnostics.h.