\hypertarget{class_ogre_1_1_grid2_d_page_strategy_data}{}\section{Ogre\+:\+:Grid2\+D\+Page\+Strategy\+Data Class Reference}
\label{class_ogre_1_1_grid2_d_page_strategy_data}\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}


Specialisation of \hyperlink{class_ogre_1_1_page_strategy_data}{Page\+Strategy\+Data} for \hyperlink{class_ogre_1_1_grid2_d_page_strategy}{Grid2\+D\+Page\+Strategy}.  




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



Inheritance diagram for Ogre\+:\+:Grid2\+D\+Page\+Strategy\+Data\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=247pt]{class_ogre_1_1_grid2_d_page_strategy_data__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_ab690d0d7bfde4901d05b801ba55f031f}{Grid2\+D\+Page\+Strategy\+Data} ()
\item 
\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a5cb06b44106500ef4b76dd63520bbf47}{$\sim$\+Grid2\+D\+Page\+Strategy\+Data} ()
\item 
void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a20d28715472c15bf22f1f2db637ebae6}{calculate\+Cell} (\hyperlink{namespace_ogre_a5126a9c9fbccbfe4c78070263098acb2}{Page\+ID} in\+Page\+ID, \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} $\ast$x, \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} $\ast$y)
\item 
\hyperlink{namespace_ogre_a5126a9c9fbccbfe4c78070263098acb2}{Page\+ID} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a4f40f3a38d5bdd754d97aae388eff33f}{calculate\+Page\+ID} (\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} x, \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} y)
\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_ae5e29254ddfbf7d7dedee5a274a78947}{convert\+Grid\+To\+World\+Space} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&grid, \hyperlink{class_ogre_1_1_vector3}{Vector3} \&world)
\begin{DoxyCompactList}\small\item\em Convert a grid point to world space -\/ note only 2 axes populated. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_ae4ec9cac11641471726bf96bfb8f596d}{convert\+World\+To\+Grid\+Space} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&world, \hyperlink{class_ogre_1_1_vector2}{Vector2} \&grid)
\begin{DoxyCompactList}\small\item\em Convert a world point to grid space (not relative to origin) \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a0ca722266d38706ce99241f5f84130d1}{determine\+Grid\+Location} (const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&gridpos, \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} $\ast$x, \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} $\ast$y)
\begin{DoxyCompactList}\small\item\em Convert a grid position into a row and column index. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a1fc550fcd2bf9b035999259f1fb74581}{get\+Bottom\+Left\+Grid\+Space} (\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} x, \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} y, \hyperlink{class_ogre_1_1_vector2}{Vector2} \&bl)
\begin{DoxyCompactList}\small\item\em Get the (grid space) bottom-\/left of a cell. \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_afd52bf3abb9eedcef1bee548679cb035}{get\+Cell\+Range\+MaxX} () const
\begin{DoxyCompactList}\small\item\em get the index range of all cells (values outside this will be ignored) \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_ae04a0e6e097b75919a5c281a0d55a57c}{get\+Cell\+Range\+MaxY} () const
\begin{DoxyCompactList}\small\item\em get the index range of all cells (values outside this will be ignored) \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a94708e51aaa9e669249e30e28be2f339}{get\+Cell\+Range\+MinX} () const
\begin{DoxyCompactList}\small\item\em get the index range of all cells (values outside this will be ignored) \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a51ddab75172a8f66cfd22a7ed002692a}{get\+Cell\+Range\+MinY} () const
\begin{DoxyCompactList}\small\item\em get the index range of all cells (values outside this will be ignored) \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a290039a8cbb30a7c4bbc71d7a9c4c4cc}{get\+Cell\+Size} () const
\begin{DoxyCompactList}\small\item\em Get the size of the cells in the grid. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a3ce88a4272f2603a3ae0d3f3c6e864c2}{get\+Corners\+Grid\+Space} (\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} x, \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} y, \hyperlink{class_ogre_1_1_vector2}{Vector2} $\ast$p\+Four\+Points)
\begin{DoxyCompactList}\small\item\em Get the (grid space) corners of a cell. \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a615dd021f08a023dff03c9112dca852e}{get\+Hold\+Radius} () const
\begin{DoxyCompactList}\small\item\em Get the Holding radius. \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a09a33b2a423ee71c271d414535712441}{get\+Hold\+Radius\+In\+Cells} ()
\begin{DoxyCompactList}\small\item\em Get the Hold radius as a multiple of cells. \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_aed251165329f793c2aa691df28ad0043}{get\+Load\+Radius} () const
\begin{DoxyCompactList}\small\item\em Get the loading radius. \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a73e0335ca55e8798854a7ee37bdc8b1c}{get\+Load\+Radius\+In\+Cells} ()
\begin{DoxyCompactList}\small\item\em Get the load radius as a multiple of cells. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a26735f9ed9499d93a6c82346b7e284e7}{get\+Mid\+Point\+Grid\+Space} (\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} x, \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} y, \hyperlink{class_ogre_1_1_vector2}{Vector2} \&mid)
\begin{DoxyCompactList}\small\item\em Get the (grid space) mid point of a cell. \end{DoxyCompactList}\item 
virtual \hyperlink{group___paging_ga725e3c2dccf1dbcec4a12f165681317c}{Grid2\+D\+Mode} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_aadbc1c9ed29dc3fbf1954de5c29d1331}{get\+Mode} () const
\begin{DoxyCompactList}\small\item\em Set the grid alignment mode. \end{DoxyCompactList}\item 
virtual const \hyperlink{class_ogre_1_1_vector3}{Vector3} \& \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a7acd1f54228e8cd83913ebe8e99d09a0}{get\+Origin} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&world\+Origin)
\begin{DoxyCompactList}\small\item\em Get the origin of the grid in world space. \end{DoxyCompactList}\item 
bool \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a9426a938e8b6cc35581484c2f5d4a3d6}{load} (\hyperlink{class_ogre_1_1_stream_serialiser}{Stream\+Serialiser} \&stream)
\begin{DoxyCompactList}\small\item\em Load this data from a stream (returns true if successful) \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a11b924119c2adf18228bebb85e9c9d78}{save} (\hyperlink{class_ogre_1_1_stream_serialiser}{Stream\+Serialiser} \&stream)
\begin{DoxyCompactList}\small\item\em Save this data to a stream. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_af9383aed6dc9c82576ae39f4b3ee99f8}{set\+Cell\+Range} (\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} minX, \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} minY, \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} maxX, \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} maxY)
\begin{DoxyCompactList}\small\item\em Set the index range of all cells (values outside this will be ignored) \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_adba5b34cf07f301ffe8d3f0b671f0ec5}{set\+Cell\+Range\+MaxX} (\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} maxX)
\begin{DoxyCompactList}\small\item\em Set the index range of all cells (values outside this will be ignored) \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_aff88059babd2ffe69b5df6bae444bc6c}{set\+Cell\+Range\+MaxY} (\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} maxY)
\begin{DoxyCompactList}\small\item\em Set the index range of all cells (values outside this will be ignored) \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a0cdeae8791ea172916dbaac422d152d7}{set\+Cell\+Range\+MinX} (\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} minX)
\begin{DoxyCompactList}\small\item\em Set the index range of all cells (values outside this will be ignored) \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_ac5b925e7ab7fa1017ca212ee86ecac51}{set\+Cell\+Range\+MinY} (\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} minY)
\begin{DoxyCompactList}\small\item\em Set the index range of all cells (values outside this will be ignored) \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_aca2a3f3bfb4ee8d102287380a88ec3e8}{set\+Cell\+Size} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} sz)
\begin{DoxyCompactList}\small\item\em Set the size of the cells in the grid. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a3faa3212ed5a471e64473f3c49b3ec32}{set\+Hold\+Radius} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} sz)
\begin{DoxyCompactList}\small\item\em Set the Holding radius. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a971a435066af90a61c618bf551a4ca85}{set\+Load\+Radius} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} sz)
\begin{DoxyCompactList}\small\item\em Set the loading radius. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a919393a7fbd4b645a6ebfe51b7d62b2c}{set\+Mode} (\hyperlink{group___paging_ga725e3c2dccf1dbcec4a12f165681317c}{Grid2\+D\+Mode} mode)
\begin{DoxyCompactList}\small\item\em Set the grid alignment mode. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_af8d3c9cc51d6555f55723934ace46a2e}{set\+Origin} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&world\+Origin)
\begin{DoxyCompactList}\small\item\em Set the origin of the grid in world space. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_ab41c384b1be0abfb04b0309eb1ab34fc}{C\+H\+U\+N\+K\+\_\+\+ID}
\item 
static const \hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a3bf4f66a557bf903e12c8e8145d4efbb}{C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Specialisation of \hyperlink{class_ogre_1_1_page_strategy_data}{Page\+Strategy\+Data} for \hyperlink{class_ogre_1_1_grid2_d_page_strategy}{Grid2\+D\+Page\+Strategy}. 

\begin{DoxyRemark}{Remarks}
Structurally this data defines with a grid of pages, with the logical origin in the middle of the entire grid. The grid cells are indexed from 0 as a \textquotesingle{}centre\textquotesingle{} slot, supporting both positive and negative values. so (0,0) is the centre cell, (1,0) is the cell to the right of the centre, (1,0) is the cell above the centre, (-\/2,1) is the cell two to the left of the centre and one up, etc. The maximum extent of each axis is -\/32768 to +32767, so in other words enough for over 4 billion entries. 
\end{DoxyRemark}
\begin{DoxyParagraph}{}
To limit the page load requests that are generated to a fixed region, you can set the min and max cell indexes (inclusive)for each direction; if a page request would address a cell outside this range it is ignored so you don\textquotesingle{}t have the expense of checking for page data that will never exist. 
\end{DoxyParagraph}
\begin{DoxyParagraph}{}
The data format for this in a file is\+:~\newline
 {\bfseries \hyperlink{class_ogre_1_1_grid2_d_page_strategy_data}{Grid2\+D\+Page\+Strategy\+Data} (Identifier \textquotesingle{}G2\+DD\textquotesingle{})}~\newline
 \mbox{[}Version 1\mbox{]} \tabulinesep=1mm
\begin{longtabu} spread 0pt [c]{*{3}{|X[-1]}|}
\hline
{\bfseries Name} &{\bfseries Type} &{\bfseries Description}  \\\cline{1-3}
Grid orientation &uint8 &The orientation of the grid; XZ = 0, XY = 1, YZ = 2  \\\cline{1-3}
Grid origin &\hyperlink{class_ogre_1_1_vector3}{Vector3} &World origin of the grid.  \\\cline{1-3}
Grid cell size &Real &The size of each cell (page) in the grid  \\\cline{1-3}
Grid cell range (minx, maxx, miny, maxy) &int16 $\ast$ 4 &The extents of the world in cell indexes  \\\cline{1-3}
Load radius &Real &The outer radius at which new pages should start loading  \\\cline{1-3}
Hold radius &Real &The radius at which existing pages should be held if already loaded but not actively loaded (should be larger than Load radius)  \\\cline{1-3}
\end{longtabu}

\end{DoxyParagraph}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_ogre_1_1_grid3_d_page_strategy_data}{Grid3\+D\+Page\+Strategy\+Data} 
\end{DoxySeeAlso}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_ab690d0d7bfde4901d05b801ba55f031f}\label{class_ogre_1_1_grid2_d_page_strategy_data_ab690d0d7bfde4901d05b801ba55f031f}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!Grid2\+D\+Page\+Strategy\+Data@{Grid2\+D\+Page\+Strategy\+Data}}
\index{Grid2\+D\+Page\+Strategy\+Data@{Grid2\+D\+Page\+Strategy\+Data}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{Grid2\+D\+Page\+Strategy\+Data()}{Grid2DPageStrategyData()}}
{\footnotesize\ttfamily Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::\+Grid2\+D\+Page\+Strategy\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a5cb06b44106500ef4b76dd63520bbf47}\label{class_ogre_1_1_grid2_d_page_strategy_data_a5cb06b44106500ef4b76dd63520bbf47}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!````~Grid2\+D\+Page\+Strategy\+Data@{$\sim$\+Grid2\+D\+Page\+Strategy\+Data}}
\index{````~Grid2\+D\+Page\+Strategy\+Data@{$\sim$\+Grid2\+D\+Page\+Strategy\+Data}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{$\sim$\+Grid2\+D\+Page\+Strategy\+Data()}{~Grid2DPageStrategyData()}}
{\footnotesize\ttfamily Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::$\sim$\+Grid2\+D\+Page\+Strategy\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a919393a7fbd4b645a6ebfe51b7d62b2c}\label{class_ogre_1_1_grid2_d_page_strategy_data_a919393a7fbd4b645a6ebfe51b7d62b2c}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!set\+Mode@{set\+Mode}}
\index{set\+Mode@{set\+Mode}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{set\+Mode()}{setMode()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Mode (\begin{DoxyParamCaption}\item[{\hyperlink{group___paging_ga725e3c2dccf1dbcec4a12f165681317c}{Grid2\+D\+Mode}}]{mode }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set the grid alignment mode. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_aadbc1c9ed29dc3fbf1954de5c29d1331}\label{class_ogre_1_1_grid2_d_page_strategy_data_aadbc1c9ed29dc3fbf1954de5c29d1331}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Mode@{get\+Mode}}
\index{get\+Mode@{get\+Mode}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Mode()}{getMode()}}
{\footnotesize\ttfamily virtual \hyperlink{group___paging_ga725e3c2dccf1dbcec4a12f165681317c}{Grid2\+D\+Mode} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Mode (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Set the grid alignment mode. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_af8d3c9cc51d6555f55723934ace46a2e}\label{class_ogre_1_1_grid2_d_page_strategy_data_af8d3c9cc51d6555f55723934ace46a2e}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!set\+Origin@{set\+Origin}}
\index{set\+Origin@{set\+Origin}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{set\+Origin()}{setOrigin()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Origin (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{world\+Origin }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set the origin of the grid in world space. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a7acd1f54228e8cd83913ebe8e99d09a0}\label{class_ogre_1_1_grid2_d_page_strategy_data_a7acd1f54228e8cd83913ebe8e99d09a0}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Origin@{get\+Origin}}
\index{get\+Origin@{get\+Origin}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Origin()}{getOrigin()}}
{\footnotesize\ttfamily virtual const \hyperlink{class_ogre_1_1_vector3}{Vector3}\& Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Origin (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{world\+Origin }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Get the origin of the grid in world space. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_aca2a3f3bfb4ee8d102287380a88ec3e8}\label{class_ogre_1_1_grid2_d_page_strategy_data_aca2a3f3bfb4ee8d102287380a88ec3e8}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!set\+Cell\+Size@{set\+Cell\+Size}}
\index{set\+Cell\+Size@{set\+Cell\+Size}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{set\+Cell\+Size()}{setCellSize()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Cell\+Size (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{sz }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set the size of the cells in the grid. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a290039a8cbb30a7c4bbc71d7a9c4c4cc}\label{class_ogre_1_1_grid2_d_page_strategy_data_a290039a8cbb30a7c4bbc71d7a9c4c4cc}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Cell\+Size@{get\+Cell\+Size}}
\index{get\+Cell\+Size@{get\+Cell\+Size}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Cell\+Size()}{getCellSize()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Cell\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Get the size of the cells in the grid. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a971a435066af90a61c618bf551a4ca85}\label{class_ogre_1_1_grid2_d_page_strategy_data_a971a435066af90a61c618bf551a4ca85}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!set\+Load\+Radius@{set\+Load\+Radius}}
\index{set\+Load\+Radius@{set\+Load\+Radius}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{set\+Load\+Radius()}{setLoadRadius()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Load\+Radius (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{sz }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set the loading radius. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_aed251165329f793c2aa691df28ad0043}\label{class_ogre_1_1_grid2_d_page_strategy_data_aed251165329f793c2aa691df28ad0043}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Load\+Radius@{get\+Load\+Radius}}
\index{get\+Load\+Radius@{get\+Load\+Radius}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Load\+Radius()}{getLoadRadius()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Load\+Radius (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Get the loading radius. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a3faa3212ed5a471e64473f3c49b3ec32}\label{class_ogre_1_1_grid2_d_page_strategy_data_a3faa3212ed5a471e64473f3c49b3ec32}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!set\+Hold\+Radius@{set\+Hold\+Radius}}
\index{set\+Hold\+Radius@{set\+Hold\+Radius}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{set\+Hold\+Radius()}{setHoldRadius()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Hold\+Radius (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{sz }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set the Holding radius. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a615dd021f08a023dff03c9112dca852e}\label{class_ogre_1_1_grid2_d_page_strategy_data_a615dd021f08a023dff03c9112dca852e}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Hold\+Radius@{get\+Hold\+Radius}}
\index{get\+Hold\+Radius@{get\+Hold\+Radius}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Hold\+Radius()}{getHoldRadius()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Hold\+Radius (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Get the Holding radius. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a73e0335ca55e8798854a7ee37bdc8b1c}\label{class_ogre_1_1_grid2_d_page_strategy_data_a73e0335ca55e8798854a7ee37bdc8b1c}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Load\+Radius\+In\+Cells@{get\+Load\+Radius\+In\+Cells}}
\index{get\+Load\+Radius\+In\+Cells@{get\+Load\+Radius\+In\+Cells}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Load\+Radius\+In\+Cells()}{getLoadRadiusInCells()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Load\+Radius\+In\+Cells (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Get the load radius as a multiple of cells. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a09a33b2a423ee71c271d414535712441}\label{class_ogre_1_1_grid2_d_page_strategy_data_a09a33b2a423ee71c271d414535712441}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Hold\+Radius\+In\+Cells@{get\+Hold\+Radius\+In\+Cells}}
\index{get\+Hold\+Radius\+In\+Cells@{get\+Hold\+Radius\+In\+Cells}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Hold\+Radius\+In\+Cells()}{getHoldRadiusInCells()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Hold\+Radius\+In\+Cells (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Get the Hold radius as a multiple of cells. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_af9383aed6dc9c82576ae39f4b3ee99f8}\label{class_ogre_1_1_grid2_d_page_strategy_data_af9383aed6dc9c82576ae39f4b3ee99f8}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!set\+Cell\+Range@{set\+Cell\+Range}}
\index{set\+Cell\+Range@{set\+Cell\+Range}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{set\+Cell\+Range()}{setCellRange()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Cell\+Range (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{minX,  }\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{minY,  }\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{maxX,  }\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{maxY }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set the index range of all cells (values outside this will be ignored) 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a0cdeae8791ea172916dbaac422d152d7}\label{class_ogre_1_1_grid2_d_page_strategy_data_a0cdeae8791ea172916dbaac422d152d7}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!set\+Cell\+Range\+MinX@{set\+Cell\+Range\+MinX}}
\index{set\+Cell\+Range\+MinX@{set\+Cell\+Range\+MinX}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{set\+Cell\+Range\+Min\+X()}{setCellRangeMinX()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Cell\+Range\+MinX (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{minX }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set the index range of all cells (values outside this will be ignored) 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_ac5b925e7ab7fa1017ca212ee86ecac51}\label{class_ogre_1_1_grid2_d_page_strategy_data_ac5b925e7ab7fa1017ca212ee86ecac51}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!set\+Cell\+Range\+MinY@{set\+Cell\+Range\+MinY}}
\index{set\+Cell\+Range\+MinY@{set\+Cell\+Range\+MinY}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{set\+Cell\+Range\+Min\+Y()}{setCellRangeMinY()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Cell\+Range\+MinY (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{minY }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set the index range of all cells (values outside this will be ignored) 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_adba5b34cf07f301ffe8d3f0b671f0ec5}\label{class_ogre_1_1_grid2_d_page_strategy_data_adba5b34cf07f301ffe8d3f0b671f0ec5}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!set\+Cell\+Range\+MaxX@{set\+Cell\+Range\+MaxX}}
\index{set\+Cell\+Range\+MaxX@{set\+Cell\+Range\+MaxX}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{set\+Cell\+Range\+Max\+X()}{setCellRangeMaxX()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Cell\+Range\+MaxX (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{maxX }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set the index range of all cells (values outside this will be ignored) 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_aff88059babd2ffe69b5df6bae444bc6c}\label{class_ogre_1_1_grid2_d_page_strategy_data_aff88059babd2ffe69b5df6bae444bc6c}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!set\+Cell\+Range\+MaxY@{set\+Cell\+Range\+MaxY}}
\index{set\+Cell\+Range\+MaxY@{set\+Cell\+Range\+MaxY}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{set\+Cell\+Range\+Max\+Y()}{setCellRangeMaxY()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Cell\+Range\+MaxY (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{maxY }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set the index range of all cells (values outside this will be ignored) 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a94708e51aaa9e669249e30e28be2f339}\label{class_ogre_1_1_grid2_d_page_strategy_data_a94708e51aaa9e669249e30e28be2f339}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Cell\+Range\+MinX@{get\+Cell\+Range\+MinX}}
\index{get\+Cell\+Range\+MinX@{get\+Cell\+Range\+MinX}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Cell\+Range\+Min\+X()}{getCellRangeMinX()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Cell\+Range\+MinX (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



get the index range of all cells (values outside this will be ignored) 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a51ddab75172a8f66cfd22a7ed002692a}\label{class_ogre_1_1_grid2_d_page_strategy_data_a51ddab75172a8f66cfd22a7ed002692a}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Cell\+Range\+MinY@{get\+Cell\+Range\+MinY}}
\index{get\+Cell\+Range\+MinY@{get\+Cell\+Range\+MinY}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Cell\+Range\+Min\+Y()}{getCellRangeMinY()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Cell\+Range\+MinY (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



get the index range of all cells (values outside this will be ignored) 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_afd52bf3abb9eedcef1bee548679cb035}\label{class_ogre_1_1_grid2_d_page_strategy_data_afd52bf3abb9eedcef1bee548679cb035}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Cell\+Range\+MaxX@{get\+Cell\+Range\+MaxX}}
\index{get\+Cell\+Range\+MaxX@{get\+Cell\+Range\+MaxX}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Cell\+Range\+Max\+X()}{getCellRangeMaxX()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Cell\+Range\+MaxX (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



get the index range of all cells (values outside this will be ignored) 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_ae04a0e6e097b75919a5c281a0d55a57c}\label{class_ogre_1_1_grid2_d_page_strategy_data_ae04a0e6e097b75919a5c281a0d55a57c}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Cell\+Range\+MaxY@{get\+Cell\+Range\+MaxY}}
\index{get\+Cell\+Range\+MaxY@{get\+Cell\+Range\+MaxY}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Cell\+Range\+Max\+Y()}{getCellRangeMaxY()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Cell\+Range\+MaxY (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



get the index range of all cells (values outside this will be ignored) 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a9426a938e8b6cc35581484c2f5d4a3d6}\label{class_ogre_1_1_grid2_d_page_strategy_data_a9426a938e8b6cc35581484c2f5d4a3d6}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!load@{load}}
\index{load@{load}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{load()}{load()}}
{\footnotesize\ttfamily bool Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::load (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_stream_serialiser}{Stream\+Serialiser} \&}]{stream }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Load this data from a stream (returns true if successful) 



Implements \hyperlink{class_ogre_1_1_page_strategy_data_aab80a3280ea2b5526ecb2a8652716533}{Ogre\+::\+Page\+Strategy\+Data}.

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a11b924119c2adf18228bebb85e9c9d78}\label{class_ogre_1_1_grid2_d_page_strategy_data_a11b924119c2adf18228bebb85e9c9d78}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!save@{save}}
\index{save@{save}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{save()}{save()}}
{\footnotesize\ttfamily void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::save (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_stream_serialiser}{Stream\+Serialiser} \&}]{stream }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Save this data to a stream. 



Implements \hyperlink{class_ogre_1_1_page_strategy_data_ae7b43543191e014b5df371be2626b164}{Ogre\+::\+Page\+Strategy\+Data}.

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_ae4ec9cac11641471726bf96bfb8f596d}\label{class_ogre_1_1_grid2_d_page_strategy_data_ae4ec9cac11641471726bf96bfb8f596d}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!convert\+World\+To\+Grid\+Space@{convert\+World\+To\+Grid\+Space}}
\index{convert\+World\+To\+Grid\+Space@{convert\+World\+To\+Grid\+Space}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{convert\+World\+To\+Grid\+Space()}{convertWorldToGridSpace()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::convert\+World\+To\+Grid\+Space (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{world,  }\item[{\hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{grid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Convert a world point to grid space (not relative to origin) 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_ae5e29254ddfbf7d7dedee5a274a78947}\label{class_ogre_1_1_grid2_d_page_strategy_data_ae5e29254ddfbf7d7dedee5a274a78947}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!convert\+Grid\+To\+World\+Space@{convert\+Grid\+To\+World\+Space}}
\index{convert\+Grid\+To\+World\+Space@{convert\+Grid\+To\+World\+Space}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{convert\+Grid\+To\+World\+Space()}{convertGridToWorldSpace()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::convert\+Grid\+To\+World\+Space (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{grid,  }\item[{\hyperlink{class_ogre_1_1_vector3}{Vector3} \&}]{world }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Convert a grid point to world space -\/ note only 2 axes populated. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a26735f9ed9499d93a6c82346b7e284e7}\label{class_ogre_1_1_grid2_d_page_strategy_data_a26735f9ed9499d93a6c82346b7e284e7}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Mid\+Point\+Grid\+Space@{get\+Mid\+Point\+Grid\+Space}}
\index{get\+Mid\+Point\+Grid\+Space@{get\+Mid\+Point\+Grid\+Space}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Mid\+Point\+Grid\+Space()}{getMidPointGridSpace()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Mid\+Point\+Grid\+Space (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{x,  }\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{y,  }\item[{\hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{mid }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Get the (grid space) mid point of a cell. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a1fc550fcd2bf9b035999259f1fb74581}\label{class_ogre_1_1_grid2_d_page_strategy_data_a1fc550fcd2bf9b035999259f1fb74581}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Bottom\+Left\+Grid\+Space@{get\+Bottom\+Left\+Grid\+Space}}
\index{get\+Bottom\+Left\+Grid\+Space@{get\+Bottom\+Left\+Grid\+Space}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Bottom\+Left\+Grid\+Space()}{getBottomLeftGridSpace()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Bottom\+Left\+Grid\+Space (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{x,  }\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{y,  }\item[{\hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{bl }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Get the (grid space) bottom-\/left of a cell. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a3ce88a4272f2603a3ae0d3f3c6e864c2}\label{class_ogre_1_1_grid2_d_page_strategy_data_a3ce88a4272f2603a3ae0d3f3c6e864c2}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!get\+Corners\+Grid\+Space@{get\+Corners\+Grid\+Space}}
\index{get\+Corners\+Grid\+Space@{get\+Corners\+Grid\+Space}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{get\+Corners\+Grid\+Space()}{getCornersGridSpace()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Corners\+Grid\+Space (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{x,  }\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{y,  }\item[{\hyperlink{class_ogre_1_1_vector2}{Vector2} $\ast$}]{p\+Four\+Points }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Get the (grid space) corners of a cell. 

\begin{DoxyRemark}{Remarks}
Populates p\+Four\+Points in anticlockwise order from the bottom left point. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a0ca722266d38706ce99241f5f84130d1}\label{class_ogre_1_1_grid2_d_page_strategy_data_a0ca722266d38706ce99241f5f84130d1}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!determine\+Grid\+Location@{determine\+Grid\+Location}}
\index{determine\+Grid\+Location@{determine\+Grid\+Location}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{determine\+Grid\+Location()}{determineGridLocation()}}
{\footnotesize\ttfamily void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::determine\+Grid\+Location (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector2}{Vector2} \&}]{gridpos,  }\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} $\ast$}]{x,  }\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} $\ast$}]{y }\end{DoxyParamCaption})}



Convert a grid position into a row and column index. 

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a4f40f3a38d5bdd754d97aae388eff33f}\label{class_ogre_1_1_grid2_d_page_strategy_data_a4f40f3a38d5bdd754d97aae388eff33f}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!calculate\+Page\+ID@{calculate\+Page\+ID}}
\index{calculate\+Page\+ID@{calculate\+Page\+ID}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{calculate\+Page\+I\+D()}{calculatePageID()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_a5126a9c9fbccbfe4c78070263098acb2}{Page\+ID} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::calculate\+Page\+ID (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{x,  }\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}]{y }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a20d28715472c15bf22f1f2db637ebae6}\label{class_ogre_1_1_grid2_d_page_strategy_data_a20d28715472c15bf22f1f2db637ebae6}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!calculate\+Cell@{calculate\+Cell}}
\index{calculate\+Cell@{calculate\+Cell}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{calculate\+Cell()}{calculateCell()}}
{\footnotesize\ttfamily void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::calculate\+Cell (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a5126a9c9fbccbfe4c78070263098acb2}{Page\+ID}}]{in\+Page\+ID,  }\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} $\ast$}]{x,  }\item[{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32} $\ast$}]{y }\end{DoxyParamCaption})}



\subsection{Member Data Documentation}
\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_ab41c384b1be0abfb04b0309eb1ab34fc}\label{class_ogre_1_1_grid2_d_page_strategy_data_ab41c384b1be0abfb04b0309eb1ab34fc}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!C\+H\+U\+N\+K\+\_\+\+ID@{C\+H\+U\+N\+K\+\_\+\+ID}}
\index{C\+H\+U\+N\+K\+\_\+\+ID@{C\+H\+U\+N\+K\+\_\+\+ID}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{C\+H\+U\+N\+K\+\_\+\+ID}{CHUNK\_ID}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::\+C\+H\+U\+N\+K\+\_\+\+ID\hspace{0.3cm}{\ttfamily [static]}}

\mbox{\Hypertarget{class_ogre_1_1_grid2_d_page_strategy_data_a3bf4f66a557bf903e12c8e8145d4efbb}\label{class_ogre_1_1_grid2_d_page_strategy_data_a3bf4f66a557bf903e12c8e8145d4efbb}} 
\index{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}!C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON@{C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON}}
\index{C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON@{C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON}!Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data@{Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data}}
\subsubsection{\texorpdfstring{C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON}{CHUNK\_VERSION}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::\+C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON\hspace{0.3cm}{\ttfamily [static]}}



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