HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT > Struct Template Reference

Checks a value against a minimum. 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

 CheckMin (const ElementType &_min)
 
bool operator() (const ElementType &v) const
 Return true if the value is smaller than min. More...
 
template<typename T >
hboost::enable_if_c< 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
 

Detailed Description

template<typename GridT, typename TreeIterT = typename GridT::ValueOnCIter>
struct openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >

Checks a value against a minimum.

Definition at line 349 of file Diagnostics.h.

Member Typedef Documentation

template<typename GridT , typename TreeIterT = typename GridT::ValueOnCIter>
typedef VecTraits<typename GridT::ValueType>::ElementType openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::ElementType

Definition at line 351 of file Diagnostics.h.

template<typename GridT , typename TreeIterT = typename GridT::ValueOnCIter>
typedef TreeIterT openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::TileIterT

Definition at line 352 of file Diagnostics.h.

template<typename GridT , typename TreeIterT = typename GridT::ValueOnCIter>
typedef tree::IterTraits<typename TreeIterT::NodeT, typename TreeIterT::ValueIterT>::template NodeConverter<typename GridT::TreeType::LeafNodeType>::Type openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::VoxelIterT

Definition at line 354 of file Diagnostics.h.

Constructor & Destructor Documentation

template<typename GridT , typename TreeIterT = typename GridT::ValueOnCIter>
openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::CheckMin ( const ElementType _min)
inline

Definition at line 357 of file Diagnostics.h.

Member Function Documentation

template<typename GridT , typename TreeIterT = typename GridT::ValueOnCIter>
bool openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::operator() ( const ElementType v) const
inline

Return true if the value is smaller than min.

Definition at line 360 of file Diagnostics.h.

template<typename GridT , typename TreeIterT = typename GridT::ValueOnCIter>
template<typename T >
hboost::enable_if_c<VecTraits<T>::IsVec, bool>::type openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::operator() ( const T &  v) const
inline

Return true if any of the vector components are smaller than min.

Definition at line 365 of file Diagnostics.h.

template<typename GridT , typename TreeIterT = typename GridT::ValueOnCIter>
bool openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::operator() ( const TreeIterT &  iter) const
inline

Return true if the voxel at the iterator location is smaller than min.

Definition at line 371 of file Diagnostics.h.

template<typename GridT , typename TreeIterT = typename GridT::ValueOnCIter>
bool openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::operator() ( const VoxelIterT iter) const
inline

Return true if the tile at the iterator location is smaller than min.

Definition at line 374 of file Diagnostics.h.

template<typename GridT , typename TreeIterT = typename GridT::ValueOnCIter>
std::string openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::str ( ) const
inline

Return a string describing a failed check.

Definition at line 377 of file Diagnostics.h.

Member Data Documentation

template<typename GridT , typename TreeIterT = typename GridT::ValueOnCIter>
const ElementType openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >::minVal

Definition at line 384 of file Diagnostics.h.


The documentation for this struct was generated from the following file: