|
OpenVDB
4.0.2
|
Checks a value against a range. 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 | |
| CheckRange (const ElementType &_min, const ElementType &_max) | |
| bool | operator() (const ElementType &v) const |
| Return true if the value is smaller than min or larger than max. 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 out of range. More... | |
| bool | operator() (const TreeIterT &iter) const |
| Return true if the voxel at the iterator location is out of range. More... | |
| bool | operator() (const VoxelIterT &iter) const |
| Return true if the tile at the iterator location is out of range. More... | |
| std::string | str () const |
| Return a string describing a failed check. More... | |
Public Attributes | |
| const ElementType | minVal |
| const ElementType | maxVal |
Checks a value against a range.
| 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 |
|
inline |
Return true if the value is smaller than min or larger than max.
|
inline |
Return true if any of the vector components are out of range.
|
inline |
Return true if the voxel at the iterator location is out of range.
|
inline |
Return true if the tile at the iterator location is out of range.
|
inline |
Return a string describing a failed check.
| const ElementType maxVal |
| const ElementType minVal |
1.8.13