![]() |
OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Represents a convex volume bounded by planes. More...
#include <OgrePlaneBoundedVolume.h>
Public Types | |
| typedef std::vector< Plane > | PlaneList |
Public Member Functions | |
| PlaneBoundedVolume () | |
| PlaneBoundedVolume (Plane::Side theOutside) | |
| Constructor, determines which side is deemed to be 'outside'. | |
| bool | intersects (const AxisAlignedBox &box) const |
| Intersection test with AABB. | |
| std::pair< bool, Real > | intersects (const Ray &ray) |
| Intersection test with a Ray. | |
| bool | intersects (const Sphere &sphere) const |
| Intersection test with Sphere. | |
Public Attributes | |
| Plane::Side | outside |
| PlaneList | planes |
| Publicly accessible plane list, you can modify this direct. | |
Represents a convex volume bounded by planes.
| typedef std::vector<Plane> Ogre::PlaneBoundedVolume::PlaneList |
|
inline |
References outside.
|
inline |
Constructor, determines which side is deemed to be 'outside'.
References outside.
|
inline |
Intersection test with AABB.
References Ogre::AxisAlignedBox::getCenter(), Ogre::AxisAlignedBox::getHalfSize(), Ogre::Plane::getSide(), Ogre::AxisAlignedBox::isInfinite(), Ogre::AxisAlignedBox::isNull(), outside, and planes.
|
inline |
Intersection test with Sphere.
References Ogre::Sphere::getCenter(), Ogre::Plane::getDistance(), Ogre::Sphere::getRadius(), Ogre::Plane::NEGATIVE_SIDE, outside, and planes.
Intersection test with a Ray.
References Ogre::Math::intersects(), outside, planes, and Ogre::Plane::POSITIVE_SIDE.
| PlaneList Ogre::PlaneBoundedVolume::planes |
Publicly accessible plane list, you can modify this direct.
Referenced by intersects(), intersects(), intersects(), and Ogre::Ray::intersects().
| Plane::Side Ogre::PlaneBoundedVolume::outside |
Referenced by PlaneBoundedVolume(), PlaneBoundedVolume(), intersects(), intersects(), intersects(), and Ogre::Ray::intersects().