|
OpenVDB 10.0.1
|
Checks for both NaN and inf values, i.e. any value that is not finite. More...
#include <openvdb/tools/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. | |
| bool | operator() (const ElementType &v) const |
| Return true if the value is NOT finite, i.e. it's NaN or infinite. | |
| 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. | |
| bool | operator() (const TreeIterT &iter) const |
| Return true if the tile at the iterator location is NaN or infinite. | |
| bool | operator() (const VoxelIterT &iter) const |
| Return true if the tile at the iterator location is NaN or infinite. | |
| std::string | str () const |
| Return a string describing a failed check. | |
Checks for both NaN and inf values, i.e. any value that is not finite.
| 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 |
|
inline |
Default constructor.
|
inline |
Return true if the value is NOT finite, i.e. it's NaN or infinite.
|
inline |
Return true if any of the vector components are NaN or infinite.
|
inline |
Return true if the tile at the iterator location is NaN or infinite.
|
inline |
Return true if the tile at the iterator location is NaN or infinite.
|
inline |
Return a string describing a failed check.