Internal class holding a point list representation of a convex body.
More...
#include <OgreShadowCameraSetupFocused.h>
Internal class holding a point list representation of a convex body.
Definition at line 85 of file OgreShadowCameraSetupFocused.h.
Ogre::FocusedShadowCameraSetup::PointListBody::PointListBody |
( |
| ) |
|
Ogre::FocusedShadowCameraSetup::PointListBody::PointListBody |
( |
const ConvexBody & |
body | ) |
|
Ogre::FocusedShadowCameraSetup::PointListBody::~PointListBody |
( |
| ) |
|
void Ogre::FocusedShadowCameraSetup::PointListBody::addAAB |
( |
const AxisAlignedBox & |
aab | ) |
|
Adds all points of an AAB.
void Ogre::FocusedShadowCameraSetup::PointListBody::addPoint |
( |
const Vector3 & |
point | ) |
|
Adds a specific point to the body list.
void Ogre::FocusedShadowCameraSetup::PointListBody::build |
( |
const ConvexBody & |
body, |
|
|
bool |
filterDuplicates = true |
|
) |
| |
Builds a point list body from a 'real' body.
void Ogre::FocusedShadowCameraSetup::PointListBody::buildAndIncludeDirection |
( |
const ConvexBody & |
body, |
|
|
Real |
extrudeDist, |
|
|
const Vector3 & |
dir |
|
) |
| |
Builds a PointListBody from a Body and includes all the space in a given direction.
- Note
- Duplicate vertices are not filtered.
-
Body is not checked for correctness.
const AxisAlignedBox& Ogre::FocusedShadowCameraSetup::PointListBody::getAAB |
( |
void |
| ) |
const |
Returns the bounding box representation.
const Vector3& Ogre::FocusedShadowCameraSetup::PointListBody::getPoint |
( |
size_t |
cnt | ) |
const |
size_t Ogre::FocusedShadowCameraSetup::PointListBody::getPointCount |
( |
void |
| ) |
const |
void Ogre::FocusedShadowCameraSetup::PointListBody::merge |
( |
const PointListBody & |
plb | ) |
|
void Ogre::FocusedShadowCameraSetup::PointListBody::reset |
( |
void |
| ) |
|
The documentation for this class was generated from the following file: