Home | Download | Screen shots | Discussion | Documentation |
---|
An axis-aligned bounding box. More...
Public Member Functions | |
virtual | ~axis_aligned_bounding_box () throw () |
Destroy. | |
![]() | |
virtual | ~bounding_volume ()=0 throw () |
Destroy. | |
void | maximize () |
Maximize the bounding volume. | |
bool | maximized () const throw () |
Indicates whether the bounding volume is maximized. | |
intersection | intersect_frustum (const openvrml::frustum &frustum) const |
Intersect this bounding_volume with a frustum . | |
void | extend (const vec3f &p) |
Extend the bounding volume to enclose p . | |
void | extend (const bounding_volume &bv) |
Extend the bounding_volume to enclose bv . | |
void | enclose (const std::vector< vec3f > &points) |
Enclose the given set of points. | |
void | ortho_transform (const mat4f &M) |
Transform this bounding volume using an orthogonal transfom. | |
void | transform (const mat4f &M) |
Transform this bounding volume using an affine transfom. |
Private Member Functions | |
virtual void | do_maximize () |
Implement me! | |
virtual bool | do_maximized () const |
Implement me! | |
virtual intersection | do_intersect_frustum (const openvrml::frustum &frustum) const |
virtual void | do_extend (const vec3f &p) |
virtual void | do_extend (const axis_aligned_bounding_box &b) |
virtual void | do_extend (const bounding_sphere &b) |
virtual void | do_enclose (const std::vector< vec3f > &points) |
Enclose the given set of points. | |
virtual void | do_ortho_transform (const mat4f &M) |
Implement me! | |
virtual void | do_transform (const mat4f &M) |
Implement me! |
Additional Inherited Members | |
![]() | |
enum | intersection { outside = -1, partial = 0, inside = 1 } |
Indicates the type of intersection. More... |
An axis-aligned bounding box.
|
virtual |
Destroy.
|
privatevirtual |
Implement me!
|
privatevirtual |
Implement me!
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
Enclose the given set of points.
This resets the volume from any previous values.
[in] | points | points. |
|
privatevirtual |
Implement me!
|
privatevirtual |
Implement me!