|
HDK
|
Partial template specialization for integer coordinate types. More...
#include <NanoVDB.h>
Inheritance diagram for nanovdb::BBox< CoordT, false >:Classes | |
| class | Iterator |
| Iterator over the domain covered by a BBox. More... | |
Public Types | |
| using | BaseT = BaseBBox< CoordT > |
Public Member Functions | |
| __hostdev__ Iterator | begin () const |
| __hostdev__ Iterator | end () const |
| __hostdev__ | BBox () |
| __hostdev__ | BBox (const CoordT &min, const CoordT &max) |
| template<typename SplitT > | |
| __hostdev__ | BBox (BBox &other, const SplitT &) |
| __hostdev__ bool | is_divisible () const |
| __hostdev__ bool | empty () const |
| Return true if this bounding box is empty, e.g. uninitialized. More... | |
| __hostdev__ | operator bool () const |
| Convert this BBox to boolean true if it is not empty. More... | |
| __hostdev__ CoordT | dim () const |
| __hostdev__ uint64_t | volume () const |
| __hostdev__ bool | isInside (const CoordT &p) const |
| __hostdev__ bool | isInside (const BBox &b) const |
Return true if the given bounding box is inside this bounding box. More... | |
| __hostdev__ bool | hasOverlap (const BBox &b) const |
Return true if the given bounding box overlaps with this bounding box. More... | |
| template<typename RealT = double> | |
| __hostdev__ BBox< Vec3< RealT > > | asReal () const |
| __hostdev__ BBox | expandBy (typename CoordT::ValueType padding) const |
| Return a new instance that is expanded by the specified padding. More... | |
| template<typename Map > | |
| __hostdev__ BBox< Vec3d > | transform (const Map &map) const |
| transform this coordinate bounding box by the specified map More... | |
Public Member Functions inherited from nanovdb::BaseBBox< CoordT > | |
| __hostdev__ bool | operator== (const BaseBBox &rhs) const |
| __hostdev__ bool | operator!= (const BaseBBox &rhs) const |
| __hostdev__ const CoordT & | operator[] (int i) const |
| __hostdev__ CoordT & | operator[] (int i) |
| __hostdev__ CoordT & | min () |
| __hostdev__ const CoordT & | min () const |
| __hostdev__ CoordT & | max () |
| __hostdev__ const CoordT & | max () const |
| __hostdev__ BaseBBox & | translate (const CoordT &xyz) |
| __hostdev__ BaseBBox & | expand (const CoordT &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 CoordT &xyz) |
Static Public Member Functions | |
| static __hostdev__ BBox | createCube (const CoordT &min, typename CoordT::ValueType dim) |
| static __hostdev__ BBox | createCube (typename CoordT::ValueType min, typename CoordT::ValueType max) |
Additional Inherited Members | |
Public Attributes inherited from nanovdb::BaseBBox< CoordT > | |
| CoordT | mCoord [2] |
Protected Member Functions inherited from nanovdb::BaseBBox< CoordT > | |
| __hostdev__ | BaseBBox () |
| __hostdev__ | BaseBBox (const CoordT &min, const CoordT &max) |
Partial template specialization for integer coordinate types.
| using nanovdb::BBox< CoordT, false >::BaseT = BaseBBox<CoordT> |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |