HDK
|
Checks for infinite values, e.g. 1/0 or -1/0. 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 | |
CheckInf () | |
Default constructor. More... | |
bool | operator() (const ElementType &v) const |
Return true if the value is 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 infinite. More... | |
bool | operator() (const TreeIterT &iter) const |
Return true if the tile at the iterator location is infinite. More... | |
bool | operator() (const VoxelIterT &iter) const |
Return true if the tile at the iterator location is infinite. More... | |
std::string | str () const |
Return a string describing a failed check. More... | |
Checks for infinite values, e.g. 1/0 or -1/0.
Definition at line 150 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckInf< GridT, TreeIterT >::ElementType = typename VecTraits<typename GridT::ValueType>::ElementType |
Definition at line 152 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckInf< GridT, TreeIterT >::TileIterT = TreeIterT |
Definition at line 153 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckInf< GridT, TreeIterT >::VoxelIterT = typename tree::IterTraits<typename TreeIterT::NodeT, typename TreeIterT::ValueIterT> ::template NodeConverter< typename GridT::TreeType::LeafNodeType>::Type |
Definition at line 156 of file Diagnostics.h.
|
inline |
Default constructor.
Definition at line 159 of file Diagnostics.h.
|
inline |
Return true if the value is infinite.
Definition at line 162 of file Diagnostics.h.
|
inline |
Return true if any of the vector components are infinite.
Definition at line 167 of file Diagnostics.h.
|
inline |
Return true if the tile at the iterator location is infinite.
Definition at line 174 of file Diagnostics.h.
|
inline |
Return true if the tile at the iterator location is infinite.
Definition at line 177 of file Diagnostics.h.
|
inline |
Return a string describing a failed check.
Definition at line 180 of file Diagnostics.h.