\hypertarget{class_ogre_1_1_lod_collapse_cost_outside}{}\section{Ogre\+:\+:Lod\+Collapse\+Cost\+Outside Class Reference}
\label{class_ogre_1_1_lod_collapse_cost_outside}\index{Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}}


{\ttfamily \#include $<$Ogre\+Lod\+Collapse\+Cost\+Outside.\+h$>$}



Inheritance diagram for Ogre\+:\+:Lod\+Collapse\+Cost\+Outside\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=244pt]{class_ogre_1_1_lod_collapse_cost_outside__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_lod_collapse_cost_outside_aa5cef7538a33a82740003f63b3e9337c}{Lod\+Collapse\+Cost\+Outside} (\hyperlink{namespace_ogre_a6bff13b1479556a24ae1636a6251c26b}{Lod\+Collapse\+Cost\+Ptr} cost\+Calculator, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} outside\+Weight, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} outside\+Walk\+Angle)
\item 
\hyperlink{class_ogre_1_1_lod_collapse_cost_outside_af49fbc592c47e4b9521c03148bbbbbbf}{$\sim$\+Lod\+Collapse\+Cost\+Outside} ()
\item 
virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_lod_collapse_cost_outside_a93d759651b8798ed65205cc46224c3c5}{compute\+Edge\+Collapse\+Cost} (\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data} $\ast$data, \hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex} $\ast$src, \hyperlink{struct_ogre_1_1_lod_data_1_1_edge}{Lod\+Data\+::\+Edge} $\ast$dst\+Edge)
\begin{DoxyCompactList}\small\item\em Returns the collapse cost of the given edge. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_lod_collapse_cost_a4580c69303375413f5a1bb9b0171ac76}{compute\+Vertex\+Collapse\+Cost} (\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data} $\ast$data, \hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex} $\ast$vertex, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \&collapse\+Cost, \hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex} $\ast$\&collapse\+To)
\begin{DoxyCompactList}\small\item\em Called by init\+Vertex\+Collapse\+Cost and update\+Vertex\+Collapse\+Cost, when the vertex minimal cost needs to be updated. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_lod_collapse_cost_outside_acbd8331275592e9398b749610f6a8c9f}{init\+Collapse\+Costs} (\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data} $\ast$data)
\begin{DoxyCompactList}\small\item\em This is called after the \hyperlink{class_ogre_1_1_lod_input_provider}{Lod\+Input\+Provider} has initialized \hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data}. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_lod_collapse_cost_ae76380b7497b62c7baafffe8a618a3d6}{init\+Vertex\+Collapse\+Cost} (\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data} $\ast$data, \hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex} $\ast$vertex)
\begin{DoxyCompactList}\small\item\em Called from init\+Collapse\+Costs for every edge. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_ogre_1_1_lod_collapse_cost_a20750c76335b8ce8045103902da5ba7e}{update\+Vertex\+Collapse\+Cost} (\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data} $\ast$data, \hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex} $\ast$vertex)
\begin{DoxyCompactList}\small\item\em Called when edge cost gets invalid. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_lod_collapse_cost_outside_aa5cef7538a33a82740003f63b3e9337c}\label{class_ogre_1_1_lod_collapse_cost_outside_aa5cef7538a33a82740003f63b3e9337c}} 
\index{Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}!Lod\+Collapse\+Cost\+Outside@{Lod\+Collapse\+Cost\+Outside}}
\index{Lod\+Collapse\+Cost\+Outside@{Lod\+Collapse\+Cost\+Outside}!Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}}
\subsubsection{\texorpdfstring{Lod\+Collapse\+Cost\+Outside()}{LodCollapseCostOutside()}}
{\footnotesize\ttfamily Ogre\+::\+Lod\+Collapse\+Cost\+Outside\+::\+Lod\+Collapse\+Cost\+Outside (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_a6bff13b1479556a24ae1636a6251c26b}{Lod\+Collapse\+Cost\+Ptr}}]{cost\+Calculator,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{outside\+Weight,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{outside\+Walk\+Angle }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_lod_collapse_cost_outside_af49fbc592c47e4b9521c03148bbbbbbf}\label{class_ogre_1_1_lod_collapse_cost_outside_af49fbc592c47e4b9521c03148bbbbbbf}} 
\index{Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}!````~Lod\+Collapse\+Cost\+Outside@{$\sim$\+Lod\+Collapse\+Cost\+Outside}}
\index{````~Lod\+Collapse\+Cost\+Outside@{$\sim$\+Lod\+Collapse\+Cost\+Outside}!Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}}
\subsubsection{\texorpdfstring{$\sim$\+Lod\+Collapse\+Cost\+Outside()}{~LodCollapseCostOutside()}}
{\footnotesize\ttfamily Ogre\+::\+Lod\+Collapse\+Cost\+Outside\+::$\sim$\+Lod\+Collapse\+Cost\+Outside (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_lod_collapse_cost_outside_acbd8331275592e9398b749610f6a8c9f}\label{class_ogre_1_1_lod_collapse_cost_outside_acbd8331275592e9398b749610f6a8c9f}} 
\index{Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}!init\+Collapse\+Costs@{init\+Collapse\+Costs}}
\index{init\+Collapse\+Costs@{init\+Collapse\+Costs}!Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}}
\subsubsection{\texorpdfstring{init\+Collapse\+Costs()}{initCollapseCosts()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Lod\+Collapse\+Cost\+Outside\+::init\+Collapse\+Costs (\begin{DoxyParamCaption}\item[{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data} $\ast$}]{data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



This is called after the \hyperlink{class_ogre_1_1_lod_input_provider}{Lod\+Input\+Provider} has initialized \hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data}. 



Reimplemented from \hyperlink{class_ogre_1_1_lod_collapse_cost_a354e7502246237f033d48fec0adfad4f}{Ogre\+::\+Lod\+Collapse\+Cost}.

\mbox{\Hypertarget{class_ogre_1_1_lod_collapse_cost_outside_a93d759651b8798ed65205cc46224c3c5}\label{class_ogre_1_1_lod_collapse_cost_outside_a93d759651b8798ed65205cc46224c3c5}} 
\index{Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}!compute\+Edge\+Collapse\+Cost@{compute\+Edge\+Collapse\+Cost}}
\index{compute\+Edge\+Collapse\+Cost@{compute\+Edge\+Collapse\+Cost}!Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}}
\subsubsection{\texorpdfstring{compute\+Edge\+Collapse\+Cost()}{computeEdgeCollapseCost()}}
{\footnotesize\ttfamily virtual \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Lod\+Collapse\+Cost\+Outside\+::compute\+Edge\+Collapse\+Cost (\begin{DoxyParamCaption}\item[{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data} $\ast$}]{data,  }\item[{\hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex} $\ast$}]{src,  }\item[{\hyperlink{struct_ogre_1_1_lod_data_1_1_edge}{Lod\+Data\+::\+Edge} $\ast$}]{dst\+Edge }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Returns the collapse cost of the given edge. 



Implements \hyperlink{class_ogre_1_1_lod_collapse_cost_a9bbdb780b79f29c37c205a3f05683437}{Ogre\+::\+Lod\+Collapse\+Cost}.

\mbox{\Hypertarget{class_ogre_1_1_lod_collapse_cost_ae76380b7497b62c7baafffe8a618a3d6}\label{class_ogre_1_1_lod_collapse_cost_ae76380b7497b62c7baafffe8a618a3d6}} 
\index{Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}!init\+Vertex\+Collapse\+Cost@{init\+Vertex\+Collapse\+Cost}}
\index{init\+Vertex\+Collapse\+Cost@{init\+Vertex\+Collapse\+Cost}!Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}}
\subsubsection{\texorpdfstring{init\+Vertex\+Collapse\+Cost()}{initVertexCollapseCost()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Lod\+Collapse\+Cost\+::init\+Vertex\+Collapse\+Cost (\begin{DoxyParamCaption}\item[{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data} $\ast$}]{data,  }\item[{\hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex} $\ast$}]{vertex }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Called from init\+Collapse\+Costs for every edge. 

\mbox{\Hypertarget{class_ogre_1_1_lod_collapse_cost_a20750c76335b8ce8045103902da5ba7e}\label{class_ogre_1_1_lod_collapse_cost_a20750c76335b8ce8045103902da5ba7e}} 
\index{Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}!update\+Vertex\+Collapse\+Cost@{update\+Vertex\+Collapse\+Cost}}
\index{update\+Vertex\+Collapse\+Cost@{update\+Vertex\+Collapse\+Cost}!Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}}
\subsubsection{\texorpdfstring{update\+Vertex\+Collapse\+Cost()}{updateVertexCollapseCost()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Lod\+Collapse\+Cost\+::update\+Vertex\+Collapse\+Cost (\begin{DoxyParamCaption}\item[{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data} $\ast$}]{data,  }\item[{\hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex} $\ast$}]{vertex }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Called when edge cost gets invalid. 



Reimplemented in \hyperlink{class_ogre_1_1_lod_collapse_cost_quadric_a8629e35e547c64c0d0c4961af2f1730a}{Ogre\+::\+Lod\+Collapse\+Cost\+Quadric}.

\mbox{\Hypertarget{class_ogre_1_1_lod_collapse_cost_a4580c69303375413f5a1bb9b0171ac76}\label{class_ogre_1_1_lod_collapse_cost_a4580c69303375413f5a1bb9b0171ac76}} 
\index{Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}!compute\+Vertex\+Collapse\+Cost@{compute\+Vertex\+Collapse\+Cost}}
\index{compute\+Vertex\+Collapse\+Cost@{compute\+Vertex\+Collapse\+Cost}!Ogre\+::\+Lod\+Collapse\+Cost\+Outside@{Ogre\+::\+Lod\+Collapse\+Cost\+Outside}}
\subsubsection{\texorpdfstring{compute\+Vertex\+Collapse\+Cost()}{computeVertexCollapseCost()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Lod\+Collapse\+Cost\+::compute\+Vertex\+Collapse\+Cost (\begin{DoxyParamCaption}\item[{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data} $\ast$}]{data,  }\item[{\hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex} $\ast$}]{vertex,  }\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \&}]{collapse\+Cost,  }\item[{\hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex} $\ast$\&}]{collapse\+To }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [inherited]}}



Called by init\+Vertex\+Collapse\+Cost and update\+Vertex\+Collapse\+Cost, when the vertex minimal cost needs to be updated. 



Reimplemented in \hyperlink{class_ogre_1_1_lod_collapse_cost_profiler_a79e3dee5915b3467ee3fe9a4c527a6e9}{Ogre\+::\+Lod\+Collapse\+Cost\+Profiler}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_lod_collapse_cost_outside_8h}{Ogre\+Lod\+Collapse\+Cost\+Outside.\+h}\end{DoxyCompactItemize}
