HDK
|
Partial template specialization for floating point coordinate types. More...
#include <NanoVDB.h>
Public Types | |
using | Vec3Type = Vec3T |
using | ValueType = typename Vec3T::ValueType |
using | BaseT = BaseBBox< Vec3T > |
Public Member Functions | |
__hostdev__ | BBox () |
Default construction sets BBox to an empty bbox. More... | |
__hostdev__ | BBox (const Vec3T &min, const Vec3T &max) |
__hostdev__ | BBox (const Coord &min, const Coord &max) |
__hostdev__ | BBox (const BaseBBox< Coord > &bbox) |
__hostdev__ bool | empty () const |
__hostdev__ | operator bool () const |
__hostdev__ Vec3T | dim () const |
__hostdev__ bool | isInside (const Vec3T &p) const |
![]() | |
__hostdev__ bool | operator== (const BaseBBox &rhs) const |
__hostdev__ bool | operator!= (const BaseBBox &rhs) const |
__hostdev__ const Vec3T & | operator[] (int i) const |
__hostdev__ Vec3T & | operator[] (int i) |
__hostdev__ Vec3T & | min () |
__hostdev__ Vec3T & | max () |
__hostdev__ const Vec3T & | min () const |
__hostdev__ const Vec3T & | max () const |
__hostdev__ BaseBBox & | translate (const Vec3T &xyz) |
__hostdev__ BaseBBox & | expand (const Vec3T &xyz) |
Expand this bounding box to enclose point xyz . More... | |
__hostdev__ BaseBBox & | expand (const BaseBBox &bbox) |
Expand this bounding box to enclose the given bounding box. More... | |
__hostdev__ BaseBBox & | intersect (const BaseBBox &bbox) |
Intersect this bounding box with the given bounding box. More... | |
__hostdev__ bool | isInside (const Vec3T &xyz) |
Static Public Member Functions | |
static __hostdev__ BBox | createCube (const Coord &min, typename Coord::ValueType dim) |
Additional Inherited Members | |
![]() | |
Vec3T | mCoord [2] |
![]() | |
__hostdev__ | BaseBBox () |
__hostdev__ | BaseBBox (const Vec3T &min, const Vec3T &max) |
Partial template specialization for floating point coordinate types.
using nanovdb::BBox< Vec3T, true >::BaseT = BaseBBox<Vec3T> |
using nanovdb::BBox< Vec3T, true >::ValueType = typename Vec3T::ValueType |
using nanovdb::BBox< Vec3T, true >::Vec3Type = Vec3T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |