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


Specialisation of \mbox{\hyperlink{class_ogre_1_1_page_strategy_data}{Page\+Strategy\+Data}} for \mbox{\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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_ab690d0d7bfde4901d05b801ba55f031f}{Grid2\+D\+Page\+Strategy\+Data}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a5cb06b44106500ef4b76dd63520bbf47}{$\sim$\+Grid2\+D\+Page\+Strategy\+Data}} ()
\item 
void \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a20d28715472c15bf22f1f2db637ebae6}{calculate\+Cell}} (\mbox{\hyperlink{namespace_ogre_a5126a9c9fbccbfe4c78070263098acb2}{Page\+ID}} in\+Page\+ID, \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} $\ast$x, \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} $\ast$y)
\item 
\mbox{\hyperlink{namespace_ogre_a5126a9c9fbccbfe4c78070263098acb2}{Page\+ID}} \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a4f40f3a38d5bdd754d97aae388eff33f}{calculate\+Page\+ID}} (\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} x, \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} y)
\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_ae5e29254ddfbf7d7dedee5a274a78947}{convert\+Grid\+To\+World\+Space}} (const \mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{Vector2}} \&grid, \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&world)
\begin{DoxyCompactList}\small\item\em Convert a grid point to world space -\/ note only 2 axes populated. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_ae4ec9cac11641471726bf96bfb8f596d}{convert\+World\+To\+Grid\+Space}} (const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&world, \mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{Vector2}} \&grid)
\begin{DoxyCompactList}\small\item\em Convert a world point to grid space (not relative to origin) \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a0ca722266d38706ce99241f5f84130d1}{determine\+Grid\+Location}} (const \mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{Vector2}} \&gridpos, \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} $\ast$x, \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a1fc550fcd2bf9b035999259f1fb74581}{get\+Bottom\+Left\+Grid\+Space}} (\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} x, \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} y, \mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{Vector2}} \&bl)
\begin{DoxyCompactList}\small\item\em Get the (grid space) bottom-\/left of a cell. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} \mbox{\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 \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} \mbox{\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 \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} \mbox{\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 \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} \mbox{\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 \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a3ce88a4272f2603a3ae0d3f3c6e864c2}{get\+Corners\+Grid\+Space}} (\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} x, \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} y, \mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{Vector2}} $\ast$p\+Four\+Points)
\begin{DoxyCompactList}\small\item\em Get the (grid space) corners of a cell. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\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 \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\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 \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\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 \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a26735f9ed9499d93a6c82346b7e284e7}{get\+Mid\+Point\+Grid\+Space}} (\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} x, \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} y, \mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{Vector2}} \&mid)
\begin{DoxyCompactList}\small\item\em Get the (grid space) mid point of a cell. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{group___paging_ga725e3c2dccf1dbcec4a12f165681317c}{Grid2\+D\+Mode}} \mbox{\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 \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \& \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a7acd1f54228e8cd83913ebe8e99d09a0}{get\+Origin}} (const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&world\+Origin)
\begin{DoxyCompactList}\small\item\em Get the origin of the grid in world space. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a9426a938e8b6cc35581484c2f5d4a3d6}{load}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a11b924119c2adf18228bebb85e9c9d78}{save}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_af9383aed6dc9c82576ae39f4b3ee99f8}{set\+Cell\+Range}} (\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} minX, \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} minY, \mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} maxX, \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_adba5b34cf07f301ffe8d3f0b671f0ec5}{set\+Cell\+Range\+MaxX}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_aff88059babd2ffe69b5df6bae444bc6c}{set\+Cell\+Range\+MaxY}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a0cdeae8791ea172916dbaac422d152d7}{set\+Cell\+Range\+MinX}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_ac5b925e7ab7fa1017ca212ee86ecac51}{set\+Cell\+Range\+MinY}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_aca2a3f3bfb4ee8d102287380a88ec3e8}{set\+Cell\+Size}} (\mbox{\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 \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a3faa3212ed5a471e64473f3c49b3ec32}{set\+Hold\+Radius}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} sz)
\begin{DoxyCompactList}\small\item\em Set the Holding radius. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a971a435066af90a61c618bf551a4ca85}{set\+Load\+Radius}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} sz)
\begin{DoxyCompactList}\small\item\em Set the loading radius. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a919393a7fbd4b645a6ebfe51b7d62b2c}{set\+Mode}} (\mbox{\hyperlink{group___paging_ga725e3c2dccf1dbcec4a12f165681317c}{Grid2\+D\+Mode}} mode)
\begin{DoxyCompactList}\small\item\em Set the grid alignment mode. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_af8d3c9cc51d6555f55723934ace46a2e}{set\+Origin}} (const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&world\+Origin)
\begin{DoxyCompactList}\small\item\em Set the origin of the grid in world space. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const \mbox{\hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32}} \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_ab41c384b1be0abfb04b0309eb1ab34fc}{C\+H\+U\+N\+K\+\_\+\+ID}}
\item 
static const \mbox{\hyperlink{namespace_ogre_aa8263b218e7d187ad5ef03a73a6ad7fd}{uint16}} \mbox{\hyperlink{class_ogre_1_1_grid2_d_page_strategy_data_a3bf4f66a557bf903e12c8e8145d4efbb}{C\+H\+U\+N\+K\+\_\+\+V\+E\+R\+S\+I\+ON}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Specialisation of \mbox{\hyperlink{class_ogre_1_1_page_strategy_data}{Page\+Strategy\+Data}} for \mbox{\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{\mbox{\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 &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}
\mbox{\hyperlink{class_ogre_1_1_grid3_d_page_strategy_data}{Grid3\+D\+Page\+Strategy\+Data}} 
\end{DoxySeeAlso}


\doxysubsection{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!Grid2DPageStrategyData@{Grid2DPageStrategyData}}
\index{Grid2DPageStrategyData@{Grid2DPageStrategyData}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{Grid2DPageStrategyData()}{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!````~Grid2DPageStrategyData@{$\sim$Grid2DPageStrategyData}}
\index{````~Grid2DPageStrategyData@{$\sim$Grid2DPageStrategyData}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{$\sim$Grid2DPageStrategyData()}{~Grid2DPageStrategyData()}}
{\footnotesize\ttfamily Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::$\sim$\+Grid2\+D\+Page\+Strategy\+Data (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!setMode@{setMode}}
\index{setMode@{setMode}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{setMode()}{setMode()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Mode (\begin{DoxyParamCaption}\item[{\mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getMode@{getMode}}
\index{getMode@{getMode}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getMode()}{getMode()}}
{\footnotesize\ttfamily virtual \mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!setOrigin@{setOrigin}}
\index{setOrigin@{setOrigin}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{setOrigin()}{setOrigin()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Origin (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getOrigin@{getOrigin}}
\index{getOrigin@{getOrigin}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getOrigin()}{getOrigin()}}
{\footnotesize\ttfamily virtual const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}}\& Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Origin (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!setCellSize@{setCellSize}}
\index{setCellSize@{setCellSize}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{setCellSize()}{setCellSize()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Cell\+Size (\begin{DoxyParamCaption}\item[{\mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getCellSize@{getCellSize}}
\index{getCellSize@{getCellSize}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getCellSize()}{getCellSize()}}
{\footnotesize\ttfamily virtual \mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!setLoadRadius@{setLoadRadius}}
\index{setLoadRadius@{setLoadRadius}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{setLoadRadius()}{setLoadRadius()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Load\+Radius (\begin{DoxyParamCaption}\item[{\mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getLoadRadius@{getLoadRadius}}
\index{getLoadRadius@{getLoadRadius}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getLoadRadius()}{getLoadRadius()}}
{\footnotesize\ttfamily virtual \mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!setHoldRadius@{setHoldRadius}}
\index{setHoldRadius@{setHoldRadius}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{setHoldRadius()}{setHoldRadius()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Hold\+Radius (\begin{DoxyParamCaption}\item[{\mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getHoldRadius@{getHoldRadius}}
\index{getHoldRadius@{getHoldRadius}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getHoldRadius()}{getHoldRadius()}}
{\footnotesize\ttfamily virtual \mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getLoadRadiusInCells@{getLoadRadiusInCells}}
\index{getLoadRadiusInCells@{getLoadRadiusInCells}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getLoadRadiusInCells()}{getLoadRadiusInCells()}}
{\footnotesize\ttfamily virtual \mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getHoldRadiusInCells@{getHoldRadiusInCells}}
\index{getHoldRadiusInCells@{getHoldRadiusInCells}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getHoldRadiusInCells()}{getHoldRadiusInCells()}}
{\footnotesize\ttfamily virtual \mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!setCellRange@{setCellRange}}
\index{setCellRange@{setCellRange}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{setCellRange()}{setCellRange()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Cell\+Range (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}}]{minX,  }\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}}]{minY,  }\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}}]{maxX,  }\item[{\mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!setCellRangeMinX@{setCellRangeMinX}}
\index{setCellRangeMinX@{setCellRangeMinX}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{setCellRangeMinX()}{setCellRangeMinX()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Cell\+Range\+MinX (\begin{DoxyParamCaption}\item[{\mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!setCellRangeMinY@{setCellRangeMinY}}
\index{setCellRangeMinY@{setCellRangeMinY}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{setCellRangeMinY()}{setCellRangeMinY()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Cell\+Range\+MinY (\begin{DoxyParamCaption}\item[{\mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!setCellRangeMaxX@{setCellRangeMaxX}}
\index{setCellRangeMaxX@{setCellRangeMaxX}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{setCellRangeMaxX()}{setCellRangeMaxX()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Cell\+Range\+MaxX (\begin{DoxyParamCaption}\item[{\mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!setCellRangeMaxY@{setCellRangeMaxY}}
\index{setCellRangeMaxY@{setCellRangeMaxY}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{setCellRangeMaxY()}{setCellRangeMaxY()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::set\+Cell\+Range\+MaxY (\begin{DoxyParamCaption}\item[{\mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getCellRangeMinX@{getCellRangeMinX}}
\index{getCellRangeMinX@{getCellRangeMinX}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getCellRangeMinX()}{getCellRangeMinX()}}
{\footnotesize\ttfamily virtual \mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getCellRangeMinY@{getCellRangeMinY}}
\index{getCellRangeMinY@{getCellRangeMinY}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getCellRangeMinY()}{getCellRangeMinY()}}
{\footnotesize\ttfamily virtual \mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getCellRangeMaxX@{getCellRangeMaxX}}
\index{getCellRangeMaxX@{getCellRangeMaxX}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getCellRangeMaxX()}{getCellRangeMaxX()}}
{\footnotesize\ttfamily virtual \mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getCellRangeMaxY@{getCellRangeMaxY}}
\index{getCellRangeMaxY@{getCellRangeMaxY}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getCellRangeMaxY()}{getCellRangeMaxY()}}
{\footnotesize\ttfamily virtual \mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!load@{load}}
\index{load@{load}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{load()}{load()}}
{\footnotesize\ttfamily bool Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::load (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\hyperlink{group___paging_gaab80a3280ea2b5526ecb2a8652716533}{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!save@{save}}
\index{save@{save}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{save()}{save()}}
{\footnotesize\ttfamily void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::save (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_stream_serialiser}{Stream\+Serialiser}} \&}]{stream }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Save this data to a stream. 



Implements \mbox{\hyperlink{group___paging_gae7b43543191e014b5df371be2626b164}{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!convertWorldToGridSpace@{convertWorldToGridSpace}}
\index{convertWorldToGridSpace@{convertWorldToGridSpace}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{convertWorldToGridSpace()}{convertWorldToGridSpace()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::convert\+World\+To\+Grid\+Space (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&}]{world,  }\item[{\mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!convertGridToWorldSpace@{convertGridToWorldSpace}}
\index{convertGridToWorldSpace@{convertGridToWorldSpace}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{convertGridToWorldSpace()}{convertGridToWorldSpace()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::convert\+Grid\+To\+World\+Space (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{Vector2}} \&}]{grid,  }\item[{\mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getMidPointGridSpace@{getMidPointGridSpace}}
\index{getMidPointGridSpace@{getMidPointGridSpace}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getMidPointGridSpace()}{getMidPointGridSpace()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Mid\+Point\+Grid\+Space (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}}]{x,  }\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}}]{y,  }\item[{\mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getBottomLeftGridSpace@{getBottomLeftGridSpace}}
\index{getBottomLeftGridSpace@{getBottomLeftGridSpace}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getBottomLeftGridSpace()}{getBottomLeftGridSpace()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Bottom\+Left\+Grid\+Space (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}}]{x,  }\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}}]{y,  }\item[{\mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!getCornersGridSpace@{getCornersGridSpace}}
\index{getCornersGridSpace@{getCornersGridSpace}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{getCornersGridSpace()}{getCornersGridSpace()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::get\+Corners\+Grid\+Space (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}}]{x,  }\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}}]{y,  }\item[{\mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!determineGridLocation@{determineGridLocation}}
\index{determineGridLocation@{determineGridLocation}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{determineGridLocation()}{determineGridLocation()}}
{\footnotesize\ttfamily void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::determine\+Grid\+Location (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_a8542e5da4c0e0bda0d0bf5745329ea88}{Vector2}} \&}]{gridpos,  }\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} $\ast$}]{x,  }\item[{\mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!calculatePageID@{calculatePageID}}
\index{calculatePageID@{calculatePageID}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{calculatePageID()}{calculatePageID()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_a5126a9c9fbccbfe4c78070263098acb2}{Page\+ID}} Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::calculate\+Page\+ID (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}}}]{x,  }\item[{\mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!calculateCell@{calculateCell}}
\index{calculateCell@{calculateCell}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{calculateCell()}{calculateCell()}}
{\footnotesize\ttfamily void Ogre\+::\+Grid2\+D\+Page\+Strategy\+Data\+::calculate\+Cell (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_a5126a9c9fbccbfe4c78070263098acb2}{Page\+ID}}}]{in\+Page\+ID,  }\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} $\ast$}]{x,  }\item[{\mbox{\hyperlink{namespace_ogre_a1c37a43c04753c9ae0c17108c9e6c9d2}{int32}} $\ast$}]{y }\end{DoxyParamCaption})}



\doxysubsection{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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!CHUNK\_ID@{CHUNK\_ID}}
\index{CHUNK\_ID@{CHUNK\_ID}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{CHUNK\_ID}{CHUNK\_ID}}
{\footnotesize\ttfamily const \mbox{\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::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}!CHUNK\_VERSION@{CHUNK\_VERSION}}
\index{CHUNK\_VERSION@{CHUNK\_VERSION}!Ogre::Grid2DPageStrategyData@{Ogre::Grid2DPageStrategyData}}
\doxysubsubsection{\texorpdfstring{CHUNK\_VERSION}{CHUNK\_VERSION}}
{\footnotesize\ttfamily const \mbox{\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 
\mbox{\hyperlink{_ogre_grid2_d_page_strategy_8h}{Ogre\+Grid2\+D\+Page\+Strategy.\+h}}\end{DoxyCompactItemize}
