OpenVDB 12.0.0
|
Checks a value against a minimum. More...
#include </private/tmp/openvdb-20241101-6943-enag0s/openvdb-12.0.0/openvdb/openvdb/tools/Diagnostics.h>
Public Types | |
using | ElementType = typename VecTraits<typename GridT::ValueType>::ElementType |
using | TileIterT = TreeIterT |
using | VoxelIterT |
Public Member Functions | |
CheckMin (const ElementType &_min) | |
bool | operator() (const ElementType &v) const |
Return true if the value is smaller than min. | |
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. | |
bool | operator() (const TreeIterT &iter) const |
Return true if the voxel at the iterator location is smaller than min. | |
bool | operator() (const VoxelIterT &iter) const |
Return true if the tile at the iterator location is smaller than min. | |
std::string | str () const |
Return a string describing a failed check. | |
Public Attributes | |
const ElementType | minVal |
Checks a value against a minimum.
using ElementType = typename VecTraits<typename GridT::ValueType>::ElementType |
using TileIterT = TreeIterT |
using VoxelIterT |
|
inline |
|
inline |
Return true if the value is smaller than min.
|
inline |
Return true if any of the vector components are smaller than min.
|
inline |
Return true if the voxel at the iterator location is smaller than min.
|
inline |
Return true if the tile at the iterator location is smaller than min.
|
inline |
Return a string describing a failed check.
const ElementType minVal |