|
OGRE
1.9.0
|
Internal class holding a point list representation of a convex body. More...
#include <OgreShadowCameraSetupFocused.h>
Public Member Functions | |
| PointListBody () | |
| PointListBody (const ConvexBody &body) | |
| ~PointListBody () | |
| void | addAAB (const AxisAlignedBox &aab) |
| Adds all points of an AAB. | |
| void | addPoint (const Vector3 &point) |
| Adds a specific point to the body list. | |
| void | build (const ConvexBody &body, bool filterDuplicates=true) |
| Builds a point list body from a 'real' body. | |
| void | buildAndIncludeDirection (const ConvexBody &body, Real extrudeDist, const Vector3 &dir) |
| Builds a PointListBody from a Body and includes all the space in a given direction. | |
| const AxisAlignedBox & | getAAB (void) const |
| Returns the bounding box representation. | |
| const Vector3 & | getPoint (size_t cnt) const |
| Returns a point. | |
| size_t | getPointCount (void) const |
| Returns the point count. | |
| void | merge (const PointListBody &plb) |
| Merges a second PointListBody into this one. | |
| void | reset (void) |
| Resets the body. | |
Private Attributes | |
| AxisAlignedBox | mAAB |
| Polygon::VertexList | mBodyPoints |
Internal class holding a point list representation of a convex body.
Definition at line 86 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.
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.
| const AxisAlignedBox & Ogre::FocusedShadowCameraSetup::PointListBody::getAAB | ( | void | ) | const |
Returns the bounding box representation.
Returns a point.
Returns the point count.
| void Ogre::FocusedShadowCameraSetup::PointListBody::merge | ( | const PointListBody & | plb | ) |
Merges a second PointListBody into this one.
|
private |
Definition at line 89 of file OgreShadowCameraSetupFocused.h.
|
private |
Definition at line 88 of file OgreShadowCameraSetupFocused.h.
1.10.0