#include <gbbox.h>
Public Member Functions | |
GBBox (const Point &position, const Vector4f &orientation, const Point &scale, const Box &box) | |
virtual bool | isSimilar (const Object *object) const |
const Vector4f & | orientation () const |
const Point & | position () const |
const Point & | scale () const |
Private Attributes | |
const Vector4f | m_orientation |
const Point | m_position |
const Point | m_scale |
General bounding box class. Represent not axis aligned bounding box in octree.
objtree::GBBox::GBBox | ( | const Point & | position, |
const Vector4f & | orientation, | ||
const Point & | scale, | ||
const Box & | box | ||
) |
bool objtree::GBBox::isSimilar | ( | const Object * | object | ) | const [virtual] |
Compare other object for similarity.
object | object to compare |
Reimplemented from objtree::BBox.
const Vector4f& objtree::GBBox::orientation | ( | ) | const [inline] |
const Point& objtree::GBBox::position | ( | ) | const [inline] |
const Point& objtree::GBBox::scale | ( | ) | const [inline] |
const Vector4f objtree::GBBox::m_orientation [private] |
const Point objtree::GBBox::m_position [private] |
const Point objtree::GBBox::m_scale [private] |