OpenVDB 10.0.1
|
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 |
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, i.e. uninitialized. | |
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 > | |
BBox< Vec3< RealT > > | asReal () const |
BBox | expandBy (typename CoordT::ValueType padding) const |
Return a new instance that is expanded by the specified padding. | |
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 |
Coord & | translate (const CoordT &xyz) |
BaseBBox & | expand (const CoordT &xyz) |
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) |
Public Attributes | |
CoordT | mCoord [2] |
Partial template specialization for integer coordinate types.
|
inline |
|
inlinestatic |
|
inline |
Return true if this bounding box is empty, i.e. uninitialized.
Return a new instance that is expanded by the specified padding.
Return true
if the given bounding box overlaps with this bounding box.
Intersect this bounding box with the given bounding box.
Return true
if the given bounding box is inside this bounding box.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |