Specialized frustum shaped culling volume that has culling planes created from portals. More...
#include <OgrePCZFrustum.h>
Public Types | |
enum | Visibility { NONE, PARTIAL, FULL } |
Public Member Functions | |
PCZFrustum () | |
Standard constructor. More... | |
~PCZFrustum () | |
Standard destructor. More... | |
int | addPortalCullingPlanes (PortalBase *portal) |
ProjectionType | getProjectionType () const |
Get the projection type of this PCZFrustum. More... | |
PCPlane * | getUnusedCullingPlane (void) |
PCZFrustum::Visibility | getVisibility (const AxisAlignedBox &bound) |
bool | isFullyVisible (const AxisAlignedBox &bound) const |
bool | isFullyVisible (const Sphere &bound) const |
bool | isFullyVisible (const PortalBase *portal) const |
bool | isVisible (const AxisAlignedBox &bound) const |
bool | isVisible (const Sphere &bound) const |
bool | isVisible (const PortalBase *portal) const |
void | removeAllCullingPlanes (void) |
void | removePortalCullingPlanes (PortalBase *portal) |
void | setOrigin (const Vector3 &newOrigin) |
void | setOriginPlane (const Vector3 &rkNormal, const Vector3 &rkPoint) |
void | setProjectionType (ProjectionType projType) |
Set the projection type of this PCZFrustum. More... | |
void | setUseOriginPlane (bool yesno) |
Protected Attributes | |
PCPlaneList | mActiveCullingPlanes |
PCPlaneList | mCullingPlaneReservoir |
Vector3 | mOrigin |
Plane | mOriginPlane |
ProjectionType | mProjType |
bool | mUseOriginPlane |
Specialized frustum shaped culling volume that has culling planes created from portals.
Definition at line 69 of file OgrePCZFrustum.h.
Enumerator | |
---|---|
NONE | |
PARTIAL | |
FULL |
Definition at line 73 of file OgrePCZFrustum.h.
Ogre::PCZFrustum::PCZFrustum | ( | ) |
Standard constructor.
Ogre::PCZFrustum::~PCZFrustum | ( | ) |
Standard destructor.
int Ogre::PCZFrustum::addPortalCullingPlanes | ( | PortalBase * | portal | ) |
|
inline |
Get the projection type of this PCZFrustum.
Definition at line 120 of file OgrePCZFrustum.h.
PCPlane* Ogre::PCZFrustum::getUnusedCullingPlane | ( | void | ) |
PCZFrustum::Visibility Ogre::PCZFrustum::getVisibility | ( | const AxisAlignedBox & | bound | ) |
bool Ogre::PCZFrustum::isFullyVisible | ( | const AxisAlignedBox & | bound | ) | const |
bool Ogre::PCZFrustum::isFullyVisible | ( | const Sphere & | bound | ) | const |
bool Ogre::PCZFrustum::isFullyVisible | ( | const PortalBase * | portal | ) | const |
bool Ogre::PCZFrustum::isVisible | ( | const AxisAlignedBox & | bound | ) | const |
bool Ogre::PCZFrustum::isVisible | ( | const Sphere & | bound | ) | const |
bool Ogre::PCZFrustum::isVisible | ( | const PortalBase * | portal | ) | const |
void Ogre::PCZFrustum::removeAllCullingPlanes | ( | void | ) |
void Ogre::PCZFrustum::removePortalCullingPlanes | ( | PortalBase * | portal | ) |
|
inline |
Definition at line 108 of file OgrePCZFrustum.h.
|
inline |
Set the projection type of this PCZFrustum.
Definition at line 117 of file OgrePCZFrustum.h.
|
inline |
Definition at line 112 of file OgrePCZFrustum.h.
|
protected |
Definition at line 127 of file OgrePCZFrustum.h.
|
protected |
Definition at line 128 of file OgrePCZFrustum.h.
|
protected |
Definition at line 124 of file OgrePCZFrustum.h.
|
protected |
Definition at line 125 of file OgrePCZFrustum.h.
|
protected |
Definition at line 129 of file OgrePCZFrustum.h.
|
protected |
Definition at line 126 of file OgrePCZFrustum.h.