HDK
|
Checks a value against a maximum. 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 | |
CheckMax (const ElementType &_max) | |
Constructor taking a maximum to be tested against. More... | |
bool | operator() (const ElementType &v) const |
Return true if the value is larger than max. 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 larger than max. More... | |
bool | operator() (const TreeIterT &iter) const |
Return true if the tile at the iterator location is larger than max. More... | |
bool | operator() (const VoxelIterT &iter) const |
Return true if the voxel at the iterator location is larger than max. More... | |
std::string | str () const |
Return a string describing a failed check. More... | |
Public Attributes | |
const ElementType | maxVal |
Checks a value against a maximum.
Definition at line 379 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckMax< GridT, TreeIterT >::ElementType = typename VecTraits<typename GridT::ValueType>::ElementType |
Definition at line 381 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckMax< GridT, TreeIterT >::TileIterT = TreeIterT |
Definition at line 382 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::CheckMax< GridT, TreeIterT >::VoxelIterT = typename tree::IterTraits<typename TreeIterT::NodeT, typename TreeIterT::ValueIterT> ::template NodeConverter< typename GridT::TreeType::LeafNodeType>::Type |
Definition at line 385 of file Diagnostics.h.
|
inline |
Constructor taking a maximum to be tested against.
Definition at line 388 of file Diagnostics.h.
|
inline |
Return true if the value is larger than max.
Definition at line 391 of file Diagnostics.h.
|
inline |
Return true if any of the vector components are larger than max.
Definition at line 396 of file Diagnostics.h.
|
inline |
Return true if the tile at the iterator location is larger than max.
Definition at line 402 of file Diagnostics.h.
|
inline |
Return true if the voxel at the iterator location is larger than max.
Definition at line 405 of file Diagnostics.h.
|
inline |
Return a string describing a failed check.
Definition at line 408 of file Diagnostics.h.
const ElementType openvdb::OPENVDB_VERSION_NAME::tools::CheckMax< GridT, TreeIterT >::maxVal |
Definition at line 415 of file Diagnostics.h.