HDK
|
Checks NaN values. More...
#include <Diagnostics.h>
Public Types | |
using | ElementType = typename VecTraits< typename GridT::ValueType >::ElementType |
using | TileIterT = TreeIterT |
using | VoxelIterT = typename tree::IterTraits< typename TreeIterT::NodeT, typename TreeIterT::ValueIterT >::template NodeConverter< typename GridT::TreeType::LeafNodeType >::Type |
Public Member Functions | |
CheckNan () | |
Default constructor. More... | |
bool | operator() (const ElementType &v) const |
Return true if the scalar value is NaN. More... | |
template<typename T > | |
std::enable_if< VecTraits< T > ::IsVec, bool >::type | operator() (const T &v) const |
This allows for vector values to be checked component-wise. More... | |
bool | operator() (const TreeIterT &iter) const |
Return true if the tile at the iterator location is NaN. More... | |
bool | operator() (const VoxelIterT &iter) const |
Return true if the voxel at the iterator location is NaN. More... | |
std::string | str () const |
Return a string describing a failed check. More... | |
Checks NaN values.
Definition at line 111 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckNan< GridT, TreeIterT >::ElementType = typename VecTraits<typename GridT::ValueType>::ElementType |
Definition at line 113 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckNan< GridT, TreeIterT >::TileIterT = TreeIterT |
Definition at line 114 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckNan< GridT, TreeIterT >::VoxelIterT = typename tree::IterTraits< typename TreeIterT::NodeT, typename TreeIterT::ValueIterT>::template NodeConverter<typename GridT::TreeType::LeafNodeType>::Type |
Definition at line 117 of file Diagnostics.h.
|
inline |
Default constructor.
Definition at line 120 of file Diagnostics.h.
|
inline |
Return true if the scalar value is NaN.
Definition at line 123 of file Diagnostics.h.
|
inline |
This allows for vector values to be checked component-wise.
Definition at line 128 of file Diagnostics.h.
|
inline |
Return true if the tile at the iterator location is NaN.
Definition at line 135 of file Diagnostics.h.
|
inline |
Return true if the voxel at the iterator location is NaN.
Definition at line 138 of file Diagnostics.h.
|
inline |
Return a string describing a failed check.
Definition at line 141 of file Diagnostics.h.