OpenVDB
3.0.0
|
Checks for infinite values, e.g. 1/0 or -1/0. More...
#include <Diagnostics.h>
Public Types | |
typedef VecTraits< typename GridT::ValueType >::ElementType | ElementType |
typedef TreeIterT | TileIterT |
typedef tree::IterTraits< typename TreeIterT::NodeT, typename TreeIterT::ValueIterT >::template NodeConverter< typename GridT::TreeType::LeafNodeType >::Type | VoxelIterT |
Public Member Functions | |
CheckInf () | |
Default constructor. More... | |
bool | operator() (const ElementType &v) const |
Return true if the value is infinite. More... | |
template<typename T > | |
boost::enable_if_c< 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.
typedef VecTraits<typename GridT::ValueType>::ElementType ElementType |
typedef TreeIterT TileIterT |
typedef tree::IterTraits<typename TreeIterT::NodeT, typename TreeIterT::ValueIterT>::template NodeConverter<typename GridT::TreeType::LeafNodeType>::Type VoxelIterT |
|
inline |
Default constructor.
|
inline |
Return true if the value is infinite.
|
inline |
Return true if any of the vector components are infinite.
|
inline |
Return true if the tile at the iterator location is infinite.
|
inline |
Return true if the tile at the iterator location is infinite.
|
inline |
Return a string describing a failed check.