HDK
|
Performs multithreaded diagnostics of a grid. More...
#include <Diagnostics.h>
Public Types | |
using | MaskType = typename GridT::template ValueConverter< bool >::Type |
Public Member Functions | |
Diagnose (const GridT &grid) | |
template<typename CheckT > | |
std::string | check (const CheckT &check, bool updateMask=false, bool checkVoxels=true, bool checkTiles=true, bool checkBackground=true) |
Index64 | valueCount () const |
Return the number of values (i.e. background, tiles or voxels) that have failed one or more checks. More... | |
Index64 | failureCount () const |
Return total number of failed checks. More... | |
const GridT & | grid () const |
Return a const reference to the grid. More... | |
void | clear () |
Clear the mask and error counter. More... | |
MaskType::ConstPtr | mask () const |
Return a boolean mask of all the values (i.e. tiles and/or voxels) that have failed one or more checks. More... | |
MaskType::Ptr | mask () |
Return a boolean mask of all the values (i.e. tiles and/or voxels) that have failed one or more checks. More... | |
Performs multithreaded diagnostics of a grid.
Definition at line 619 of file Diagnostics.h.
using openvdb::OPENVDB_VERSION_NAME::tools::Diagnose< GridT >::MaskType = typename GridT::template ValueConverter<bool>::Type |
Definition at line 622 of file Diagnostics.h.
|
inline |
Definition at line 624 of file Diagnostics.h.
|
inline |
Definition at line 630 of file Diagnostics.h.
|
inline |
Clear the mask and error counter.
Definition at line 667 of file Diagnostics.h.
|
inline |
Return total number of failed checks.
Definition at line 661 of file Diagnostics.h.
|
inline |
Return a const reference to the grid.
Definition at line 664 of file Diagnostics.h.
|
inline |
Return a boolean mask of all the values (i.e. tiles and/or voxels) that have failed one or more checks.
Definition at line 650 of file Diagnostics.h.
|
inline |
Return a boolean mask of all the values (i.e. tiles and/or voxels) that have failed one or more checks.
Definition at line 651 of file Diagnostics.h.
|
inline |
Return the number of values (i.e. background, tiles or voxels) that have failed one or more checks.
Definition at line 656 of file Diagnostics.h.