#include <AABoundingBox.h>
Collaboration diagram for AABoundingBox:

Public Methods | |
| AABoundingBox () | |
| AABoundingBox (Vertex3 &f, Vertex3 &t) | |
| Vertex3 | size () const |
| Vertex3 | center () const |
| void | setRange (const Vertex3 &f, const Vertex3 &t) |
| void | getRange (Vertex3 &f, Vertex3 &t) const |
| const Vertex3 & | getFrom () const |
| const Vertex3 & | getTo () const |
| void | clear () |
| bool | empty () const |
| void | set (const Vertex3 &v, real r) |
| void | operator= (const Vertex3 &v) |
| void | sweep (Vertex3 &v) |
| void | operator+= (const Vertex3 &v) |
| void | operator= (const AABoundingBox &box) |
| void | operator+= (const AABoundingBox &box) |
| void | operator *= (const AABoundingBox &box) |
| void | sphere (const Vertex3 &v, real r) |
| real | distance (const Vertex3 &v) const |
| bool | intersect (const AABoundingBox &box) const |
| bool | intersect (const Ray &ray) const |
| bool | intersect (const Ray &ray, real &t0, real &t1) const |
Protected Attributes | |
| Vertex3 | from |
| Vertex3 | to |
Friends | |
| ostream & | operator<< (ostream &stream, const AABoundingBox &b) |
| ObjectFile & | operator>> (ObjectFile &f, AABoundingBox &b) |