OpenVDB  9.0.1
Static Public Member Functions | List of all members
GridValidator< ValueT > Class Template Reference

Allows for the construction of NanoVDB grids without any dependecy. More...

#include <nanovdb/util/GridValidator.h>

Static Public Member Functions

static std::string check (const GridT &grid, bool detailed=true)
 Returns an error message (an empty string means no error) More...
 

Detailed Description

template<typename ValueT>
class nanovdb::GridValidator< ValueT >

Allows for the construction of NanoVDB grids without any dependecy.

Member Function Documentation

std::string check ( const GridT grid,
bool  detailed = true 
)
static

Returns an error message (an empty string means no error)

Parameters
gridNanoVDB grid to be tested
detailedIf true the checksum is computed and validated as well as all the node pointers
Note
The validation is much slower if detailed == true!