HDK
|
Checks a value against a minimum. 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 | |
CheckMin (const ElementType &_min) | |
bool | operator() (const ElementType &v) const |
Return true if the value is smaller than min. 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 smaller than min. More... | |
bool | operator() (const TreeIterT &iter) const |
Return true if the voxel at the iterator location is smaller than min. More... | |
bool | operator() (const VoxelIterT &iter) const |
Return true if the tile at the iterator location is smaller than min. More... | |
std::string | str () const |
Return a string describing a failed check. More... | |
Public Attributes | |
const ElementType | minVal |
Checks a value against a minimum.
Definition at line 335 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::ElementType = typename VecTraits<typename GridT::ValueType>::ElementType |
Definition at line 337 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::TileIterT = TreeIterT |
Definition at line 338 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::VoxelIterT = typename tree::IterTraits<typename TreeIterT::NodeT, typename TreeIterT::ValueIterT> ::template NodeConverter< typename GridT::TreeType::LeafNodeType>::Type |
Definition at line 341 of file Diagnostics.h.
|
inline |
Definition at line 344 of file Diagnostics.h.
|
inline |
Return true if the value is smaller than min.
Definition at line 347 of file Diagnostics.h.
|
inline |
Return true if any of the vector components are smaller than min.
Definition at line 352 of file Diagnostics.h.
|
inline |
Return true if the voxel at the iterator location is smaller than min.
Definition at line 358 of file Diagnostics.h.
|
inline |
Return true if the tile at the iterator location is smaller than min.
Definition at line 361 of file Diagnostics.h.
|
inline |
Return a string describing a failed check.
Definition at line 364 of file Diagnostics.h.
const ElementType openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::minVal |
Definition at line 371 of file Diagnostics.h.