|
class | AbsDiff |
| Compression oracle based on absolute difference. More...
|
|
struct | BaseBBox |
|
class | BaseStencil |
|
struct | BBox |
|
struct | BBox< CoordT, false > |
| Partial template specialization for integer coordinate types. More...
|
|
struct | BBox< Vec3T, true > |
| Partial template specialization for floating point coordinate types. More...
|
|
struct | BitArray |
|
struct | BitArray< 16 > |
|
struct | BitArray< 32 > |
|
struct | BitArray< 64 > |
|
struct | BitArray< 8 > |
|
class | BitFlags |
|
class | BoxStencil |
|
struct | BufferTraits |
|
struct | BuildToValueMap |
| Maps one type (e.g. the build types above) to other (actual) types. More...
|
|
struct | BuildToValueMap< Fp16 > |
|
struct | BuildToValueMap< Fp4 > |
|
struct | BuildToValueMap< Fp8 > |
|
struct | BuildToValueMap< FpN > |
|
struct | BuildToValueMap< Half > |
|
struct | BuildToValueMap< Point > |
|
struct | BuildToValueMap< ValueIndex > |
|
struct | BuildToValueMap< ValueIndexMask > |
|
struct | BuildToValueMap< ValueMask > |
|
struct | BuildToValueMap< ValueOnIndex > |
|
struct | BuildToValueMap< ValueOnIndexMask > |
|
struct | BuildTraits |
| Define static boolean tests for template build types. More...
|
|
class | ChannelAccessor |
| Class to access values in channels at a specific voxel location. More...
|
|
class | Coord |
| Signed (i, j, k) 32-bit integer coordinate class, similar to openvdb::math::Coord. More...
|
|
class | CpuTimer |
|
class | CreateNanoGrid |
| Creates any nanovdb Grid from any source grid (certain combinations are obviously not allowed) More...
|
|
class | CurvatureStencil |
|
class | DDA |
| A Digital Differential Analyzer. Unlike HDDA (defined above) this DDA uses a fixed step-size defined by the template parameter Dim! More...
|
|
struct | Delta |
| Delta for small floating-point offsets. More...
|
|
struct | Delta< double > |
|
struct | Delta< float > |
|
struct | disable_if |
|
struct | disable_if< true, T > |
|
class | DitherLUT |
|
struct | enable_if |
| C++11 implementation of std::enable_if. More...
|
|
struct | enable_if< true, T > |
|
class | Extrema |
|
class | Extrema< ValueT, 0 > |
| Template specialization of Extrema on scalar value types, i.e. rank = 0. More...
|
|
class | Extrema< VecT, 1 > |
| Template specialization of Extrema on vector value types, i.e. rank = 1. More...
|
|
struct | FloatTraits |
|
struct | FloatTraits< bool, 1 > |
|
struct | FloatTraits< Point, 1 > |
|
struct | FloatTraits< T, 8 > |
|
struct | FloatTraits< ValueIndex, 1 > |
|
struct | FloatTraits< ValueIndexMask, 1 > |
|
struct | FloatTraits< ValueMask, 1 > |
|
struct | FloatTraits< ValueOnIndex, 1 > |
|
struct | FloatTraits< ValueOnIndexMask, 1 > |
|
class | Fp16 |
| Dummy type for a 16bit quantization of float point values. More...
|
|
class | Fp4 |
| Dummy type for a 4bit quantization of float point values. More...
|
|
class | Fp8 |
| Dummy type for a 8bit quantization of float point values. More...
|
|
class | FpN |
| Dummy type for a variable bit quantization of floating point values. More...
|
|
struct | GetDim |
| Implements Tree::getDim(Coord) More...
|
|
struct | GetLeaf |
| Return the pointer to the leaf node that contains Coord. Implements Tree::probeLeaf(Coord) More...
|
|
struct | GetLower |
| Return point to the lower internal node where Coord maps to one of its values, i.e. terminates. More...
|
|
struct | GetNodeInfo |
| Implements Tree::getNodeInfo(Coord) More...
|
|
struct | GetState |
| Implements Tree::isActive(Coord) More...
|
|
struct | GetUpper |
| Return point to the upper internal node where Coord maps to one of its values, i.e. terminates. More...
|
|
struct | GetValue |
| Implements Tree::getValue(Coord), i.e. return the value associated with a specific coordinate ijk . More...
|
|
class | GradStencil |
|
class | Grid |
| Highest level of the data structure. Contains a tree and a world->index transform (that currently only supports uniform scaling and translation). More...
|
|
struct | GridBlindMetaData |
|
class | GridChecksum |
| Class that encapsulates two CRC32 checksums, one for the Grid, Tree and Root node meta data and one for the remaining grid nodes. More...
|
|
struct | GridData |
| Struct with all the member data of the Grid (useful during serialization of an openvdb grid) More...
|
|
class | GridHandle |
| This class serves to manage a buffer containing one or more NanoVDB Grids. More...
|
|
struct | GridHandleMetaData |
|
class | GridMetaData |
| This is a convenient class that allows for access to grid meta-data that are independent of the value type of a grid. That is, this class can be used to get information about a grid without actually knowing its ValueType. More...
|
|
class | GridStats |
| Allows for the construction of NanoVDB grids without any dependency. More...
|
|
struct | GridTree |
| defines a tree type from a grid type while preserving constness More...
|
|
struct | GridTree< const GridT > |
|
class | GridValidator |
| Allows for the construction of NanoVDB grids without any dependecy. More...
|
|
class | Half |
| Dummy type for a 16 bit floating point values. More...
|
|
class | HDDA |
| A Digital Differential Analyzer specialized for OpenVDB grids. More...
|
|
class | HostBuffer |
| This is a buffer that contains a shared or private pool to either externally or internally managed host memory. More...
|
|
struct | InternalData |
| Struct with all the member data of the InternalNode (useful during serialization of an openvdb InternalNode) More...
|
|
class | InternalNode |
| Internal nodes of a VDB treedim(),. More...
|
|
struct | is_const |
|
struct | is_const< const T > |
|
struct | is_floating_point |
| C++11 implementation of std::is_floating_point. More...
|
|
struct | is_pointer |
| Trait used to identify template parameter that are pointers. More...
|
|
struct | is_pointer< const T * > |
| Template specialization of const pointers. More...
|
|
struct | is_pointer< T * > |
| Template specialization of non-const pointers. More...
|
|
struct | is_same |
| C++11 implementation of std::is_same. More...
|
|
struct | is_same< T, T > |
|
struct | is_same< T0, T1 > |
|
struct | is_specialization |
| Metafunction used to determine if the first template parameter is a specialization of the class template given in the second template parameter. More...
|
|
struct | is_specialization< TemplateType< Args... >, TemplateType > |
|
struct | LeafData |
| Stuct with all the member data of the LeafNode (useful during serialization of an openvdb LeafNode) More...
|
|
struct | LeafData< bool, CoordT, MaskT, LOG2DIM > |
|
struct | LeafData< Fp16, CoordT, MaskT, LOG2DIM > |
|
struct | LeafData< Fp4, CoordT, MaskT, LOG2DIM > |
| Stuct with all the member data of the LeafNode (useful during serialization of an openvdb LeafNode) More...
|
|
struct | LeafData< Fp8, CoordT, MaskT, LOG2DIM > |
|
struct | LeafData< FpN, CoordT, MaskT, LOG2DIM > |
|
struct | LeafData< Point, CoordT, MaskT, LOG2DIM > |
|
struct | LeafData< ValueIndex, CoordT, MaskT, LOG2DIM > |
|
struct | LeafData< ValueIndexMask, CoordT, MaskT, LOG2DIM > |
|
struct | LeafData< ValueMask, CoordT, MaskT, LOG2DIM > |
|
struct | LeafData< ValueOnIndex, CoordT, MaskT, LOG2DIM > |
|
struct | LeafData< ValueOnIndexMask, CoordT, MaskT, LOG2DIM > |
|
struct | LeafFnBase |
| Base-class for quantized float leaf nodes. More...
|
|
struct | LeafIndexBase |
|
class | LeafNode |
| Leaf nodes of the VDB tree. (defaults to 8x8x8 = 512 voxels) More...
|
|
struct | Map |
| Defines an affine transform and its inverse represented as a 3x3 matrix and a vec3 translation. More...
|
|
struct | MapToNano |
| Trait that maps any type to the corresponding nanovdb type. More...
|
|
class | Mask |
| Bit-mask to encode active states and facilitate sequential iterators and a fast codec for I/O compression. More...
|
|
struct | match_const |
| Trait used to transfer the const-ness of a reference type to another type. More...
|
|
struct | match_const< T, const ReferenceT > |
| Template specialization used to transfer the const-ness of a reference type to another type. More...
|
|
struct | Maximum |
| Maximum floating-point values. More...
|
|
struct | NanoNode |
| Trait to map from LEVEL to node type. More...
|
|
struct | NanoNode< BuildT, 0 > |
|
struct | NanoNode< BuildT, 1 > |
|
struct | NanoNode< BuildT, 2 > |
|
struct | NanoNode< BuildT, 3 > |
|
class | NanoToOpenVDB |
| This class will serialize an OpenVDB grid into a NanoVDB grid managed by a GridHandle. More...
|
|
class | NodeAccessor |
| The NodeAccessor provides a uniform API for accessing nodes got NanoVDB, OpenVDB and build Grids. More...
|
|
class | NodeAccessor< NanoGrid< BuildT > > |
| Template specialization for nanovdb::Grid which is special since its NodeManage uses a handle in order to support node access on the GPU! More...
|
|
class | NodeManager |
| NodeManager allows for sequential access to nodes. More...
|
|
struct | NodeManagerData |
|
class | NodeManagerHandle |
| NodeManagerHandle manages the memory of a NodeManager. More...
|
|
struct | NodeTrait |
| Struct to derive node type from its level in a given grid, tree or root while preserving constness. More...
|
|
struct | NodeTrait< const GridOrTreeOrRootT, 0 > |
|
struct | NodeTrait< const GridOrTreeOrRootT, 1 > |
|
struct | NodeTrait< const GridOrTreeOrRootT, 2 > |
|
struct | NodeTrait< const GridOrTreeOrRootT, 3 > |
|
struct | NodeTrait< GridOrTreeOrRootT, 0 > |
|
struct | NodeTrait< GridOrTreeOrRootT, 1 > |
|
struct | NodeTrait< GridOrTreeOrRootT, 2 > |
|
struct | NodeTrait< GridOrTreeOrRootT, 3 > |
|
struct | NoopStats |
| No-op Stats class. More...
|
|
class | Point |
| @dummy type for indexing points into voxels More...
|
|
class | PointAccessor |
| Class to access points at a specific voxel location. More...
|
|
class | PointAccessor< AttT, Point > |
|
class | PointTreeMarcher |
| A Tree Marcher for Point Grids. More...
|
|
struct | ProbeValue |
| Implements Tree::probeLeaf(Coord) More...
|
|
class | Range |
|
class | Range< 1, T > |
|
class | Range< 2, T > |
|
class | Range< 3, T > |
|
class | Ray |
|
class | ReadAccessor |
|
class | ReadAccessor< BuildT, -1, -1, -1 > |
| A read-only value accessor with three levels of node caching. This allows for inverse tree traversal during lookup, which is on average significantly faster than calling the equivalent method on the tree (i.e. top-down traversal). More...
|
|
class | ReadAccessor< BuildT, 0, 1, 2 > |
| Node caching at all (three) tree levels. More...
|
|
class | ReadAccessor< BuildT, LEVEL0, -1, -1 > |
| Node caching at a single tree level. More...
|
|
class | ReadAccessor< BuildT, LEVEL0, LEVEL1, -1 > |
|
class | RelDiff |
| Compression oracle based on relative difference. More...
|
|
struct | remove_const |
| Trait use to const from type. Default implementation is just a pass-through. More...
|
|
struct | remove_const< const T > |
| Template specialization of trait class use to remove const qualifier type from a type. More...
|
|
struct | remove_pointer |
| Trait use to remove pointer, i.e. "*", qualifier from a type. Default implementation is just a pass-through. More...
|
|
struct | remove_pointer< T * > |
| Template specialization of trait class use to to remove pointer, i.e. "*", qualifier from a type. More...
|
|
struct | remove_reference |
| Trait use to remove reference, i.e. "&", qualifier from a type. Default implementation is just a pass-through. More...
|
|
struct | remove_reference< T & > |
| Template specialization of trait class use to remove reference, i.e. "&", qualifier from a type. More...
|
|
class | Rgba8 |
| 8-bit red, green, blue, alpha packed into 32 bit unsigned int More...
|
|
struct | RootData |
| Struct with all the member data of the RootNode (useful during serialization of an openvdb RootNode) More...
|
|
class | RootNode |
| Top-most node of the VDB tree structure. More...
|
|
class | SampleFromVoxels |
|
class | SampleFromVoxels< TreeOrAccT, 0, false > |
| Nearest neighbor, i.e. zero order, interpolator without caching. More...
|
|
class | SampleFromVoxels< TreeOrAccT, 0, true > |
| Nearest neighbor, i.e. zero order, interpolator with caching. More...
|
|
class | SampleFromVoxels< TreeOrAccT, 1, false > |
| Template specialization that does not use caching of stencil points. More...
|
|
class | SampleFromVoxels< TreeOrAccT, 1, true > |
| Template specialization with caching of stencil values. More...
|
|
class | SampleFromVoxels< TreeOrAccT, 2, false > |
| Template specialization that does not use caching of stencil points. More...
|
|
class | SampleFromVoxels< TreeOrAccT, 2, true > |
| Template specialization with caching of stencil values. More...
|
|
class | SampleFromVoxels< TreeOrAccT, 3, false > |
|
class | SampleFromVoxels< TreeOrAccT, 3, true > |
|
struct | SetValue |
|
struct | SetVoxel |
|
class | Split |
|
class | Stats |
|
class | Stats< ValueT, 0 > |
| This class computes statistics (minimum value, maximum value, mean, variance and standard deviation) of a population of floating-point values. More...
|
|
class | Stats< ValueT, 1 > |
| This class computes statistics (minimum value, maximum value, mean, variance and standard deviation) of a population of floating-point values. More...
|
|
struct | TensorTraits |
|
struct | TensorTraits< T, 0 > |
|
struct | TensorTraits< T, 1 > |
|
struct | Tolerance |
| Tolerance for floating-point comparison. More...
|
|
struct | Tolerance< double > |
|
struct | Tolerance< float > |
|
class | Tree |
| VDB Tree, which is a thin wrapper around a RootNode. More...
|
|
struct | TreeData |
|
class | TreeMarcher |
| A Tree Marcher for Generic Grids. More...
|
|
class | TricubicSampler |
| Tri-cubic sampler, i.e. third order, interpolator. More...
|
|
class | TrilinearSampler |
| Tri-linear sampler, i.e. first order, interpolator. More...
|
|
class | TriquadraticSampler |
| Tri-quadratic sampler, i.e. second order, interpolator. More...
|
|
class | ValueIndex |
| Dummy type for a voxel whose value equals an offset into an external value array. More...
|
|
class | ValueIndexMask |
| Like ValueIndex but with a mutable mask. More...
|
|
class | ValueMask |
| Dummy type for a voxel whose value equals its binary active state. More...
|
|
class | ValueOnIndex |
| Dummy type for a voxel whose value equals an offset into an external value array of active values. More...
|
|
class | ValueOnIndexMask |
| Like ValueOnIndex but with a mutable mask. More...
|
|
class | Vec3 |
| A simple vector class with three components, similar to openvdb::math::Vec3. More...
|
|
class | Vec4 |
| A simple vector class with four components, similar to openvdb::math::Vec4. More...
|
|
class | Version |
| Bit-compacted representation of all three version numbers. More...
|
|
class | WenoStencil |
| This is a special 19-point stencil that supports optimal fifth-order WENO upwinding, second-order central differencing, Laplacian, and zero-crossing test. More...
|
|
|
const char * | toStr (GridType gridType) |
| Maps a GridType to a c-string.
|
|
const char * | toStr (GridClass gridClass) |
| Retuns a c-string used to describe a GridClass.
|
|
const char * | toStr (GridFlags gridFlags) |
| Retuns a c-string used to describe a GridFlags.
|
|
static bool | isAligned (const void *p) |
| return true if the specified pointer is aligned
|
|
static bool | isValid (const void *p) |
| return true if the specified pointer is aligned and not NULL
|
|
static uint64_t | alignmentPadding (const void *p) |
| return the smallest number of bytes that when added to the specified pointer results in an aligned pointer
|
|
template<typename T > |
static T * | alignPtr (T *p) |
| offset the specified pointer so it is aligned.
|
|
template<typename T > |
static const T * | alignPtr (const T *p) |
| offset the specified pointer so it is aligned.
|
|
template<typename T1 , typename T2 > |
static int64_t | PtrDiff (const T1 *p, const T2 *q) |
| Compute the distance, in bytes, between two pointers.
|
|
template<typename DstT , typename SrcT > |
static DstT * | PtrAdd (SrcT *p, int64_t offset) |
| Adds a byte offset of a non-const pointer to produce another non-const pointer.
|
|
template<typename DstT , typename SrcT > |
static const DstT * | PtrAdd (const SrcT *p, int64_t offset) |
| Adds a byte offset of a const pointer to produce another const pointer.
|
|
bool | isFloatingPoint (GridType gridType) |
| return true if the GridType maps to a floating point type
|
|
bool | isFloatingPointVector (GridType gridType) |
| return true if the GridType maps to a floating point vec3.
|
|
bool | isInteger (GridType gridType) |
| Return true if the GridType maps to a POD integer type.
|
|
bool | isIndex (GridType gridType) |
| Return true if the GridType maps to a special index type (not a POD integer type).
|
|
static void * | memcpy64 (void *dst, const void *src, size_t word_count) |
| copy 64 bit words from src to dst
|
|
bool | isValid (GridType gridType, GridClass gridClass) |
| return true if the combination of GridType and GridClass is valid.
|
|
bool | isValid (const GridBlindDataClass &blindClass, const GridBlindDataSemantic &blindSemantics, const GridType &blindType) |
| return true if the combination of GridBlindDataClass, GridBlindDataSemantic and GridType is valid.
|
|
template<typename T > |
constexpr T | pi () |
| Pi constant taken from Boost to match old behaviour.
|
|
template<> |
constexpr float | pi () |
|
template<> |
constexpr double | pi () |
|
template<> |
constexpr long double | pi () |
|
template<typename Type > |
bool | isApproxZero (const Type &x) |
|
template<typename Type > |
Type | Min (Type a, Type b) |
|
int32_t | Min (int32_t a, int32_t b) |
|
uint32_t | Min (uint32_t a, uint32_t b) |
|
float | Min (float a, float b) |
|
double | Min (double a, double b) |
|
template<typename Type > |
Type | Max (Type a, Type b) |
|
int32_t | Max (int32_t a, int32_t b) |
|
uint32_t | Max (uint32_t a, uint32_t b) |
|
float | Max (float a, float b) |
|
double | Max (double a, double b) |
|
float | Clamp (float x, float a, float b) |
|
double | Clamp (double x, double a, double b) |
|
float | Fract (float x) |
|
double | Fract (double x) |
|
int32_t | Floor (float x) |
|
int32_t | Floor (double x) |
|
int32_t | Ceil (float x) |
|
int32_t | Ceil (double x) |
|
template<typename T > |
T | Pow2 (T x) |
|
template<typename T > |
T | Pow3 (T x) |
|
template<typename T > |
T | Pow4 (T x) |
|
template<typename T > |
T | Abs (T x) |
|
template<> |
float | Abs (float x) |
|
template<> |
double | Abs (double x) |
|
template<> |
int | Abs (int x) |
|
template<typename CoordT , typename RealT , template< typename > class Vec3T> |
CoordT | Round (const Vec3T< RealT > &xyz) |
|
template<typename CoordT , template< typename > class Vec3T> |
CoordT | Round (const Vec3T< float > &xyz) |
|
template<typename CoordT , template< typename > class Vec3T> |
CoordT | Round (const Vec3T< double > &xyz) |
|
template<typename CoordT , typename RealT , template< typename > class Vec3T> |
CoordT | RoundDown (const Vec3T< RealT > &xyz) |
|
float | Sqrt (float x) |
| Return the square root of a floating-point value.
|
|
double | Sqrt (double x) |
|
template<typename T > |
T | Sign (const T &x) |
| Return the sign of the given value as an integer (either -1, 0 or 1).
|
|
template<typename Vec3T > |
int | MinIndex (const Vec3T &v) |
|
template<typename Vec3T > |
int | MaxIndex (const Vec3T &v) |
|
template<uint64_t wordSize> |
uint64_t | AlignUp (uint64_t byteCount) |
| round up byteSize to the nearest wordSize, e.g. to align to machine word: AlignUp<sizeof(size_t)(n)
|
|
template<typename T1 , typename T2 > |
Vec3< T2 > | operator* (T1 scalar, const Vec3< T2 > &vec) |
|
template<typename T1 , typename T2 > |
Vec3< T2 > | operator/ (T1 scalar, const Vec3< T2 > &vec) |
|
template<typename T1 , typename T2 > |
Vec4< T2 > | operator* (T1 scalar, const Vec4< T2 > &vec) |
|
template<typename T1 , typename T2 > |
Vec4< T2 > | operator/ (T1 scalar, const Vec4< T2 > &vec) |
|
template<typename BuildT > |
GridType | mapToGridType () |
| Maps from a templated build type to a GridType enum.
|
|
template<typename BuildT > |
GridClass | mapToGridClass (GridClass defaultClass=GridClass::Unknown) |
| Maps from a templated build type to a GridClass enum.
|
|
template<typename Vec3T > |
Vec3T | matMult (const float *mat, const Vec3T &xyz) |
| Multiply a 3x3 matrix and a 3d vector using 32bit floating point arithmetics.
|
|
template<typename Vec3T > |
Vec3T | matMult (const double *mat, const Vec3T &xyz) |
| Multiply a 3x3 matrix and a 3d vector using 64bit floating point arithmetics.
|
|
template<typename Vec3T > |
Vec3T | matMult (const float *mat, const float *vec, const Vec3T &xyz) |
| Multiply a 3x3 matrix to a 3d vector and add another 3d vector using 32bit floating point arithmetics.
|
|
template<typename Vec3T > |
Vec3T | matMult (const double *mat, const double *vec, const Vec3T &xyz) |
| Multiply a 3x3 matrix to a 3d vector and add another 3d vector using 64bit floating point arithmetics.
|
|
template<typename Vec3T > |
Vec3T | matMultT (const float *mat, const Vec3T &xyz) |
| Multiply the transposed of a 3x3 matrix and a 3d vector using 32bit floating point arithmetics.
|
|
template<typename Vec3T > |
Vec3T | matMultT (const double *mat, const Vec3T &xyz) |
| Multiply the transposed of a 3x3 matrix and a 3d vector using 64bit floating point arithmetics.
|
|
template<typename Vec3T > |
Vec3T | matMultT (const float *mat, const float *vec, const Vec3T &xyz) |
|
template<typename Vec3T > |
Vec3T | matMultT (const double *mat, const double *vec, const Vec3T &xyz) |
|
static uint32_t | FindLowestOn (uint32_t v) |
| Returns the index of the lowest, i.e. least significant, on bit in the specified 32 bit word.
|
|
static uint32_t | FindHighestOn (uint32_t v) |
| Returns the index of the highest, i.e. most significant, on bit in the specified 32 bit word.
|
|
static uint32_t | FindLowestOn (uint64_t v) |
| Returns the index of the lowest, i.e. least significant, on bit in the specified 64 bit word.
|
|
static uint32_t | FindHighestOn (uint64_t v) |
| Returns the index of the highest, i.e. most significant, on bit in the specified 64 bit word.
|
|
uint32_t | CountOn (uint64_t v) |
|
template<int LEVEL0 = -1, int LEVEL1 = -1, int LEVEL2 = -1, typename ValueT = float> |
ReadAccessor< ValueT, LEVEL0, LEVEL1, LEVEL2 > | createAccessor (const NanoGrid< ValueT > &grid) |
| Free-standing function for convenient creation of a ReadAccessor with optional and customizable node caching.
|
|
template<int LEVEL0 = -1, int LEVEL1 = -1, int LEVEL2 = -1, typename ValueT = float> |
ReadAccessor< ValueT, LEVEL0, LEVEL1, LEVEL2 > | createAccessor (const NanoTree< ValueT > &tree) |
|
template<int LEVEL0 = -1, int LEVEL1 = -1, int LEVEL2 = -1, typename ValueT = float> |
ReadAccessor< ValueT, LEVEL0, LEVEL1, LEVEL2 > | createAccessor (const NanoRoot< ValueT > &root) |
|
template<typename SrcGridT , typename DstBuildT = typename MapToNano<typename SrcGridT::BuildType>::type, typename BufferT = HostBuffer> |
disable_if< BuildTraits< DstBuildT >::is_index||BuildTraits< DstBuildT >::is_Fp, GridHandle< BufferT > >::type | createNanoGrid (const SrcGridT &srcGrid, StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, int verbose=0, const BufferT &buffer=BufferT()) |
| Freestanding function that creates a NanoGrid<T> from any source grid.
|
|
template<typename SrcGridT , typename DstBuildT = typename MapToNano<typename SrcGridT::BuildType>::type, typename BufferT = HostBuffer> |
enable_if< BuildTraits< DstBuildT >::is_index, GridHandle< BufferT > >::type | createNanoGrid (const SrcGridT &srcGrid, uint32_t channels=0u, bool includeStats=true, bool includeTiles=true, int verbose=0, const BufferT &buffer=BufferT()) |
| Freestanding function that creates a NanoGrid<ValueIndex> or NanoGrid<ValueOnIndex> from any source grid.
|
|
template<typename SrcGridT , typename DstBuildT = typename MapToNano<typename SrcGridT::BuildType>::type, typename OracleT = AbsDiff, typename BufferT = HostBuffer> |
enable_if< is_same< FpN, DstBuildT >::value, GridHandle< BufferT > >::type | createNanoGrid (const SrcGridT &srcGrid, StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, bool ditherOn=false, int verbose=0, const OracleT &oracle=OracleT(), const BufferT &buffer=BufferT()) |
| Freestanding function to create a NanoGrid<FpN> from any source grid.
|
|
template<typename SrcGridT , typename DstBuildT = typename MapToNano<typename SrcGridT::BuildType>::type, typename BufferT = HostBuffer> |
enable_if< BuildTraits< DstBuildT >::is_FpX, GridHandle< BufferT > >::type | createNanoGrid (const SrcGridT &srcGrid, StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, bool ditherOn=false, int verbose=0, const BufferT &buffer=BufferT()) |
| Freestanding function to create a NanoGrid<FpX> from any source grid, X=4,8,16.
|
|
std::ostream & | operator<< (std::ostream &os, const AbsDiff &diff) |
|
std::ostream & | operator<< (std::ostream &os, const RelDiff &diff) |
|
template<typename RangeT , typename FuncT > |
void | forEach (RangeT range, const FuncT &func) |
| simple wrapper for tbb::parallel_for with a naive std fallback
|
|
template<typename FuncT > |
void | forEach (size_t begin, size_t end, size_t grainSize, const FuncT &func) |
| Simple wrapper for the function defined above.
|
|
template<template< typename... > class ContainerT, typename... T, typename FuncT > |
void | forEach (const ContainerT< T... > &c, const FuncT &func) |
| Simple wrapper for the function defined above, which works with std::containers.
|
|
template<template< typename... > class ContainerT, typename... T, typename FuncT > |
void | forEach (const ContainerT< T... > &c, size_t grainSize, const FuncT &func) |
| Simple wrapper for the function defined above, which works with std::containers.
|
|
template<typename BuildT > |
uint64_t | checksum (const NanoGrid< BuildT > &grid, ChecksumMode mode=ChecksumMode::Default) |
| Return the (2 x CRC32) checksum of the specified grid.
|
|
template<typename BuildT > |
bool | validateChecksum (const NanoGrid< BuildT > &grid, ChecksumMode mode=ChecksumMode::Default) |
| Return true if the checksum of the grid matches the expected value already encoded into the grid's meta data.
|
|
template<typename BuildT > |
void | updateChecksum (NanoGrid< BuildT > &grid, ChecksumMode mode=ChecksumMode::Default) |
| Updates the checksum of a grid.
|
|
template<typename ValueT > |
uint64_t | checksum (const NanoGrid< ValueT > &grid, ChecksumMode mode) |
|
template<typename ValueT > |
bool | validateChecksum (const NanoGrid< ValueT > &grid, ChecksumMode mode) |
|
template<typename ValueT > |
void | updateChecksum (NanoGrid< ValueT > &grid, ChecksumMode mode) |
|
bool | updateChecksum (GridData &gridData, ChecksumMode mode) |
|
bool | updateChecksum (GridData *data) |
| Preserve the existing mode of the checksum and update it if it's not disabled.
|
|
bool | updateGridCount (GridData *data, uint32_t gridIndex, uint32_t gridCount) |
| Updates the ground index and count, as well as the partial checksum if needed.
|
|
template<typename BufferT , template< class, class... > class VectorT = std::vector> |
VectorT< GridHandle< BufferT > > | splitGrids (const GridHandle< BufferT > &handle, const BufferT *other=nullptr) |
| Split all grids in a single GridHandle into a vector of multiple GridHandles each with a single grid.
|
|
template<typename BufferT , template< class, class... > class VectorT> |
GridHandle< BufferT > | mergeGrids (const VectorT< GridHandle< BufferT > > &handles, const BufferT *pool=nullptr) |
| Combines (or merges) multiple GridHandles into a single GridHandle containing all grids.
|
|
template<typename BuildT > |
void | gridStats (NanoGrid< BuildT > &grid, StatsMode mode=StatsMode::Default) |
| Re-computes the min/max, stats and bbox information for an existing NanoVDB Grid.
|
|
template<typename BuildT > |
Extrema< typename NanoGrid< BuildT >::ValueType > | getExtrema (const NanoGrid< BuildT > &grid, const CoordBBox &bbox) |
| return the extrema of all the values in a grid that intersects the specified bounding box.
|
|
template<typename ValueT > |
bool | isValid (const NanoGrid< ValueT > &grid, bool detailed=true, bool verbose=false) |
| Return true if the specified grid passes several validation tests.
|
|
template<typename RayT , typename AccT > |
__hostdev__ bool | ZeroCrossing (RayT &ray, AccT &acc, Coord &ijk, typename AccT::ValueType &v, float &t) |
| returns true if the ray intersects a zero-crossing at the voxel level of the grid in the accessor The empty-space ray-marching is performed at all levels of the tree using an HDDA. If an intersection is detected, then ijk is updated with the index coordinate of the closest voxel after the intersection point, v contains the grid values at ijk, and t is set to the time of the intersection along the ray.
|
|
template<typename RayT , typename NodeT > |
__hostdev__ bool | ZeroCrossingNode (RayT &ray, const NodeT &node, float v0, nanovdb::Coord &ijk, float &v, float &t) |
|
template<typename RayT , typename AccT > |
__hostdev__ bool | firstActive (RayT &ray, AccT &acc, Coord &ijk, float &t) |
| returns true if the ray intersects an active value at any level of the grid in the accessor. The empty-space ray-marching is performed at all levels of the tree using an HDDA. If an intersection is detected, then ijk is updated with the index coordinate of the first active voxel or tile, and t is set to the time of its intersection along the ray.
|
|
template<typename Func , typename... Rest> |
int | invoke (const Func &taskFunc1, Rest... taskFuncN) |
|
template<typename T > |
std::ostream & | operator<< (std::ostream &os, const BBox< Vec3< T > > &b) |
|
std::ostream & | operator<< (std::ostream &os, const CoordBBox &b) |
|
std::ostream & | operator<< (std::ostream &os, const Coord &ijk) |
|
template<typename T > |
std::ostream & | operator<< (std::ostream &os, const Vec3< T > &v) |
|
template<typename T > |
std::ostream & | operator<< (std::ostream &os, const Vec4< T > &v) |
|
template<typename NanoBuildT > |
openvdb::Grid< typenameopenvdb::tree::Tree4< typenameConvertTrait< NanoBuildT >::Type >::Type >::Ptr | nanoToOpenVDB (const NanoGrid< NanoBuildT > &grid, int verbose=0) |
| Forward declaration of free-standing function that de-serializes a typed NanoVDB grid into an OpenVDB Grid.
|
|
template<typename BufferT > |
openvdb::GridBase::Ptr | nanoToOpenVDB (const GridHandle< BufferT > &handle, int verbose=0, uint32_t n=0) |
| Forward declaration of free-standing function that de-serializes a NanoVDB GridHandle into an OpenVDB GridBase.
|
|
template<typename BuildT , typename BufferT = HostBuffer> |
NodeManagerHandle< BufferT > | createNodeManager (const NanoGrid< BuildT > &grid, const BufferT &buffer=BufferT()) |
| brief Construct a NodeManager and return its handle
|
|
template<typename T , typename OpT = std::plus<T>> |
T | prefixSum (std::vector< T > &vec, bool threaded=true, OpT op=OpT()) |
| Computes inclusive prefix sum of a vector.
|
|
template<typename T , typename Op > |
void | inclusiveScan (T *array, size_t size, const T &identity, bool threaded, Op op) |
| An inclusive scan includes in[i] when computing out[i].
|
|
template<typename BuildT = float, typename BufferT = HostBuffer> |
enable_if< is_same< float, BuildT >::value||is_same< double, BuildT >::value, GridHandle< BufferT > >::type | createLevelSetSphere (double radius=100.0, const Vec3d ¢er=Vec3d(0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0), const std::string &name="sphere_ls", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Returns a handle to a narrow-band level set of a sphere.
|
|
template<typename BuildT , typename BufferT = HostBuffer> |
enable_if< is_same< Fp4, BuildT >::value||is_same< Fp8, BuildT >::value||is_same< Fp16, BuildT >::value, GridHandle< BufferT > >::type | createLevelSetSphere (double radius=100.0, const Vec3d ¢er=Vec3d(0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0), const std::string &name="sphere_ls", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, bool ditherOn=false, const BufferT &buffer=BufferT()) |
|
template<typename BuildT , typename BufferT = HostBuffer> |
enable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createLevelSetSphere (double radius=100.0, const Vec3d ¢er=Vec3d(0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0), const std::string &name="sphere_ls_FpN", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, float tolerance=-1.0f, bool ditherOn=false, const BufferT &buffer=BufferT()) |
|
template<typename BuildT = float, typename BufferT = HostBuffer> |
disable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createFogVolumeSphere (double radius=100.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="sphere_fog", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Returns a handle to a sparse fog volume of a sphere such that the exterior is 0 and inactive, the interior is active with values varying smoothly from 0 at the surface of the sphere to 1 at the halfWidth and interior of the sphere.
|
|
template<typename BuildT , typename BufferT = HostBuffer> |
enable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createFogVolumeSphere (double radius=100.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="sphere_fog", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, float tolerance=-1.0f, bool ditherOn=false, const BufferT &buffer=BufferT()) |
|
template<typename BuildT = float, typename BufferT = HostBuffer> |
disable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createPointSphere (int pointsPerVoxel=1, double radius=100.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="sphere_points", ChecksumMode mode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Returns a handle to a PointDataGrid containing points scattered on the surface of a sphere.
|
|
template<typename BuildT = float, typename BufferT = HostBuffer> |
disable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createLevelSetTorus (double majorRadius=100.0, double minorRadius=50.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="torus_ls", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Returns a handle to a narrow-band level set of a torus in the xz-plane.
|
|
template<typename BuildT , typename BufferT = HostBuffer> |
enable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createLevelSetTorus (double majorRadius=100.0, double minorRadius=50.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="torus_ls", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, float tolerance=-1.0f, bool ditherOn=false, const BufferT &buffer=BufferT()) |
|
template<typename BuildT = float, typename BufferT = HostBuffer> |
disable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createFogVolumeTorus (double majorRadius=100.0, double minorRadius=50.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="torus_fog", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Returns a handle to a sparse fog volume of a torus in the xz-plane such that the exterior is 0 and inactive, the interior is active with values varying smoothly from 0 at the surface of the torus to 1 at the halfWidth and interior of the torus.
|
|
template<typename BuildT , typename BufferT = HostBuffer> |
enable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createFogVolumeTorus (double majorRadius=100.0, double minorRadius=50.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="torus_fog_FpN", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, float tolerance=-1.0f, bool ditherOn=false, const BufferT &buffer=BufferT()) |
|
template<typename BuildT = float, typename BufferT = HostBuffer> |
disable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createPointTorus (int pointsPerVoxel=1, double majorRadius=100.0, double minorRadius=50.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, const Vec3d &origin=Vec3d(0.0f), const std::string &name="torus_points", ChecksumMode cMode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Returns a handle to a PointDataGrid containing points scattered on the surface of a torus.
|
|
template<typename BuildT = float, typename BufferT = HostBuffer> |
disable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createLevelSetBox (double width=40.0, double height=60.0, double depth=100.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="box_ls", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Returns a handle to a narrow-band level set of a box.
|
|
template<typename BuildT , typename BufferT = HostBuffer> |
enable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createLevelSetBox (double width=40.0, double height=60.0, double depth=100.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="box_ls_FpN", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, float tolerance=-1.0f, bool ditherOn=false, const BufferT &buffer=BufferT()) |
|
template<typename BuildT = float, typename BufferT = HostBuffer> |
disable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createFogVolumeBox (double width=40.0, double height=60.0, double depth=100.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="box_fog", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Returns a handle to a sparse fog volume of a box such that the exterior is 0 and inactive, the interior is active with values varying smoothly from 0 at the surface of the box to 1 at the halfWidth and interior of the box.
|
|
template<typename BuildT , typename BufferT = HostBuffer> |
enable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createFogVolumeBox (double width=40.0, double height=60.0, double depth=100.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="box_fog_FpN", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, float tolerance=-1.0f, bool ditherOn=false, const BufferT &buffer=BufferT()) |
|
template<typename BuildT = float, typename BufferT = HostBuffer> |
disable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createLevelSetOctahedron (double scale=100.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="octadedron_ls", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Returns a handle to a narrow-band level set of a octahedron.
|
|
template<typename BuildT , typename BufferT = HostBuffer> |
enable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createLevelSetOctahedron (double scale=100.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="octadedron_ls_FpN", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, float tolerance=-1.0f, bool ditherOn=false, const BufferT &buffer=BufferT()) |
|
template<typename BuildT = float, typename BufferT = HostBuffer> |
disable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createFogVolumeOctahedron (double scale=100.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="octadedron_fog", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Returns a handle to a sparse fog volume of an octahedron such that the exterior is 0 and inactive, the interior is active with values varying smoothly from 0 at the surface of the octahedron to 1 at the halfWidth and interior of the octahedron.
|
|
template<typename BuildT , typename BufferT = HostBuffer> |
enable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createFogVolumeOctahedron (double scale=100.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="octadedron_fog_FpN", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, float tolerance=-1.0f, bool ditherOn=false, const BufferT &buffer=BufferT()) |
|
template<typename BuildT = float, typename BufferT = HostBuffer> |
disable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createLevelSetBBox (double width=40.0, double height=60.0, double depth=100.0, double thickness=10.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="bbox_ls", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Returns a handle to a narrow-band level set of a bounding-box (= wireframe of a box)
|
|
template<typename BuildT , typename BufferT = HostBuffer> |
enable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createLevelSetBBox (double width=40.0, double height=60.0, double depth=100.0, double thickness=10.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, double halfWidth=3.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="bbox_ls_FpN", StatsMode sMode=StatsMode::Default, ChecksumMode cMode=ChecksumMode::Default, float tolerance=-1.0f, bool ditherOn=false, const BufferT &buffer=BufferT()) |
|
template<typename BuildT = float, typename BufferT = HostBuffer> |
disable_if< is_same< FpN, BuildT >::value, GridHandle< BufferT > >::type | createPointBox (int pointsPerVoxel=1, double width=40.0, double height=60.0, double depth=100.0, const Vec3d ¢er=Vec3d(0.0), double voxelSize=1.0, const Vec3d &origin=Vec3d(0.0), const std::string &name="box_points", ChecksumMode mode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Returns a handle to a PointDataGrid containing points scattered on the surface of a box.
|
|
template<typename SrcBuildT = float, typename BufferT = HostBuffer> |
GridHandle< BufferT > | createPointScatter (const NanoGrid< SrcBuildT > &srcGrid, int pointsPerVoxel=1, const std::string &name="point_scatter", ChecksumMode mode=ChecksumMode::Default, const BufferT &buffer=BufferT()) |
| Given an input NanoVDB voxel grid this methods returns a GridHandle to another NanoVDB PointDataGrid with points scattered in the active leaf voxels of in input grid. Note, the coordinates of the points are encoded as blind data in world-space.
|
|
template<typename RangeT , typename T , typename FuncT , typename JoinT > |
T | reduce (RangeT range, const T &identity, const FuncT &func, const JoinT &join) |
|
template<typename T , typename FuncT , typename JoinT > |
T | reduce (size_t begin, size_t end, size_t grainSize, const T &identity, const FuncT &func, const JoinT &join) |
| Simple wrapper to the function defined above.
|
|
template<template< typename... > class ContainerT, typename... ArgT, typename T , typename FuncT , typename JoinT > |
T | reduce (const ContainerT< ArgT... > &c, const T &identity, const FuncT &func, const JoinT &join) |
| Simple wrapper that works with std::containers.
|
|
template<template< typename... > class ContainerT, typename... ArgT, typename T , typename FuncT , typename JoinT > |
T | reduce (const ContainerT< ArgT... > &c, size_t grainSize, const T &identity, const FuncT &func, const JoinT &join) |
| Simple wrapper that works with std::containers.
|
|
template<int Order, typename TreeOrAccT , bool UseCache = true> |
SampleFromVoxels< TreeOrAccT, Order, UseCache > | createSampler (const TreeOrAccT &acc) |
| Factory free-function for a sampler of specific polynomial orders.
|
|
template<typename CoordT , typename RealT , template< typename > class Vec3T> |
CoordT | Floor (Vec3T< RealT > &xyz) |
| Utility function that returns the Coord of the round-down of xyz and redefined (x,  y,  z) as the fractional part, ie xyz-in = return-value + xyz-out.
|
|
template<typename CoordT , template< typename > class Vec3T> |
CoordT | Floor (Vec3T< float > &xyz) |
| Template specialization of Floor for Vec3<float>
|
|
template<typename CoordT , template< typename > class Vec3T> |
CoordT | Floor (Vec3T< double > &xyz) |
| Template specialization of Floor for Vec3<float>
|
|
template<typename ValueType , typename RealT = ValueType> |
__hostdev__ ValueType | WENO5 (const ValueType &v1, const ValueType &v2, const ValueType &v3, const ValueType &v4, const ValueType &v5, RealT scale2=1.0) |
| Implementation of nominally fifth-order finite-difference WENO.
|
|
template<typename RealT > |
__hostdev__ RealT | GodunovsNormSqrd (bool isOutside, RealT dP_xm, RealT dP_xp, RealT dP_ym, RealT dP_yp, RealT dP_zm, RealT dP_zp) |
|
template<typename RealT > |
__hostdev__ RealT | GodunovsNormSqrd (bool isOutside, const Vec3< RealT > &gradient_m, const Vec3< RealT > &gradient_p) |
|