A TransformedBoxBound is a wrapper around another BoxBound and its values are the values of the BoxBound transformed by a transformation matrix.
More...
#include <H3D/Bound.h>
|
class | Center |
| The Center field updates itself from the boxBound and matrix fields. More...
|
|
class | Size |
| The Size field updates itself from the boxBound and matrix fields. More...
|
|
|
| TransformedBoxBound (Inst< Center > _center=0, Inst< Size > _size=0, Inst< SFMatrix4f > _matrix=0, Inst< SFBoxBound > _boxBound=0) |
| Constructor.
|
|
| BoxBound (Inst< SFVec3f > _center=0, Inst< SFVec3f > _size=0) |
| Constructor.
|
|
template<class InputIterator > |
void | fitAroundPoints (InputIterator begin, InputIterator end) |
| This function sets the BoxBound to encompass all the points between the begin and end iterators. More...
|
|
virtual bool | isInside (const Vec3f &p) |
| Determines if a given point is inside the bound or not.
|
|
virtual bool | lineSegmentIntersect (const Vec3f &from, const Vec3f &to) |
| Checks a line segment for intersection with the bound. More...
|
|
virtual bool | movingSphereIntersect (const Vec3f &from, const Vec3f &to, H3DFloat radius) |
| Checks a moving sphere for intersection with the bound. More...
|
|
virtual Vec3f | closestPoint (const Vec3f &p) |
| Returns the closest point on the bound to the given point.
|
|
virtual void | render () |
| Render the outline of the bound with OpenGL.
|
|
|
template<class Iterator > |
static Bound * | boundUnion (Iterator begin, Iterator end) |
| Returns a Bound that is the union between all the bounds specified by the iterators. More...
|
|
template<class Iterator > |
static Bound * | SFBoundUnion (Iterator begin, Iterator end) |
| Returns a Bound that is the union between the Bound objects in the SFBound fields specified by the iterators.
|
|
A TransformedBoxBound is a wrapper around another BoxBound and its values are the values of the BoxBound transformed by a transformation matrix.
The documentation for this class was generated from the following file: