HDK
|
This file is a portable (e.g. pointer-less) C99/GLSL/HLSL port of NanoVDB.h, which is compatible with most graphics APIs. More...
#include <stdint.h>
#include <string.h>
Go to the source code of this file.
Classes | |
struct | pnanovdb_buf_t |
struct | pnanovdb_coord_t |
struct | pnanovdb_vec3_t |
struct | pnanovdb_address_t |
struct | pnanovdb_map_t |
struct | pnanovdb_map_handle_t |
struct | pnanovdb_grid_t |
struct | pnanovdb_grid_handle_t |
struct | pnanovdb_gridblindmetadata_t |
struct | pnanovdb_gridblindmetadata_handle_t |
struct | pnanovdb_tree_t |
struct | pnanovdb_tree_handle_t |
struct | pnanovdb_root_t |
struct | pnanovdb_root_handle_t |
struct | pnanovdb_root_tile_t |
struct | pnanovdb_root_tile_handle_t |
struct | pnanovdb_upper_t |
struct | pnanovdb_upper_handle_t |
struct | pnanovdb_lower_t |
struct | pnanovdb_lower_handle_t |
struct | pnanovdb_leaf_t |
struct | pnanovdb_leaf_handle_t |
struct | pnanovdb_grid_type_constants_t |
struct | pnanovdb_readaccessor_t |
Typedefs | |
typedef struct pnanovdb_buf_t | pnanovdb_buf_t |
typedef uint32_t | pnanovdb_grid_type_t |
typedef uint32_t | pnanovdb_uint32_t |
typedef int32_t | pnanovdb_int32_t |
typedef int32_t | pnanovdb_bool_t |
typedef uint64_t | pnanovdb_uint64_t |
typedef int64_t | pnanovdb_int64_t |
typedef struct pnanovdb_coord_t | pnanovdb_coord_t |
typedef struct pnanovdb_vec3_t | pnanovdb_vec3_t |
This file is a portable (e.g. pointer-less) C99/GLSL/HLSL port of NanoVDB.h, which is compatible with most graphics APIs.
Definition in file PNanoVDB.h.
#define PNANOVDB_ADDRESS_64 |
Definition at line 29 of file PNanoVDB.h.
#define PNANOVDB_BUF_C |
Definition at line 69 of file PNanoVDB.h.
#define PNANOVDB_BUF_FORCE_INLINE static inline __attribute__((always_inline)) |
Definition at line 85 of file PNanoVDB.h.
#define PNANOVDB_C |
Definition at line 20 of file PNanoVDB.h.
#define PNANOVDB_DEREF | ( | X | ) | (*X) |
Definition at line 297 of file PNanoVDB.h.
#define PNANOVDB_FALSE 0 |
Definition at line 330 of file PNanoVDB.h.
#define PNANOVDB_FORCE_INLINE static inline __attribute__((always_inline)) |
Definition at line 283 of file PNanoVDB.h.
#define PNANOVDB_GRID_CLASS_END 10 |
Definition at line 973 of file PNanoVDB.h.
#define PNANOVDB_GRID_CLASS_FOG_VOLUME 2 |
Definition at line 965 of file PNanoVDB.h.
#define PNANOVDB_GRID_CLASS_INDEX_GRID 8 |
Definition at line 971 of file PNanoVDB.h.
#define PNANOVDB_GRID_CLASS_LEVEL_SET 1 |
Definition at line 964 of file PNanoVDB.h.
#define PNANOVDB_GRID_CLASS_POINT_DATA 5 |
Definition at line 968 of file PNanoVDB.h.
#define PNANOVDB_GRID_CLASS_POINT_INDEX 4 |
Definition at line 967 of file PNanoVDB.h.
#define PNANOVDB_GRID_CLASS_STAGGERED 3 |
Definition at line 966 of file PNanoVDB.h.
#define PNANOVDB_GRID_CLASS_TENSOR_GRID 9 |
Definition at line 972 of file PNanoVDB.h.
#define PNANOVDB_GRID_CLASS_TOPOLOGY 6 |
Definition at line 969 of file PNanoVDB.h.
#define PNANOVDB_GRID_CLASS_UNKNOWN 0 |
Definition at line 963 of file PNanoVDB.h.
#define PNANOVDB_GRID_CLASS_VOXEL_VOLUME 7 |
Definition at line 970 of file PNanoVDB.h.
#define PNANOVDB_GRID_FLAGS_END (1 << 6) |
Definition at line 981 of file PNanoVDB.h.
#define PNANOVDB_GRID_FLAGS_HAS_AVERAGE (1 << 3) |
Definition at line 978 of file PNanoVDB.h.
#define PNANOVDB_GRID_FLAGS_HAS_BBOX (1 << 1) |
Definition at line 976 of file PNanoVDB.h.
#define PNANOVDB_GRID_FLAGS_HAS_LONG_GRID_NAME (1 << 0) |
Definition at line 975 of file PNanoVDB.h.
#define PNANOVDB_GRID_FLAGS_HAS_MIN_MAX (1 << 2) |
Definition at line 977 of file PNanoVDB.h.
#define PNANOVDB_GRID_FLAGS_HAS_STD_DEVIATION (1 << 4) |
Definition at line 979 of file PNanoVDB.h.
#define PNANOVDB_GRID_FLAGS_IS_BREADTH_FIRST (1 << 5) |
Definition at line 980 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_BLIND_METADATA_COUNT 648 |
Definition at line 1119 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_BLIND_METADATA_OFFSET 640 |
Definition at line 1118 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_CHECKSUM 8 |
Definition at line 1106 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_FLAGS 20 |
Definition at line 1108 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_GRID_CLASS 632 |
Definition at line 1116 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_GRID_COUNT 28 |
Definition at line 1110 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_GRID_INDEX 24 |
Definition at line 1109 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_GRID_NAME 40 |
Definition at line 1112 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_GRID_SIZE 32 |
Definition at line 1111 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_GRID_TYPE 636 |
Definition at line 1117 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_MAGIC 0 |
Definition at line 1105 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_MAP 296 |
Definition at line 1113 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_VERSION 16 |
Definition at line 1107 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_VOXEL_SIZE 608 |
Definition at line 1115 of file PNanoVDB.h.
#define PNANOVDB_GRID_OFF_WORLD_BBOX 560 |
Definition at line 1114 of file PNanoVDB.h.
#define PNANOVDB_GRID_SIZE 672 |
Definition at line 1103 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_BOOLEAN 11 |
Definition at line 946 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_DOUBLE 2 |
Definition at line 937 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_END 26 |
Definition at line 961 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_FLOAT 1 |
Definition at line 936 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_FP16 15 |
Definition at line 950 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_FP4 13 |
Definition at line 948 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_FP8 14 |
Definition at line 949 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_FPN 16 |
Definition at line 951 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_GET | ( | grid_typeIn, | |
nameIn | |||
) | pnanovdb_grid_type_constants[grid_typeIn].nameIn |
Definition at line 199 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_HALF 9 |
Definition at line 944 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_INDEX 19 |
Definition at line 954 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_INDEXMASK 21 |
Definition at line 956 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_INT16 3 |
Definition at line 938 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_INT32 4 |
Definition at line 939 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_INT64 5 |
Definition at line 940 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_MASK 8 |
Definition at line 943 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_ONINDEX 20 |
Definition at line 955 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_ONINDEXMASK 22 |
Definition at line 957 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_POINTINDEX 23 |
Definition at line 958 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_RGBA8 12 |
Definition at line 947 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_UINT32 10 |
Definition at line 945 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_UNKNOWN 0 |
Definition at line 935 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_VEC3D 7 |
Definition at line 942 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_VEC3F 6 |
Definition at line 941 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_VEC3U16 25 |
Definition at line 960 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_VEC3U8 24 |
Definition at line 959 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_VEC4D 18 |
Definition at line 953 of file PNanoVDB.h.
#define PNANOVDB_GRID_TYPE_VEC4F 17 |
Definition at line 952 of file PNanoVDB.h.
#define PNANOVDB_GRIDBLINDMETADATA_OFF_BYTE_OFFSET 0 |
Definition at line 1246 of file PNanoVDB.h.
#define PNANOVDB_GRIDBLINDMETADATA_OFF_DATA_CLASS 24 |
Definition at line 1250 of file PNanoVDB.h.
#define PNANOVDB_GRIDBLINDMETADATA_OFF_DATA_TYPE 28 |
Definition at line 1251 of file PNanoVDB.h.
#define PNANOVDB_GRIDBLINDMETADATA_OFF_ELEMENT_COUNT 8 |
Definition at line 1247 of file PNanoVDB.h.
#define PNANOVDB_GRIDBLINDMETADATA_OFF_FLAGS 16 |
Definition at line 1248 of file PNanoVDB.h.
#define PNANOVDB_GRIDBLINDMETADATA_OFF_NAME 32 |
Definition at line 1252 of file PNanoVDB.h.
#define PNANOVDB_GRIDBLINDMETADATA_OFF_SEMANTIC 20 |
Definition at line 1249 of file PNanoVDB.h.
#define PNANOVDB_GRIDBLINDMETADATA_SIZE 288 |
Definition at line 1244 of file PNanoVDB.h.
#define PNANOVDB_IN | ( | X | ) | const X* |
Definition at line 296 of file PNanoVDB.h.
#define PNANOVDB_INOUT | ( | X | ) | X* |
Definition at line 295 of file PNanoVDB.h.
#define PNANOVDB_LEAF_BASE_SIZE 80 |
Definition at line 1575 of file PNanoVDB.h.
#define PNANOVDB_LEAF_OFF_BBOX_DIF_AND_FLAGS 12 |
Definition at line 1578 of file PNanoVDB.h.
#define PNANOVDB_LEAF_OFF_BBOX_MIN 0 |
Definition at line 1577 of file PNanoVDB.h.
#define PNANOVDB_LEAF_OFF_VALUE_MASK 16 |
Definition at line 1579 of file PNanoVDB.h.
#define PNANOVDB_LEAF_TABLE_COUNT 512 |
Definition at line 1574 of file PNanoVDB.h.
#define PNANOVDB_LEAF_TABLE_NEG_OFF_BBOX_DIF_AND_FLAGS 84 |
Definition at line 1581 of file PNanoVDB.h.
#define PNANOVDB_LEAF_TABLE_NEG_OFF_MINIMUM 16 |
Definition at line 1582 of file PNanoVDB.h.
#define PNANOVDB_LEAF_TABLE_NEG_OFF_QUANTUM 12 |
Definition at line 1583 of file PNanoVDB.h.
#define PNANOVDB_LEAF_TYPE_DEFAULT 0 |
Definition at line 983 of file PNanoVDB.h.
#define PNANOVDB_LEAF_TYPE_FP 2 |
Definition at line 985 of file PNanoVDB.h.
#define PNANOVDB_LEAF_TYPE_INDEX 3 |
Definition at line 986 of file PNanoVDB.h.
#define PNANOVDB_LEAF_TYPE_INDEXMASK 4 |
Definition at line 987 of file PNanoVDB.h.
#define PNANOVDB_LEAF_TYPE_LITE 1 |
Definition at line 984 of file PNanoVDB.h.
#define PNANOVDB_LEAF_TYPE_POINTINDEX 5 |
Definition at line 988 of file PNanoVDB.h.
#define PNANOVDB_LOWER_BASE_SIZE 1056 |
Definition at line 1522 of file PNanoVDB.h.
#define PNANOVDB_LOWER_OFF_BBOX_MAX 12 |
Definition at line 1525 of file PNanoVDB.h.
#define PNANOVDB_LOWER_OFF_BBOX_MIN 0 |
Definition at line 1524 of file PNanoVDB.h.
#define PNANOVDB_LOWER_OFF_CHILD_MASK 544 |
Definition at line 1528 of file PNanoVDB.h.
#define PNANOVDB_LOWER_OFF_FLAGS 24 |
Definition at line 1526 of file PNanoVDB.h.
#define PNANOVDB_LOWER_OFF_VALUE_MASK 32 |
Definition at line 1527 of file PNanoVDB.h.
#define PNANOVDB_LOWER_TABLE_COUNT 4096 |
Definition at line 1521 of file PNanoVDB.h.
#define PNANOVDB_MAGIC_FILE 0x324244566f6e614eUL |
Definition at line 929 of file PNanoVDB.h.
#define PNANOVDB_MAGIC_GRID 0x314244566f6e614eUL |
Definition at line 928 of file PNanoVDB.h.
#define PNANOVDB_MAGIC_NUMBER 0x304244566f6e614eUL |
Definition at line 927 of file PNanoVDB.h.
#define PNANOVDB_MAJOR_VERSION_NUMBER 32 |
Definition at line 931 of file PNanoVDB.h.
#define PNANOVDB_MAP_OFF_INVMATD 160 |
Definition at line 1026 of file PNanoVDB.h.
#define PNANOVDB_MAP_OFF_INVMATF 36 |
Definition at line 1022 of file PNanoVDB.h.
#define PNANOVDB_MAP_OFF_MATD 88 |
Definition at line 1025 of file PNanoVDB.h.
#define PNANOVDB_MAP_OFF_MATF 0 |
Definition at line 1021 of file PNanoVDB.h.
#define PNANOVDB_MAP_OFF_TAPERD 256 |
Definition at line 1028 of file PNanoVDB.h.
#define PNANOVDB_MAP_OFF_TAPERF 84 |
Definition at line 1024 of file PNanoVDB.h.
#define PNANOVDB_MAP_OFF_VECD 232 |
Definition at line 1027 of file PNanoVDB.h.
#define PNANOVDB_MAP_OFF_VECF 72 |
Definition at line 1023 of file PNanoVDB.h.
#define PNANOVDB_MAP_SIZE 264 |
Definition at line 1019 of file PNanoVDB.h.
#define pnanovdb_memcpy memcpy |
Definition at line 325 of file PNanoVDB.h.
#define PNANOVDB_MINOR_VERSION_NUMBER 6 |
Definition at line 932 of file PNanoVDB.h.
#define PNANOVDB_NATIVE_64 |
Definition at line 317 of file PNanoVDB.h.
#define PNANOVDB_PATCH_VERSION_NUMBER 0 |
Definition at line 933 of file PNanoVDB.h.
#define PNANOVDB_REF | ( | X | ) | &X |
Definition at line 298 of file PNanoVDB.h.
#define PNANOVDB_ROOT_BASE_SIZE 28 |
Definition at line 1388 of file PNanoVDB.h.
#define PNANOVDB_ROOT_OFF_BBOX_MAX 12 |
Definition at line 1391 of file PNanoVDB.h.
#define PNANOVDB_ROOT_OFF_BBOX_MIN 0 |
Definition at line 1390 of file PNanoVDB.h.
#define PNANOVDB_ROOT_OFF_TABLE_SIZE 24 |
Definition at line 1392 of file PNanoVDB.h.
#define PNANOVDB_ROOT_TILE_BASE_SIZE 20 |
Definition at line 1426 of file PNanoVDB.h.
#define PNANOVDB_ROOT_TILE_OFF_CHILD 8 |
Definition at line 1429 of file PNanoVDB.h.
#define PNANOVDB_ROOT_TILE_OFF_KEY 0 |
Definition at line 1428 of file PNanoVDB.h.
#define PNANOVDB_ROOT_TILE_OFF_STATE 16 |
Definition at line 1430 of file PNanoVDB.h.
#define PNANOVDB_STATIC_CONST static const |
Definition at line 294 of file PNanoVDB.h.
#define PNANOVDB_STRUCT_TYPEDEF | ( | X | ) | typedef struct X X; |
Definition at line 293 of file PNanoVDB.h.
#define PNANOVDB_TREE_OFF_NODE_COUNT_LEAF 32 |
Definition at line 1300 of file PNanoVDB.h.
#define PNANOVDB_TREE_OFF_NODE_COUNT_LOWER 36 |
Definition at line 1301 of file PNanoVDB.h.
#define PNANOVDB_TREE_OFF_NODE_COUNT_UPPER 40 |
Definition at line 1302 of file PNanoVDB.h.
#define PNANOVDB_TREE_OFF_NODE_OFFSET_LEAF 0 |
Definition at line 1296 of file PNanoVDB.h.
#define PNANOVDB_TREE_OFF_NODE_OFFSET_LOWER 8 |
Definition at line 1297 of file PNanoVDB.h.
#define PNANOVDB_TREE_OFF_NODE_OFFSET_ROOT 24 |
Definition at line 1299 of file PNanoVDB.h.
#define PNANOVDB_TREE_OFF_NODE_OFFSET_UPPER 16 |
Definition at line 1298 of file PNanoVDB.h.
#define PNANOVDB_TREE_OFF_TILE_COUNT_LEAF 44 |
Definition at line 1303 of file PNanoVDB.h.
#define PNANOVDB_TREE_OFF_TILE_COUNT_LOWER 48 |
Definition at line 1304 of file PNanoVDB.h.
#define PNANOVDB_TREE_OFF_TILE_COUNT_UPPER 52 |
Definition at line 1305 of file PNanoVDB.h.
#define PNANOVDB_TREE_OFF_VOXEL_COUNT 56 |
Definition at line 1306 of file PNanoVDB.h.
#define PNANOVDB_TREE_SIZE 64 |
Definition at line 1294 of file PNanoVDB.h.
#define PNANOVDB_TRUE 1 |
Definition at line 331 of file PNanoVDB.h.
#define PNANOVDB_UPPER_BASE_SIZE 8224 |
Definition at line 1467 of file PNanoVDB.h.
#define PNANOVDB_UPPER_OFF_BBOX_MAX 12 |
Definition at line 1470 of file PNanoVDB.h.
#define PNANOVDB_UPPER_OFF_BBOX_MIN 0 |
Definition at line 1469 of file PNanoVDB.h.
#define PNANOVDB_UPPER_OFF_CHILD_MASK 4128 |
Definition at line 1473 of file PNanoVDB.h.
#define PNANOVDB_UPPER_OFF_FLAGS 24 |
Definition at line 1471 of file PNanoVDB.h.
#define PNANOVDB_UPPER_OFF_VALUE_MASK 32 |
Definition at line 1472 of file PNanoVDB.h.
#define PNANOVDB_UPPER_TABLE_COUNT 32768 |
Definition at line 1466 of file PNanoVDB.h.
typedef int32_t pnanovdb_bool_t |
Definition at line 329 of file PNanoVDB.h.
typedef struct pnanovdb_buf_t pnanovdb_buf_t |
typedef struct pnanovdb_coord_t pnanovdb_coord_t |
typedef uint32_t pnanovdb_grid_type_t |
Definition at line 198 of file PNanoVDB.h.
typedef int32_t pnanovdb_int32_t |
Definition at line 328 of file PNanoVDB.h.
typedef int64_t pnanovdb_int64_t |
Definition at line 333 of file PNanoVDB.h.
typedef uint32_t pnanovdb_uint32_t |
Definition at line 327 of file PNanoVDB.h.
typedef uint64_t pnanovdb_uint64_t |
Definition at line 332 of file PNanoVDB.h.
typedef struct pnanovdb_vec3_t pnanovdb_vec3_t |
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_address_in_interval | ( | pnanovdb_address_t | address, |
pnanovdb_address_t | min_address, | ||
pnanovdb_address_t | max_address | ||
) |
Definition at line 780 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_address_is_null | ( | pnanovdb_address_t | address | ) |
Definition at line 776 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_address_mask | ( | pnanovdb_address_t | address, |
pnanovdb_uint32_t | mask | ||
) |
Definition at line 761 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_address_mask_inv | ( | pnanovdb_address_t | address, |
pnanovdb_uint32_t | mask | ||
) |
Definition at line 765 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_address_null | ( | ) |
Definition at line 771 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_address_offset | ( | pnanovdb_address_t | address, |
pnanovdb_uint32_t | byte_offset | ||
) |
Definition at line 731 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_address_offset64 | ( | pnanovdb_address_t | address, |
pnanovdb_uint64_t | byte_offset | ||
) |
Definition at line 749 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_address_offset64_product | ( | pnanovdb_address_t | address, |
pnanovdb_uint64_t | byte_offset, | ||
pnanovdb_uint32_t | multiplier | ||
) |
Definition at line 755 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_address_offset_neg | ( | pnanovdb_address_t | address, |
pnanovdb_uint32_t | byte_offset | ||
) |
Definition at line 737 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_address_offset_product | ( | pnanovdb_address_t | address, |
pnanovdb_uint32_t | byte_offset, | ||
pnanovdb_uint32_t | multiplier | ||
) |
Definition at line 743 of file PNanoVDB.h.
PNANOVDB_BUF_FORCE_INLINE uint32_t pnanovdb_buf_read_uint32 | ( | pnanovdb_buf_t | buf, |
uint64_t | byte_offset | ||
) |
Definition at line 151 of file PNanoVDB.h.
PNANOVDB_BUF_FORCE_INLINE uint64_t pnanovdb_buf_read_uint64 | ( | pnanovdb_buf_t | buf, |
uint64_t | byte_offset | ||
) |
Definition at line 160 of file PNanoVDB.h.
PNANOVDB_BUF_FORCE_INLINE void pnanovdb_buf_write_uint32 | ( | pnanovdb_buf_t | buf, |
uint64_t | byte_offset, | ||
uint32_t | value | ||
) |
Definition at line 171 of file PNanoVDB.h.
PNANOVDB_BUF_FORCE_INLINE void pnanovdb_buf_write_uint64 | ( | pnanovdb_buf_t | buf, |
uint64_t | byte_offset, | ||
uint64_t | value | ||
) |
Definition at line 183 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_coord_add | ( | pnanovdb_coord_t | a, |
pnanovdb_coord_t | b | ||
) |
Definition at line 516 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_coord_to_key | ( | PNANOVDB_IN(pnanovdb_coord_t) | ijk | ) |
Definition at line 1723 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_coord_to_vec3 | ( | const pnanovdb_coord_t | coord | ) |
Definition at line 500 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_coord_uniform | ( | const pnanovdb_int32_t | a | ) |
Definition at line 508 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_dither_lookup | ( | pnanovdb_bool_t | enabled, |
int | offset | ||
) |
Definition at line 3093 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_double_as_uint64 | ( | double | v | ) |
Definition at line 349 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_float_as_uint32 | ( | float | v | ) |
Definition at line 347 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_int32_t pnanovdb_float_to_int32 | ( | float | v | ) |
Definition at line 359 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_blind_metadata_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
Definition at line 1165 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_grid_get_blind_metadata_offset | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
Definition at line 1162 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_grid_get_checksum | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
Definition at line 1124 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
Definition at line 1130 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_grid_class | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
Definition at line 1156 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_grid_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
Definition at line 1136 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_grid_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
Definition at line 1133 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_grid_name | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1142 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_grid_get_grid_size | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
Definition at line 1139 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_grid_type | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
Definition at line 1159 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_gridblindmetadata_handle_t pnanovdb_grid_get_gridblindmetadata | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | grid, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1669 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_grid_get_gridblindmetadata_value_address | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | grid, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1678 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_grid_get_magic | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
Definition at line 1121 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_map_handle_t pnanovdb_grid_get_map | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
Definition at line 1145 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_tree_handle_t pnanovdb_grid_get_tree | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | grid | ||
) |
Definition at line 1686 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_grid_get_version | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p | ||
) |
Definition at line 1127 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE double pnanovdb_grid_get_voxel_size | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1153 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE double pnanovdb_grid_get_world_bbox | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1150 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_grid_index_to_world_dirf | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | grid, | ||
PNANOVDB_IN(pnanovdb_vec3_t) | src | ||
) |
Definition at line 2936 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_grid_index_to_worldf | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | grid, | ||
PNANOVDB_IN(pnanovdb_vec3_t) | src | ||
) |
Definition at line 2924 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_blind_metadata_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | metadata_count | ||
) |
Definition at line 1208 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_blind_metadata_offset | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint64_t | blind_metadata_offset | ||
) |
Definition at line 1205 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_checksum | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint64_t | checksum | ||
) |
Definition at line 1172 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | flags | ||
) |
Definition at line 1178 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_grid_class | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | grid_class | ||
) |
Definition at line 1199 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_grid_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | grid_count | ||
) |
Definition at line 1184 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_grid_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | grid_index | ||
) |
Definition at line 1181 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_grid_name | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
pnanovdb_uint32_t | grid_name | ||
) |
Definition at line 1190 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_grid_size | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint64_t | grid_size | ||
) |
Definition at line 1187 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_grid_type | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | grid_type | ||
) |
Definition at line 1202 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_magic | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint64_t | magic | ||
) |
Definition at line 1169 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_version | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | version | ||
) |
Definition at line 1175 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_voxel_size | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
double | voxel_size | ||
) |
Definition at line 1196 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_grid_set_world_bbox | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
double | world_bbox | ||
) |
Definition at line 1193 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_grid_world_to_index_dirf | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | grid, | ||
PNANOVDB_IN(pnanovdb_vec3_t) | src | ||
) |
Definition at line 2930 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_grid_world_to_indexf | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_handle_t | grid, | ||
PNANOVDB_IN(pnanovdb_vec3_t) | src | ||
) |
Definition at line 2918 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_gridblindmetadata_get_byte_offset | ( | pnanovdb_buf_t | buf, |
pnanovdb_gridblindmetadata_handle_t | p | ||
) |
Definition at line 1254 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_gridblindmetadata_get_data_class | ( | pnanovdb_buf_t | buf, |
pnanovdb_gridblindmetadata_handle_t | p | ||
) |
Definition at line 1266 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_gridblindmetadata_get_data_type | ( | pnanovdb_buf_t | buf, |
pnanovdb_gridblindmetadata_handle_t | p | ||
) |
Definition at line 1269 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_gridblindmetadata_get_element_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_gridblindmetadata_handle_t | p | ||
) |
Definition at line 1257 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_gridblindmetadata_get_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_gridblindmetadata_handle_t | p | ||
) |
Definition at line 1260 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_gridblindmetadata_get_name | ( | pnanovdb_buf_t | buf, |
pnanovdb_gridblindmetadata_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1272 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_gridblindmetadata_get_semantic | ( | pnanovdb_buf_t | buf, |
pnanovdb_gridblindmetadata_handle_t | p | ||
) |
Definition at line 1263 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_int32_as_uint32 | ( | pnanovdb_int32_t | v | ) |
Definition at line 345 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_int32_to_float | ( | pnanovdb_int32_t | v | ) |
Definition at line 360 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_int64_as_uint64 | ( | pnanovdb_int64_t | v | ) |
Definition at line 344 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_int32_t pnanovdb_int64_is_zero | ( | pnanovdb_int64_t | a | ) |
Definition at line 355 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_leaf_coord_to_offset | ( | PNANOVDB_IN(pnanovdb_coord_t) | ijk | ) |
Definition at line 1759 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_leaf_fp16_read_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 1830 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_leaf_fp4_read_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 1820 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_leaf_fp8_read_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 1825 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_leaf_fp_read_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | value_log_bits | ||
) |
Definition at line 1804 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_leaf_fpn_read_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 1835 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_ave_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_leaf_handle_t | node | ||
) |
Definition at line 1778 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_leaf_get_bbox_dif_and_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | p | ||
) |
Definition at line 1588 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_leaf_get_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | p | ||
) |
Definition at line 1585 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_leaf_get_dim_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_leaf_handle_t | leaf, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc | ||
) |
Definition at line 2690 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_max_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_leaf_handle_t | node | ||
) |
Definition at line 1772 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_min_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_leaf_handle_t | node | ||
) |
Definition at line 1766 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_stddev_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_leaf_handle_t | node | ||
) |
Definition at line 1784 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_table_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_leaf_handle_t | node, | ||
pnanovdb_uint32_t | n | ||
) |
Definition at line 1790 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_value_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_leaf_handle_t | leaf, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 1796 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_leaf_get_value_address_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_leaf_handle_t | leaf, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc | ||
) |
Definition at line 2556 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_get_value_mask | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | p, | ||
pnanovdb_uint32_t | bit_index | ||
) |
Definition at line 1591 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_index_get_ave_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | ave_address | ||
) |
Definition at line 1860 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_index_get_dev_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | dev_address | ||
) |
Definition at line 1865 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_index_get_max_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | max_address | ||
) |
Definition at line 1855 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_index_get_min_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | min_address | ||
) |
Definition at line 1850 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_index_get_value_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | value_address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 1870 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_index_has_stats | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
Definition at line 1845 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_indexmask_get_ave_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | ave_address | ||
) |
Definition at line 1891 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_indexmask_get_dev_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | dev_address | ||
) |
Definition at line 1895 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_indexmask_get_mask_bit | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | n | ||
) |
Definition at line 1903 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_indexmask_get_max_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | max_address | ||
) |
Definition at line 1887 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_indexmask_get_min_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | min_address | ||
) |
Definition at line 1883 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_indexmask_get_value_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | value_address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 1899 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_indexmask_has_stats | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
Definition at line 1879 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_indexmask_set_mask_bit | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | n, | ||
pnanovdb_bool_t | v | ||
) |
Definition at line 1911 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_is_active_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_leaf_handle_t | leaf, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc | ||
) |
Definition at line 2779 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindex_get_ave_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | ave_address | ||
) |
Definition at line 1972 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindex_get_dev_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | dev_address | ||
) |
Definition at line 1983 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindex_get_last_offset | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
Definition at line 1938 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindex_get_max_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | max_address | ||
) |
Definition at line 1961 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindex_get_min_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | min_address | ||
) |
Definition at line 1950 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_leaf_onindex_get_value_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
Definition at line 1930 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindex_get_value_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | value_address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 1994 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_onindex_has_stats | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
Definition at line 1945 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindexmask_get_ave_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | ave_address | ||
) |
Definition at line 2041 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindexmask_get_dev_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | dev_address | ||
) |
Definition at line 2045 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindexmask_get_last_offset | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
Definition at line 2025 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_onindexmask_get_mask_bit | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | n | ||
) |
Definition at line 2053 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindexmask_get_max_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | max_address | ||
) |
Definition at line 2037 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindexmask_get_min_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | min_address | ||
) |
Definition at line 2033 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_leaf_onindexmask_get_value_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
Definition at line 2021 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_onindexmask_get_value_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | value_address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 2049 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_leaf_onindexmask_has_stats | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
Definition at line 2029 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_onindexmask_set_mask_bit | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | n, | ||
pnanovdb_bool_t | v | ||
) |
Definition at line 2061 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_pointindex_get_first | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | i | ||
) |
Definition at line 2088 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_pointindex_get_last | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | i | ||
) |
Definition at line 2093 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_pointindex_get_offset | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
Definition at line 2080 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_pointindex_get_point_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf | ||
) |
Definition at line 2084 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_leaf_pointindex_get_value | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | i | ||
) |
Definition at line 2098 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_pointindex_set_on | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | i | ||
) |
Definition at line 2116 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_pointindex_set_value | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | i, | ||
pnanovdb_uint32_t | value | ||
) |
Definition at line 2125 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_pointindex_set_value_only | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | leaf, | ||
pnanovdb_uint32_t | i, | ||
pnanovdb_uint32_t | value | ||
) |
Definition at line 2102 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_set_bbox_dif_and_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | p, | ||
pnanovdb_uint32_t | bbox_dif_and_flags | ||
) |
Definition at line 1599 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_leaf_set_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_leaf_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_min | ||
) |
Definition at line 1596 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_lower_coord_to_offset | ( | PNANOVDB_IN(pnanovdb_coord_t) | ijk | ) |
Definition at line 2133 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_ave_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | node | ||
) |
Definition at line 2152 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_lower_get_bbox_max | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p | ||
) |
Definition at line 1533 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_lower_get_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p | ||
) |
Definition at line 1530 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_leaf_handle_t pnanovdb_lower_get_child | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | lower, | ||
pnanovdb_uint32_t | n | ||
) |
Definition at line 2176 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_lower_get_child_mask | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p, | ||
pnanovdb_uint32_t | bit_index | ||
) |
Definition at line 1543 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_lower_get_dim_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | lower, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc | ||
) |
Definition at line 2695 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_lower_get_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p | ||
) |
Definition at line 1536 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_max_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | node | ||
) |
Definition at line 2146 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_min_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | node | ||
) |
Definition at line 2140 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_stddev_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | node | ||
) |
Definition at line 2158 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_table_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | node, | ||
pnanovdb_uint32_t | n | ||
) |
Definition at line 2164 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_lower_get_table_child | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | node, | ||
pnanovdb_uint32_t | n | ||
) |
Definition at line 2170 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_value_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | lower, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 2201 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_value_address_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | lower, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc | ||
) |
Definition at line 2582 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_value_address_and_level | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | lower, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_uint32_t) | level | ||
) |
Definition at line 2183 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_lower_get_value_address_and_level_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | lower, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, | ||
PNANOVDB_INOUT(pnanovdb_uint32_t) | level | ||
) |
Definition at line 2562 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_lower_get_value_mask | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p, | ||
pnanovdb_uint32_t | bit_index | ||
) |
Definition at line 1539 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_lower_is_active_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | lower, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc | ||
) |
Definition at line 2785 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_lower_set_bbox_max | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_max | ||
) |
Definition at line 1551 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_lower_set_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_min | ||
) |
Definition at line 1548 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_lower_set_child_mask | ( | pnanovdb_buf_t | buf, |
pnanovdb_lower_handle_t | p, | ||
pnanovdb_uint32_t | bit_index, | ||
pnanovdb_bool_t | value | ||
) |
Definition at line 1554 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_lower_set_table_child | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_lower_handle_t | node, | ||
pnanovdb_uint32_t | n, | ||
pnanovdb_int64_t | child | ||
) |
Definition at line 2588 of file PNanoVDB.h.
PNANOVDB_BUF_FORCE_INLINE pnanovdb_buf_t pnanovdb_make_buf | ( | uint32_t * | data, |
uint64_t | size_in_words | ||
) |
Definition at line 94 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_make_version | ( | pnanovdb_uint32_t | major, |
pnanovdb_uint32_t | minor, | ||
pnanovdb_uint32_t | patch_num | ||
) |
Definition at line 1212 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_map_apply | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | map, | ||
PNANOVDB_IN(pnanovdb_vec3_t) | src | ||
) |
Definition at line 2870 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_map_apply_inverse | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | map, | ||
PNANOVDB_IN(pnanovdb_vec3_t) | src | ||
) |
Definition at line 2882 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_map_apply_inverse_jacobi | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | map, | ||
PNANOVDB_IN(pnanovdb_vec3_t) | src | ||
) |
Definition at line 2906 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_map_apply_jacobi | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | map, | ||
PNANOVDB_IN(pnanovdb_vec3_t) | src | ||
) |
Definition at line 2894 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE double pnanovdb_map_get_invmatd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1045 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_map_get_invmatf | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1033 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE double pnanovdb_map_get_matd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1042 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_map_get_matf | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1030 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE double pnanovdb_map_get_taperd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1051 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_map_get_taperf | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1039 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE double pnanovdb_map_get_vecd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1048 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_map_get_vecf | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index | ||
) |
Definition at line 1036 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_invmatd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
double | invmatd | ||
) |
Definition at line 1070 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_invmatf | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
float | invmatf | ||
) |
Definition at line 1058 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_matd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
double | matd | ||
) |
Definition at line 1067 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_matf | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
float | matf | ||
) |
Definition at line 1055 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_taperd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
double | taperd | ||
) |
Definition at line 1076 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_taperf | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
float | taperf | ||
) |
Definition at line 1064 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_vecd | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
double | vecd | ||
) |
Definition at line 1073 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_map_set_vecf | ( | pnanovdb_buf_t | buf, |
pnanovdb_map_handle_t | p, | ||
pnanovdb_uint32_t | index, | ||
float | vecf | ||
) |
Definition at line 1061 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_max | ( | float | a, |
float | b | ||
) |
Definition at line 363 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_min | ( | float | a, |
float | b | ||
) |
Definition at line 362 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_read_bit | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
pnanovdb_uint32_t | bit_offset | ||
) |
Definition at line 858 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_read_coord | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 812 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE double pnanovdb_read_double | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 808 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_read_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 800 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE short pnanovdb_read_half | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 867 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_int32_t pnanovdb_read_int32 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 796 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_read_int64 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 804 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_read_uint16 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 829 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_read_uint32 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 788 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_read_uint64 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 792 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_read_uint8 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 834 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_read_vec3 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 820 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_read_vec3u16 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 839 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_read_vec3u8 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address | ||
) |
Definition at line 848 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE int pnanovdb_readaccessor_computedirty | ( | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, |
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 2551 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_readaccessor_get_dim | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 2753 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_readaccessor_get_value_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 2674 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_readaccessor_get_value_address_and_level | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_uint32_t) | level | ||
) |
Definition at line 2649 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_readaccessor_get_value_address_bit | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_uint32_t) | bit_index | ||
) |
Definition at line 2680 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_readaccessor_init | ( | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, |
pnanovdb_root_handle_t | root | ||
) |
Definition at line 2510 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_readaccessor_is_active | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 2844 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_readaccessor_iscached0 | ( | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, |
int | dirty | ||
) |
Definition at line 2521 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_readaccessor_iscached1 | ( | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, |
int | dirty | ||
) |
Definition at line 2531 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_readaccessor_iscached2 | ( | PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, |
int | dirty | ||
) |
Definition at line 2541 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_root_tile_handle_t pnanovdb_root_find_tile | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 1740 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_root_fp16_read_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level | ||
) |
Definition at line 2384 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_root_fp4_read_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level | ||
) |
Definition at line 2356 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_root_fp8_read_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level | ||
) |
Definition at line 2370 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_root_fpn_read_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level | ||
) |
Definition at line 2398 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_ave_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root | ||
) |
Definition at line 2302 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_root_get_bbox_max | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_handle_t | p | ||
) |
Definition at line 1397 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_root_get_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_handle_t | p | ||
) |
Definition at line 1394 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_upper_handle_t pnanovdb_root_get_child | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root, | ||
pnanovdb_root_tile_handle_t | tile | ||
) |
Definition at line 1716 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_root_get_dim_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc | ||
) |
Definition at line 2731 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_max_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root | ||
) |
Definition at line 2296 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_min_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root | ||
) |
Definition at line 2290 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_stddev_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root | ||
) |
Definition at line 2308 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_root_tile_handle_t pnanovdb_root_get_tile | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_root_handle_t | root, | ||
pnanovdb_uint32_t | n | ||
) |
Definition at line 1701 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_root_get_tile_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_handle_t | p | ||
) |
Definition at line 1400 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_root_tile_handle_t pnanovdb_root_get_tile_zero | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_root_handle_t | root | ||
) |
Definition at line 1709 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_value_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 2342 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_value_address_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc | ||
) |
Definition at line 2643 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_value_address_and_level | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_uint32_t) | level | ||
) |
Definition at line 2320 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_value_address_and_level_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, | ||
PNANOVDB_INOUT(pnanovdb_uint32_t) | level | ||
) |
Definition at line 2619 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_get_value_address_bit | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_uint32_t) | bit_index | ||
) |
Definition at line 2348 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_root_index_get_value_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level | ||
) |
Definition at line 2412 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_root_is_active_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_handle_t | root, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc | ||
) |
Definition at line 2821 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_root_onindex_get_value_index | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level | ||
) |
Definition at line 2426 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_root_pointindex_get_point_address_range | ( | pnanovdb_buf_t | buf, |
pnanovdb_grid_type_t | value_type, | ||
pnanovdb_address_t | value_address, | ||
pnanovdb_address_t | blindmetadata_value_address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level, | ||
PNANOVDB_INOUT(pnanovdb_address_t) | address_begin, | ||
PNANOVDB_INOUT(pnanovdb_address_t) | address_end | ||
) |
Definition at line 2469 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_root_pointindex_get_point_range | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | value_address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
pnanovdb_uint32_t | level, | ||
PNANOVDB_INOUT(pnanovdb_uint64_t) | range_begin, | ||
PNANOVDB_INOUT(pnanovdb_uint64_t) | range_end | ||
) |
Definition at line 2440 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_root_set_bbox_max | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_max | ||
) |
Definition at line 1407 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_root_set_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_min | ||
) |
Definition at line 1404 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_root_set_tile_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_handle_t | p, | ||
pnanovdb_uint32_t | tile_count | ||
) |
Definition at line 1410 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_root_tile_get_child | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_tile_handle_t | p | ||
) |
Definition at line 1435 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_root_tile_get_key | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_tile_handle_t | p | ||
) |
Definition at line 1432 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_root_tile_get_state | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_tile_handle_t | p | ||
) |
Definition at line 1438 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_root_tile_get_value_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_root_tile_handle_t | root_tile | ||
) |
Definition at line 2314 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_root_tile_set_child | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_tile_handle_t | p, | ||
pnanovdb_int64_t | child | ||
) |
Definition at line 1445 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_root_tile_set_key | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_tile_handle_t | p, | ||
pnanovdb_uint64_t | key | ||
) |
Definition at line 1442 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_root_tile_set_state | ( | pnanovdb_buf_t | buf, |
pnanovdb_root_tile_handle_t | p, | ||
pnanovdb_uint32_t | state | ||
) |
Definition at line 1448 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_tree_get_node_count_leaf | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p | ||
) |
Definition at line 1320 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_tree_get_node_count_lower | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p | ||
) |
Definition at line 1323 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_tree_get_node_count_upper | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p | ||
) |
Definition at line 1326 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_tree_get_node_offset_leaf | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p | ||
) |
Definition at line 1308 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_tree_get_node_offset_lower | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p | ||
) |
Definition at line 1311 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_tree_get_node_offset_root | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p | ||
) |
Definition at line 1317 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_tree_get_node_offset_upper | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p | ||
) |
Definition at line 1314 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_root_handle_t pnanovdb_tree_get_root | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | tree | ||
) |
Definition at line 1693 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_tree_get_tile_count_leaf | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p | ||
) |
Definition at line 1329 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_tree_get_tile_count_lower | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p | ||
) |
Definition at line 1332 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_tree_get_tile_count_upper | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p | ||
) |
Definition at line 1335 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_tree_get_voxel_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p | ||
) |
Definition at line 1338 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_count_leaf | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint32_t | node_count_leaf | ||
) |
Definition at line 1354 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_count_lower | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint32_t | node_count_lower | ||
) |
Definition at line 1357 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_count_upper | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint32_t | node_count_upper | ||
) |
Definition at line 1360 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_offset_leaf | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint64_t | node_offset_leaf | ||
) |
Definition at line 1342 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_offset_lower | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint64_t | node_offset_lower | ||
) |
Definition at line 1345 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_offset_root | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint64_t | node_offset_root | ||
) |
Definition at line 1351 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_node_offset_upper | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint64_t | node_offset_upper | ||
) |
Definition at line 1348 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_tile_count_leaf | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint32_t | tile_count_leaf | ||
) |
Definition at line 1363 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_tile_count_lower | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint32_t | tile_count_lower | ||
) |
Definition at line 1366 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_tile_count_upper | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint32_t | tile_count_upper | ||
) |
Definition at line 1369 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_tree_set_voxel_count | ( | pnanovdb_buf_t | buf, |
pnanovdb_tree_handle_t | p, | ||
pnanovdb_uint64_t | voxel_count | ||
) |
Definition at line 1372 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_uint32_as_float | ( | pnanovdb_uint32_t | v | ) |
Definition at line 346 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_int32_t pnanovdb_uint32_as_int32 | ( | pnanovdb_uint32_t | v | ) |
Definition at line 342 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_uint32_as_uint64 | ( | pnanovdb_uint32_t | x, |
pnanovdb_uint32_t | y | ||
) |
Definition at line 352 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_uint32_as_uint64_low | ( | pnanovdb_uint32_t | x | ) |
Definition at line 353 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_uint32_countbits | ( | pnanovdb_uint32_t | value | ) |
Definition at line 550 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE float pnanovdb_uint32_to_float | ( | pnanovdb_uint32_t | v | ) |
Definition at line 361 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_uint64_and | ( | pnanovdb_uint64_t | a, |
pnanovdb_uint64_t | b | ||
) |
Definition at line 650 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_uint64_any_bit | ( | pnanovdb_uint64_t | a | ) |
Definition at line 655 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE double pnanovdb_uint64_as_double | ( | pnanovdb_uint64_t | v | ) |
Definition at line 348 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_uint64_as_int64 | ( | pnanovdb_uint64_t | v | ) |
Definition at line 343 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_uint64_bit_mask | ( | pnanovdb_uint32_t | bit_idx | ) |
Definition at line 645 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_uint64_countbits | ( | pnanovdb_uint64_t | value | ) |
Definition at line 570 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_uint64_dec | ( | pnanovdb_uint64_t | a | ) |
Definition at line 635 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_uint64_high | ( | pnanovdb_uint64_t | v | ) |
Definition at line 351 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_int32_t pnanovdb_uint64_is_equal | ( | pnanovdb_uint64_t | a, |
pnanovdb_uint64_t | b | ||
) |
Definition at line 354 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_uint64_low | ( | pnanovdb_uint64_t | v | ) |
Definition at line 350 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_uint64_offset | ( | pnanovdb_uint64_t | a, |
pnanovdb_uint32_t | b | ||
) |
Definition at line 630 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_uint64_to_uint32_lsr | ( | pnanovdb_uint64_t | a, |
pnanovdb_uint32_t | b | ||
) |
Definition at line 640 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_upper_coord_to_offset | ( | PNANOVDB_IN(pnanovdb_coord_t) | ijk | ) |
Definition at line 2209 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_ave_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | node | ||
) |
Definition at line 2228 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_upper_get_bbox_max | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_handle_t | p | ||
) |
Definition at line 1478 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_coord_t pnanovdb_upper_get_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_handle_t | p | ||
) |
Definition at line 1475 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_lower_handle_t pnanovdb_upper_get_child | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | upper, | ||
pnanovdb_uint32_t | n | ||
) |
Definition at line 2252 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_upper_get_child_mask | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_handle_t | p, | ||
pnanovdb_uint32_t | bit_index | ||
) |
Definition at line 1488 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_upper_get_dim_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | upper, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc | ||
) |
Definition at line 2713 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint64_t pnanovdb_upper_get_flags | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_handle_t | p | ||
) |
Definition at line 1481 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_max_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | node | ||
) |
Definition at line 2222 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_min_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | node | ||
) |
Definition at line 2216 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_stddev_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | node | ||
) |
Definition at line 2234 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_table_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | node, | ||
pnanovdb_uint32_t | n | ||
) |
Definition at line 2240 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_int64_t pnanovdb_upper_get_table_child | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | node, | ||
pnanovdb_uint32_t | n | ||
) |
Definition at line 2246 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_value_address | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | upper, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk | ||
) |
Definition at line 2276 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_value_address_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | upper, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc | ||
) |
Definition at line 2613 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_value_address_and_level | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | upper, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_uint32_t) | level | ||
) |
Definition at line 2259 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_address_t pnanovdb_upper_get_value_address_and_level_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | upper, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc, | ||
PNANOVDB_INOUT(pnanovdb_uint32_t) | level | ||
) |
Definition at line 2594 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_upper_get_value_mask | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_handle_t | p, | ||
pnanovdb_uint32_t | bit_index | ||
) |
Definition at line 1484 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_bool_t pnanovdb_upper_is_active_and_cache | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | upper, | ||
PNANOVDB_IN(pnanovdb_coord_t) | ijk, | ||
PNANOVDB_INOUT(pnanovdb_readaccessor_t) | acc | ||
) |
Definition at line 2803 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_upper_set_bbox_max | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_max | ||
) |
Definition at line 1496 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_upper_set_bbox_min | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_handle_t | p, | ||
PNANOVDB_IN(pnanovdb_coord_t) | bbox_min | ||
) |
Definition at line 1493 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_upper_set_child_mask | ( | pnanovdb_buf_t | buf, |
pnanovdb_upper_handle_t | p, | ||
pnanovdb_uint32_t | bit_index, | ||
pnanovdb_bool_t | value | ||
) |
Definition at line 1499 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_upper_set_table_child | ( | pnanovdb_grid_type_t | grid_type, |
pnanovdb_buf_t | buf, | ||
pnanovdb_upper_handle_t | node, | ||
pnanovdb_uint32_t | n, | ||
pnanovdb_int64_t | child | ||
) |
Definition at line 2282 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_vec3_add | ( | const pnanovdb_vec3_t | a, |
const pnanovdb_vec3_t | b | ||
) |
Definition at line 452 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_vec3_div | ( | const pnanovdb_vec3_t | a, |
const pnanovdb_vec3_t | b | ||
) |
Definition at line 476 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_vec3_max | ( | const pnanovdb_vec3_t | a, |
const pnanovdb_vec3_t | b | ||
) |
Definition at line 492 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_vec3_min | ( | const pnanovdb_vec3_t | a, |
const pnanovdb_vec3_t | b | ||
) |
Definition at line 484 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_vec3_mul | ( | const pnanovdb_vec3_t | a, |
const pnanovdb_vec3_t | b | ||
) |
Definition at line 468 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_vec3_sub | ( | const pnanovdb_vec3_t | a, |
const pnanovdb_vec3_t | b | ||
) |
Definition at line 460 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_vec3_t pnanovdb_vec3_uniform | ( | float | a | ) |
Definition at line 444 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_version_get_major | ( | pnanovdb_uint32_t | version | ) |
Definition at line 1217 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_version_get_minor | ( | pnanovdb_uint32_t | version | ) |
Definition at line 1221 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE pnanovdb_uint32_t pnanovdb_version_get_patch | ( | pnanovdb_uint32_t | version | ) |
Definition at line 1225 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_write_coord | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_coord_t) | value | ||
) |
Definition at line 912 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_write_double | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
double | value | ||
) |
Definition at line 908 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_write_float | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
float | value | ||
) |
Definition at line 904 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_write_int32 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
pnanovdb_int32_t | value | ||
) |
Definition at line 896 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_write_int64 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
pnanovdb_int64_t | value | ||
) |
Definition at line 900 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_write_uint32 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
pnanovdb_uint32_t | value | ||
) |
Definition at line 888 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_write_uint64 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
pnanovdb_uint64_t | value | ||
) |
Definition at line 892 of file PNanoVDB.h.
PNANOVDB_FORCE_INLINE void pnanovdb_write_vec3 | ( | pnanovdb_buf_t | buf, |
pnanovdb_address_t | address, | ||
PNANOVDB_IN(pnanovdb_vec3_t) | value | ||
) |
Definition at line 918 of file PNanoVDB.h.
PNANOVDB_STATIC_CONST float pnanovdb_dither_lut[512] |
Definition at line 3025 of file PNanoVDB.h.
PNANOVDB_STATIC_CONST pnanovdb_grid_type_constants_t pnanovdb_grid_type_constants[PNANOVDB_GRID_TYPE_END] |
Definition at line 1637 of file PNanoVDB.h.
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_leaf_type[PNANOVDB_GRID_TYPE_END] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 2, 2, 2, 2, 0, 0, 3, 3, 4, 4, 5, 0, 0 } |
Definition at line 1002 of file PNanoVDB.h.
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_minmax_aligns_bits[PNANOVDB_GRID_TYPE_END] = { 0, 32, 64, 16, 32, 64, 32, 64, 8, 16, 32, 8, 32, 32, 32, 32, 32, 32, 64, 64, 64, 64, 64, 64, 8, 16 } |
Definition at line 998 of file PNanoVDB.h.
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_minmax_strides_bits[PNANOVDB_GRID_TYPE_END] = { 0, 32, 64, 16, 32, 64, 96, 192, 8, 16, 32, 8, 32, 32, 32, 32, 32, 128, 256, 64, 64, 64, 64, 64, 24, 48 } |
Definition at line 996 of file PNanoVDB.h.
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_stat_strides_bits[PNANOVDB_GRID_TYPE_END] = { 0, 32, 64, 32, 32, 64, 32, 64, 8, 32, 32, 8, 32, 32, 32, 32, 32, 32, 64, 64, 64, 64, 64, 64, 32, 32 } |
Definition at line 1000 of file PNanoVDB.h.
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_table_strides_bits[PNANOVDB_GRID_TYPE_END] = { 64, 64, 64, 64, 64, 64, 128, 192, 64, 64, 64, 64, 64, 64, 64, 64, 64, 128, 256, 64, 64, 64, 64, 64, 64, 64 } |
Definition at line 994 of file PNanoVDB.h.
PNANOVDB_STATIC_CONST pnanovdb_uint32_t pnanovdb_grid_type_value_strides_bits[PNANOVDB_GRID_TYPE_END] = { 0, 32, 64, 16, 32, 64, 96, 192, 0, 16, 32, 1, 32, 4, 8, 16, 0, 128, 256, 0, 0, 0, 0, 16, 24, 48 } |
Definition at line 992 of file PNanoVDB.h.