Checks NaN values.
More...
#include <Diagnostics.h>
template<typename GridT, typename TreeIterT = typename GridT::ValueOnCIter>
struct openvdb::v6_0::tools::CheckNan< GridT, TreeIterT >
Checks NaN values.
◆ ElementType
◆ TileIterT
◆ VoxelIterT
using VoxelIterT = typename tree::IterTraits< typename TreeIterT::NodeT, typename TreeIterT::ValueIterT>::template NodeConverter<typename GridT::TreeType::LeafNodeType>::Type |
◆ CheckNan()
◆ operator()() [1/4]
Return true if the scalar value is NaN.
◆ operator()() [2/4]
std::enable_if<VecTraits<T>::IsVec, bool>::type operator() |
( |
const T & |
v | ) |
const |
|
inline |
This allows for vector values to be checked component-wise.
◆ operator()() [3/4]
bool operator() |
( |
const TreeIterT & |
iter | ) |
const |
|
inline |
Return true if the tile at the iterator location is NaN.
◆ operator()() [4/4]
Return true if the voxel at the iterator location is NaN.
◆ str()
std::string str |
( |
| ) |
const |
|
inline |
Return a string describing a failed check.
The documentation for this struct was generated from the following file: