OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Specialized frustum shaped culling volume that has culling planes created from portals. More...
#include <OgrePCZFrustum.h>
Public Types | |
enum | Visibility { NONE , PARTIAL , FULL } |
Specialized frustum shaped culling volume that has culling planes created from portals.
Ogre::PCZFrustum::PCZFrustum | ( | ) |
Standard constructor.
Ogre::PCZFrustum::~PCZFrustum | ( | ) |
Standard destructor.
int Ogre::PCZFrustum::addPortalCullingPlanes | ( | PortalBase * | portal | ) |
Calculate culling planes from portal and Frustum origin and add to list of culling planes.
|
inline |
Get the projection type of this PCZFrustum.
Get an unused PCPlane from the CullingPlane Reservoir.
PCZFrustum::Visibility Ogre::PCZFrustum::getVisibility | ( | const AxisAlignedBox & | bound | ) |
bool Ogre::PCZFrustum::isFullyVisible | ( | const AxisAlignedBox & | bound | ) | const |
bool Ogre::PCZFrustum::isFullyVisible | ( | const PortalBase * | portal | ) | const |
bool Ogre::PCZFrustum::isVisible | ( | const AxisAlignedBox & | bound | ) | const |
bool Ogre::PCZFrustum::isVisible | ( | const PortalBase * | portal | ) | const |
void Ogre::PCZFrustum::removePortalCullingPlanes | ( | PortalBase * | portal | ) |
Remove culling planes created from the given portal.
Set the origin plane.
|
inline |
Set the projection type of this PCZFrustum.
Tell the frustum whether or not to use the originplane.