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