![]() |
OpenVDB 13.1.0
|
Partial template specialization for integer coordinate types. More...
#include <nanovdb/math/Math.h>
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. | |
| __hostdev__ | operator bool () const |
| Convert this BBox to boolean true if it is not empty. | |
| __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. | |
| __hostdev__ bool | hasOverlap (const BBox &b) const |
Return true if the given bounding box overlaps with this bounding box. | |
| 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. | |
| template<typename Map> | |
| __hostdev__ auto | transform (const Map &map) const |
| transform this coordinate bounding box by the specified map | |
| __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. | |
| __hostdev__ BaseBBox & | expand (const BaseBBox &bbox) |
| Expand this bounding box to enclose the given bounding box. | |
| __hostdev__ BaseBBox & | intersect (const BaseBBox &bbox) |
| Intersect this bounding box with the given bounding box. | |
| __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) |
Public Attributes | |
| CoordT | mCoord [2] |
Partial template specialization for integer coordinate types.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
Return true if this bounding box is empty, e.g. uninitialized.
|
inline |
|
inlineinherited |
Expand this bounding box to enclose the given bounding box.
|
inlineinherited |
Expand this bounding box to enclose point xyz.
|
inline |
Return a new instance that is expanded by the specified padding.
|
inline |
Return true if the given bounding box overlaps with this bounding box.
|
inlineinherited |
Intersect this bounding box with the given bounding box.
|
inline |
|
inlineinherited |
|
inline |
Return true if the given bounding box is inside this bounding box.
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Convert this BBox to boolean true if it is not empty.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
transform this coordinate bounding box by the specified map
| map | mapping of index to world coordinates |
|
inlineinherited |
|
inline |
| CoordT mCoord[2] |