HDK
|
This class will serialize an OpenVDB grid into a NanoVDB grid managed by a GridHandle. More...
#include <NanoToOpenVDB.h>
Public Member Functions | |
NanoToOpenVDB () | |
Construction from an existing const OpenVDB Grid. More... | |
OpenGridT::Ptr | operator() (const NanoGrid< NanoBuildT > &grid, int verbose=0) |
Return a shared pointer to a NanoVDB grid constructed from the specified OpenVDB grid. More... | |
template<typename SrcNodeT , typename DstNodeT > | |
DstNodeT * | processNode (const SrcNodeT *srcNode) |
template<typename NanoLeafT > | |
std::enable_if<!std::is_same < bool, typename NanoLeafT::BuildType >::value &&!std::is_same< ValueMask, typename NanoLeafT::BuildType > ::value &&!std::is_same< Fp4, typename NanoLeafT::BuildType > ::value &&!std::is_same< Fp8, typename NanoLeafT::BuildType > ::value &&!std::is_same< Fp16, typename NanoLeafT::BuildType > ::value &&!std::is_same< FpN, typename NanoLeafT::BuildType > ::value, typename NanoToOpenVDB< T >::OpenNode0 * > ::type | process (const NanoLeafT *srcNode) |
template<typename NanoLeafT > | |
std::enable_if< std::is_same < Fp4, typename NanoLeafT::BuildType >::value||std::is_same < Fp8, typename NanoLeafT::BuildType >::value||std::is_same < Fp16, typename NanoLeafT::BuildType >::value||std::is_same < FpN, typename NanoLeafT::BuildType >::value, typename NanoToOpenVDB< T > ::OpenNode0 * >::type | process (const NanoLeafT *srcNode) |
template<typename NanoLeafT > | |
std::enable_if< std::is_same < ValueMask, typename NanoLeafT::BuildType >::value, typename NanoToOpenVDB< T > ::OpenNode0 * >::type | process (const NanoLeafT *srcNode) |
template<typename NanoLeafT > | |
std::enable_if< std::is_same < bool, typename NanoLeafT::BuildType >::value, typename NanoToOpenVDB< T > ::OpenNode0 * >::type | process (const NanoLeafT *srcNode) |
This class will serialize an OpenVDB grid into a NanoVDB grid managed by a GridHandle.
Definition at line 63 of file NanoToOpenVDB.h.
|
inline |
Construction from an existing const OpenVDB Grid.
Definition at line 84 of file NanoToOpenVDB.h.
NanoToOpenVDB< NanoBuildT >::OpenGridT::Ptr nanovdb::NanoToOpenVDB< NanoBuildT >::operator() | ( | const NanoGrid< NanoBuildT > & | grid, |
int | verbose = 0 |
||
) |
Return a shared pointer to a NanoVDB grid constructed from the specified OpenVDB grid.
Definition at line 133 of file NanoToOpenVDB.h.
|
inline |
Definition at line 226 of file NanoToOpenVDB.h.
|
inline |
Definition at line 251 of file NanoToOpenVDB.h.
|
inline |
Definition at line 272 of file NanoToOpenVDB.h.
|
inline |
Definition at line 286 of file NanoToOpenVDB.h.
DstNodeT* nanovdb::NanoToOpenVDB< NanoBuildT >::processNode | ( | const SrcNodeT * | srcNode | ) |
Definition at line 183 of file NanoToOpenVDB.h.