|
OpenVDB 11.0.0
|
Checks the divergence against a range. More...
#include <openvdb/tools/Diagnostics.h>
Public Types | |
| using | ValueType = typename GridT::ValueType |
| using | ElementType = typename VecTraits< ValueType >::ElementType |
| using | TileIterT = TreeIterT |
| using | VoxelIterT = typename tree::IterTraits< typename TreeIterT::NodeT, typename TreeIterT::ValueIterT >::template NodeConverter< typename GridT::TreeType::LeafNodeType >::Type |
| using | AccT = typename GridT::ConstAccessor |
Public Member Functions | |
| CheckDivergence (const GridT &grid, const ValueType &_min, const ValueType &_max) | |
| Constructor taking a grid and a range to be tested against. | |
| bool | operator() (const ElementType &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 divergence 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 | invdx |
| const ValueType | minVal |
| const ValueType | maxVal |
Checks the divergence against a range.
| using AccT = typename GridT::ConstAccessor |
| using ElementType = typename VecTraits<ValueType>::ElementType |
| using TileIterT = TreeIterT |
| using ValueType = typename GridT::ValueType |
| using VoxelIterT = typename tree::IterTraits<typename TreeIterT::NodeT, typename TreeIterT::ValueIterT>::template NodeConverter< typename GridT::TreeType::LeafNodeType>::Type |
|
inline |
Constructor taking a grid and a range to be tested against.
|
inline |
Return true if the value is smaller than min or larger than max.
|
inline |
Return true if zero is outside the range.
|
inline |
Return true if the divergence at a voxel location of the iterator is out of range.
|
inline |
Return a string describing a failed check.
| AccT acc |
| const ValueType invdx |
| const ValueType maxVal |
| const ValueType minVal |