HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Diagnostics.h File Reference

Various diagnostic tools to identify potential issues with for example narrow-band level sets or fog volumes. More...

#include <openvdb/Grid.h>
#include <openvdb/math/Math.h>
#include <openvdb/math/Vec3.h>
#include <openvdb/math/Stencils.h>
#include <openvdb/math/Operators.h>
#include <openvdb/tree/LeafManager.h>
#include <tbb/blocked_range.h>
#include <tbb/parallel_reduce.h>
#include <set>
#include <hboost/math/special_functions/fpclassify.hpp>
#include <hboost/utility/enable_if.hpp>
+ Include dependency graph for Diagnostics.h:

Go to the source code of this file.

Classes

struct  openvdb::OPENVDB_VERSION_NAME::tools::CheckNan< GridT, TreeIterT >
 Checks NaN values. More...
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::CheckInf< GridT, TreeIterT >
 Checks for infinite values, e.g. 1/0 or -1/0. More...
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::CheckFinite< GridT, TreeIterT >
 Checks for both NaN and inf values, i.e. any value that is not finite. More...
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::CheckMagnitude< GridT, TreeIterT >
 Check that the magnitude of a value, a, is close to a fixed magnitude, b, given a fixed tolerance c. That is | |a| - |b| | <= c. More...
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::CheckRange< GridT, MinInclusive, MaxInclusive, TreeIterT >
 Checks a value against a range. More...
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::CheckMin< GridT, TreeIterT >
 Checks a value against a minimum. More...
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::CheckMax< GridT, TreeIterT >
 Checks a value against a maximum. More...
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::CheckNormGrad< GridT, TreeIterT, GradScheme >
 Checks the norm of the gradient against a range, i.e. $|\nabla\phi|\in[min,max]$. More...
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::CheckEikonal< GridT, TreeIterT, StencilT >
 Checks the norm of the gradient at zero-crossing voxels against a range. More...
 
struct  openvdb::OPENVDB_VERSION_NAME::tools::CheckDivergence< GridT, TreeIterT, DiffScheme >
 Checks the divergence against a range. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::Diagnose< GridT >
 Performs multithreaded diagnostics of a grid. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::CheckLevelSet< GridType >
 Class that performs various types of checks on narrow-band level sets. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::CheckFogVolume< GridType >
 Class that performs various types of checks on fog volumes. More...
 
class  openvdb::OPENVDB_VERSION_NAME::tools::diagnostics_internal::InactiveVoxelValues< TreeType >
 
class  openvdb::OPENVDB_VERSION_NAME::tools::diagnostics_internal::InactiveTileValues< TreeType >
 

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::tools
 
 openvdb::OPENVDB_VERSION_NAME::tools::diagnostics_internal
 

Functions

template<class GridType >
std::string openvdb::OPENVDB_VERSION_NAME::tools::checkLevelSet (const GridType &grid, size_t number=9)
 Perform checks on a grid to see if it is a valid symmetric, narrow-band level set. More...
 
template<class GridType >
std::string openvdb::OPENVDB_VERSION_NAME::tools::checkFogVolume (const GridType &grid, size_t number=6)
 Perform checks on a grid to see if it is a valid fog volume. More...
 
template<class GridType >
bool openvdb::OPENVDB_VERSION_NAME::tools::uniqueInactiveValues (const GridType &grid, std::vector< typename GridType::ValueType > &values, size_t numValues)
 Threaded method to find unique inactive values. More...
 

Detailed Description

Various diagnostic tools to identify potential issues with for example narrow-band level sets or fog volumes.

Author
Ken Museth

Definition in file Diagnostics.h.