OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
#include <OgreOctreeZone.h>
Additional Inherited Members | |
Public Types inherited from Ogre::PCZone | |
enum | NODE_LIST_TYPE { HOME_NODE_LIST = 1 , VISITOR_NODE_LIST = 2 } |
Public Attributes inherited from Ogre::PCZone | |
AntiPortalList | mAntiPortals |
PCZSceneManager * | mPCZSM |
Pointer to the pcz scene manager that created this zone. | |
PortalList | mPortals |
List of Portals which this zone contains (each portal leads to another zone) | |
Ogre::OctreeZone::OctreeZone | ( | PCZSceneManager * | , |
const String & | |||
) |
|
virtual |
|
overridevirtual |
Set the enclosure node for this OctreeZone.
Implements Ogre::PCZone.
|
overridevirtual |
Adds an SceneNode to this OctreeZone.
The PCZSceneManager calls this function to add a node to the zone.
Implements Ogre::PCZone.
|
overridevirtual |
Removes all references to a SceneNode from this Zone.
Implements Ogre::PCZone.
Remove all nodes from the node reference list and clear it.
Reimplemented from Ogre::PCZone.
Indicates whether or not this zone requires zone-specific data for each scene node.
Implements Ogre::PCZone.
|
overridevirtual |
Create zone specific data for a node.
Reimplemented from Ogre::PCZone.
|
overridevirtual |
(recursive) Check the given node against all portals in the zone
Implements Ogre::PCZone.
|
overridevirtual |
(recursive) Check the given light against all portals in the zone
Implements Ogre::PCZone.
Update the zone data for each portal.
Implements Ogre::PCZone.
Mark nodes dirty base on moving portals.
Implements Ogre::PCZone.
|
overridevirtual |
Update a node's home zone.
Implements Ogre::PCZone.
|
overridevirtual |
Find and add visible objects to the render queue.
Starts with objects in the zone and proceeds through visible portals
This is a recursive call (the main call should be to _findVisibleObjects)
Implements Ogre::PCZone.
|
overridevirtual |
Functions for finding Nodes that intersect various shapes.
Implements Ogre::PCZone.
|
overridevirtual |
Implements Ogre::PCZone.
|
overridevirtual |
Implements Ogre::PCZone.
|
overridevirtual |
Implements Ogre::PCZone.
Sets the given option for the Zone.
Options are: "Size", AxisAlignedBox *; "Depth", int *; "ShowOctree", bool *;
Implements Ogre::PCZone.
Called when the scene manager creates a camera because some zone managers (like TerrainZone) need the camera info.
Implements Ogre::PCZone.
Called by PCZSM during setWorldGeometryRenderQueue()
Implements Ogre::PCZone.
Called when a _renderScene is called in the SceneManager.
Implements Ogre::PCZone.
|
overridevirtual |
Called by PCZSM during setZoneGeometry()
Implements Ogre::PCZone.
|
overridevirtual |
Get the world coordinate aabb of the zone.
Reimplemented from Ogre::PCZone.
void Ogre::OctreeZone::init | ( | AxisAlignedBox & | box, |
int | depth | ||
) |
Init function carried over from OctreeSceneManager.
void Ogre::OctreeZone::resize | ( | const AxisAlignedBox & | box | ) |
Resizes the octree to the given size.
void Ogre::OctreeZone::updateNodeOctant | ( | OctreeZoneData * | zoneData | ) |
Checks the given OctreeNode, and determines if it needs to be moved to a different octant.
void Ogre::OctreeZone::removeNodeFromOctree | ( | PCZSceneNode * | ) |
Removes the node from the octree it is in.
void Ogre::OctreeZone::addNodeToOctree | ( | PCZSceneNode * | , |
Octree * | octree, | ||
int | depth = 0 |
||
) |