\hypertarget{class_ogre_1_1_grid3_d_page_strategy}{}\doxysection{Ogre\+::Grid3\+D\+Page\+Strategy Class Reference}
\label{class_ogre_1_1_grid3_d_page_strategy}\index{Ogre::Grid3DPageStrategy@{Ogre::Grid3DPageStrategy}}


\mbox{\hyperlink{class_ogre_1_1_page}{Page}} strategy which loads new pages based on a regular 3D grid.  




{\ttfamily \#include $<$Ogre\+Grid3\+D\+Page\+Strategy.\+h$>$}



Inheritance diagram for Ogre\+::Grid3\+D\+Page\+Strategy\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=224pt]{class_ogre_1_1_grid3_d_page_strategy__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group___paging_gae6874dc60fa86f45dc04e28f69685833}{Grid3\+D\+Page\+Strategy}} (\mbox{\hyperlink{class_ogre_1_1_page_manager}{Page\+Manager}} $\ast$manager)
\item 
\mbox{\hyperlink{group___paging_ga5f68c64e312d28a0915303f75fa9e442}{$\sim$\+Grid3\+D\+Page\+Strategy}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_page_strategy_data}{Page\+Strategy\+Data}} $\ast$ \mbox{\hyperlink{group___paging_ga95954c4987a977e25c835bd116e63a22}{create\+Data}} ()
\begin{DoxyCompactList}\small\item\em Create a \mbox{\hyperlink{class_ogre_1_1_page_strategy_data}{Page\+Strategy\+Data}} instance containing the data specific to this \mbox{\hyperlink{class_ogre_1_1_page_strategy}{Page\+Strategy}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___paging_gac15aee85717bf206333658917836bfd0}{destroy\+Data}} (\mbox{\hyperlink{class_ogre_1_1_page_strategy_data}{Page\+Strategy\+Data}} $\ast$d)
\begin{DoxyCompactList}\small\item\em Destroy a \mbox{\hyperlink{class_ogre_1_1_page_strategy_data}{Page\+Strategy\+Data}} instance containing the data specific to this \mbox{\hyperlink{class_ogre_1_1_page_strategy}{Page\+Strategy}}. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{group___paging_ga1990d8b1110ac0555e3ec18da77675b8}{frame\+End}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} time\+Elapsed, \mbox{\hyperlink{class_ogre_1_1_paged_world_section}{Paged\+World\+Section}} $\ast$section)
\begin{DoxyCompactList}\small\item\em Called when the frame ends. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{group___paging_gadb6fc9f82a8ea955971b46c052a151af}{frame\+Start}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} time\+Since\+Last\+Frame, \mbox{\hyperlink{class_ogre_1_1_paged_world_section}{Paged\+World\+Section}} $\ast$section)
\begin{DoxyCompactList}\small\item\em Called when the frame starts. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_page_manager}{Page\+Manager}} $\ast$ \mbox{\hyperlink{group___paging_ga79dc7f55274f677dac8bf64798f4bbea}{get\+Manager}} () const
\item 
const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\hyperlink{group___paging_ga1b175f0b77c05ed13df9d917b71c6a31}{get\+Name}} () const
\item 
\mbox{\hyperlink{namespace_ogre_a5126a9c9fbccbfe4c78070263098acb2}{Page\+ID}} \mbox{\hyperlink{group___paging_ga31cb931801f78214a25733df20ad10fc}{get\+Page\+ID}} (const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&world\+Pos, \mbox{\hyperlink{class_ogre_1_1_paged_world_section}{Paged\+World\+Section}} $\ast$section)
\begin{DoxyCompactList}\small\item\em Get the page ID for a given world position. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___paging_ga93731f5971fba009a64bc4e4d8ce8517}{notify\+Camera}} (\mbox{\hyperlink{class_ogre_1_1_camera}{Camera}} $\ast$cam, \mbox{\hyperlink{class_ogre_1_1_paged_world_section}{Paged\+World\+Section}} $\ast$section)
\begin{DoxyCompactList}\small\item\em Called when a camera is used for any kind of rendering. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{group___paging_ga32e80bd39ff8f3d9b9a35d5f2d1f0751}{update\+Debug\+Display}} (\mbox{\hyperlink{class_ogre_1_1_page}{Page}} $\ast$p, \mbox{\hyperlink{class_ogre_1_1_scene_node}{Scene\+Node}} $\ast$sn)
\begin{DoxyCompactList}\small\item\em Update the contents of the passed in \mbox{\hyperlink{class_ogre_1_1_scene_node}{Scene\+Node}} to reflect the debug display of a given page. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{class_ogre_1_1_page}{Page}} strategy which loads new pages based on a regular 3D grid. 

\begin{DoxyRemark}{Remarks}
The grid can be up to 1024 x 1024 x 1024 cells in size. Page\+I\+Ds are generated like this\+: (slice$\ast$1024 + row) $\ast$ 1024 + col. The grid is centred around the grid origin, such that the boundaries of the cell around that origin are \mbox{[}-\/Cell\+Size/2, Cell\+Size/2) 
\end{DoxyRemark}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_grid3_d_page_strategy_8h}{Ogre\+Grid3\+D\+Page\+Strategy.\+h}}\end{DoxyCompactItemize}
