|
OpenVDB
4.0.2
|
Checks the divergence against a range. More...
#include <Diagnostics.h>
Public Types | |
| typedef GridT::ValueType | ValueType |
| typedef VecTraits< ValueType >::ElementType | ElementType |
| typedef TreeIterT | TileIterT |
| typedef tree::IterTraits< typename TreeIterT::NodeT, typename TreeIterT::ValueIterT >::template NodeConverter< typename GridT::TreeType::LeafNodeType >::Type | VoxelIterT |
| typedef GridT::ConstAccessor | AccT |
Public Member Functions | |
| BOOST_STATIC_ASSERT (boost::is_floating_point< ElementType >::value) | |
| CheckDivergence (const GridT &grid, const ValueType &_min, const ValueType &_max) | |
| Constructor taking a grid and a range to be tested against. More... | |
| bool | operator() (const ElementType &v) const |
| Return true if the value is smaller than min or larger than max. More... | |
| bool | operator() (const TreeIterT &) const |
| Return true if zero is outside the range. More... | |
| bool | operator() (const VoxelIterT &iter) const |
| Return true if the divergence at a voxel location of the iterator is out of range. More... | |
| std::string | str () const |
| Return a string describing a failed check. More... | |
Public Attributes | |
| AccT | acc |
| const ValueType | invdx |
| const ValueType | minVal |
| const ValueType | maxVal |
Checks the divergence against a range.
| typedef GridT::ConstAccessor AccT |
| typedef VecTraits<ValueType>::ElementType ElementType |
| typedef TreeIterT TileIterT |
| typedef GridT::ValueType ValueType |
| typedef tree::IterTraits<typename TreeIterT::NodeT, typename TreeIterT::ValueIterT>::template NodeConverter<typename GridT::TreeType::LeafNodeType>::Type VoxelIterT |
|
inline |
Constructor taking a grid and a range to be tested against.
| BOOST_STATIC_ASSERT | ( | boost::is_floating_point< ElementType >::value | ) |
|
inline |
Return true if the value is smaller than min or larger than max.
|
inline |
Return true if zero is outside the range.
|
inline |
Return true if the divergence at a voxel location of the iterator is out of range.
|
inline |
Return a string describing a failed check.
| AccT acc |
| const ValueType invdx |
| const ValueType maxVal |
| const ValueType minVal |
1.8.13