\hypertarget{class_ogre_1_1_terrain_auto_update_lod}{}\section{Ogre\+:\+:Terrain\+Auto\+Update\+Lod Class Reference}
\label{class_ogre_1_1_terrain_auto_update_lod}\index{Ogre\+::\+Terrain\+Auto\+Update\+Lod@{Ogre\+::\+Terrain\+Auto\+Update\+Lod}}


\hyperlink{class_ogre_1_1_terrain}{Terrain} automatic L\+OD loading.  




{\ttfamily \#include $<$Ogre\+Terrain\+Auto\+Update\+Lod.\+h$>$}



Inheritance diagram for Ogre\+:\+:Terrain\+Auto\+Update\+Lod\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=234pt]{class_ogre_1_1_terrain_auto_update_lod__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{class_ogre_1_1_terrain_auto_update_lod_aceb9152f5d90b3477916a455cb9e453c}{$\sim$\+Terrain\+Auto\+Update\+Lod} ()
\item 
virtual void \hyperlink{class_ogre_1_1_terrain_auto_update_lod_a370a1a1fc2cd7ff9af7854fca1f1b11a}{auto\+Update\+Lod} (\hyperlink{class_ogre_1_1_terrain}{Terrain} $\ast$terrain, bool synchronous, const \hyperlink{class_ogre_1_1_any}{Any} \&data)=0
\begin{DoxyCompactList}\small\item\em Method to be called to change terrain\textquotesingle{}s L\+OD level. \end{DoxyCompactList}\item 
virtual \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} \hyperlink{class_ogre_1_1_terrain_auto_update_lod_ac4f8917cf562b6ca232f5354fcfa13b3}{get\+Strategy\+Id} ()=0
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_ogre_1_1_terrain}{Terrain} automatic L\+OD loading. 

\begin{DoxyParagraph}{}
This set of classes is used for automatic change of terrain L\+OD level. Base is \hyperlink{class_ogre_1_1_terrain_auto_update_lod}{Terrain\+Auto\+Update\+Lod} interface with just one public method auto\+Update\+Lod. This method gets called by terrain whenever user thinks something has changed(typically in application\textquotesingle{}s main loop) what could affect terrain\textquotesingle{}s L\+OD level. It is designed in such a way so user can use whatever algorithm he likes to change terrain\textquotesingle{}s L\+OD level. For example see \hyperlink{class_ogre_1_1_terrain_auto_update_lod}{Terrain\+Auto\+Update\+Lod} implementation \hyperlink{class_ogre_1_1_terrain_auto_update_lod_by_distance}{Terrain\+Auto\+Update\+Lod\+By\+Distance}. It is also used as a null object for auto-\/\+L\+O\+D-\/updating. 
\end{DoxyParagraph}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_terrain_auto_update_lod_aceb9152f5d90b3477916a455cb9e453c}\label{class_ogre_1_1_terrain_auto_update_lod_aceb9152f5d90b3477916a455cb9e453c}} 
\index{Ogre\+::\+Terrain\+Auto\+Update\+Lod@{Ogre\+::\+Terrain\+Auto\+Update\+Lod}!````~Terrain\+Auto\+Update\+Lod@{$\sim$\+Terrain\+Auto\+Update\+Lod}}
\index{````~Terrain\+Auto\+Update\+Lod@{$\sim$\+Terrain\+Auto\+Update\+Lod}!Ogre\+::\+Terrain\+Auto\+Update\+Lod@{Ogre\+::\+Terrain\+Auto\+Update\+Lod}}
\subsubsection{\texorpdfstring{$\sim$\+Terrain\+Auto\+Update\+Lod()}{~TerrainAutoUpdateLod()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Terrain\+Auto\+Update\+Lod\+::$\sim$\+Terrain\+Auto\+Update\+Lod (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_terrain_auto_update_lod_a370a1a1fc2cd7ff9af7854fca1f1b11a}\label{class_ogre_1_1_terrain_auto_update_lod_a370a1a1fc2cd7ff9af7854fca1f1b11a}} 
\index{Ogre\+::\+Terrain\+Auto\+Update\+Lod@{Ogre\+::\+Terrain\+Auto\+Update\+Lod}!auto\+Update\+Lod@{auto\+Update\+Lod}}
\index{auto\+Update\+Lod@{auto\+Update\+Lod}!Ogre\+::\+Terrain\+Auto\+Update\+Lod@{Ogre\+::\+Terrain\+Auto\+Update\+Lod}}
\subsubsection{\texorpdfstring{auto\+Update\+Lod()}{autoUpdateLod()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Terrain\+Auto\+Update\+Lod\+::auto\+Update\+Lod (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_terrain}{Terrain} $\ast$}]{terrain,  }\item[{bool}]{synchronous,  }\item[{const \hyperlink{class_ogre_1_1_any}{Any} \&}]{data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Method to be called to change terrain\textquotesingle{}s L\+OD level. 


\begin{DoxyParams}{Parameters}
{\em terrain} & Instance of \hyperlink{class_ogre_1_1_terrain}{Terrain} which L\+OD level is going to be changed \\
\hline
{\em synchronous} & Run this as part of main thread or in background \\
\hline
{\em data} & \hyperlink{class_ogre_1_1_any}{Any} user specific data. \\
\hline
\end{DoxyParams}


Implemented in \hyperlink{class_ogre_1_1_terrain_auto_update_lod_by_distance_ae968774d027e9b95cdc8d7519ce7de94}{Ogre\+::\+Terrain\+Auto\+Update\+Lod\+By\+Distance}.

\mbox{\Hypertarget{class_ogre_1_1_terrain_auto_update_lod_ac4f8917cf562b6ca232f5354fcfa13b3}\label{class_ogre_1_1_terrain_auto_update_lod_ac4f8917cf562b6ca232f5354fcfa13b3}} 
\index{Ogre\+::\+Terrain\+Auto\+Update\+Lod@{Ogre\+::\+Terrain\+Auto\+Update\+Lod}!get\+Strategy\+Id@{get\+Strategy\+Id}}
\index{get\+Strategy\+Id@{get\+Strategy\+Id}!Ogre\+::\+Terrain\+Auto\+Update\+Lod@{Ogre\+::\+Terrain\+Auto\+Update\+Lod}}
\subsubsection{\texorpdfstring{get\+Strategy\+Id()}{getStrategyId()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_adf2a0cf2e77143b5ee1d38a75e289545}{uint32} Ogre\+::\+Terrain\+Auto\+Update\+Lod\+::get\+Strategy\+Id (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Implemented in \hyperlink{class_ogre_1_1_terrain_auto_update_lod_by_distance_a665518d7780157d43317459027216837}{Ogre\+::\+Terrain\+Auto\+Update\+Lod\+By\+Distance}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_terrain_auto_update_lod_8h}{Ogre\+Terrain\+Auto\+Update\+Lod.\+h}\end{DoxyCompactItemize}
