HDK
|
Checks for both NaN and inf values, i.e. any value that is not finite. 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 | |
CheckFinite () | |
Default constructor. More... | |
bool | operator() (const ElementType &v) const |
Return true if the value is NOT finite, i.e. it's NaN or infinite. More... | |
template<typename T > | |
std::enable_if< VecTraits< T > ::IsVec, bool >::type | operator() (const T &v) const |
Return true if any of the vector components are NaN or infinite. More... | |
bool | operator() (const TreeIterT &iter) const |
Return true if the tile at the iterator location is NaN or infinite. More... | |
bool | operator() (const VoxelIterT &iter) const |
Return true if the tile at the iterator location is NaN or infinite. More... | |
std::string | str () const |
Return a string describing a failed check. More... | |
Checks for both NaN and inf values, i.e. any value that is not finite.
Definition at line 188 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckFinite< GridT, TreeIterT >::ElementType = typename VecTraits<typename GridT::ValueType>::ElementType |
Definition at line 190 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckFinite< GridT, TreeIterT >::TileIterT = TreeIterT |
Definition at line 191 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckFinite< GridT, TreeIterT >::VoxelIterT = typename tree::IterTraits<typename TreeIterT::NodeT, typename TreeIterT::ValueIterT> ::template NodeConverter< typename GridT::TreeType::LeafNodeType>::Type |
Definition at line 194 of file Diagnostics.h.
|
inline |
Default constructor.
Definition at line 197 of file Diagnostics.h.
|
inline |
Return true if the value is NOT finite, i.e. it's NaN or infinite.
Definition at line 200 of file Diagnostics.h.
|
inline |
Return true if any of the vector components are NaN or infinite.
Definition at line 205 of file Diagnostics.h.
|
inline |
Return true if the tile at the iterator location is NaN or infinite.
Definition at line 211 of file Diagnostics.h.
|
inline |
Return true if the tile at the iterator location is NaN or infinite.
Definition at line 214 of file Diagnostics.h.
|
inline |
Return a string describing a failed check.
Definition at line 217 of file Diagnostics.h.