\hypertarget{class_ogre_1_1_lod_collapse_cost_quadric}{}\doxysection{Ogre\+::Lod\+Collapse\+Cost\+Quadric Class Reference}
\label{class_ogre_1_1_lod_collapse_cost_quadric}\index{Ogre::LodCollapseCostQuadric@{Ogre::LodCollapseCostQuadric}}


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



Inheritance diagram for Ogre\+::Lod\+Collapse\+Cost\+Quadric\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=244pt]{class_ogre_1_1_lod_collapse_cost_quadric__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_lod_collapse_cost_quadric_abab2944bfc909eb48ae0104039872d71}{compute\+Edge\+Collapse\+Cost}} (\mbox{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data}} $\ast$data, \mbox{\hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex}} $\ast$src, \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_lod_collapse_cost_a4580c69303375413f5a1bb9b0171ac76}{compute\+Vertex\+Collapse\+Cost}} (\mbox{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data}} $\ast$data, \mbox{\hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex}} $\ast$vertex, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \&collapse\+Cost, \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_lod_collapse_cost_quadric_ac0ccfe8fff61ddd8ce87bd47bc64dd17}{init\+Collapse\+Costs}} (\mbox{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data}} $\ast$data)
\begin{DoxyCompactList}\small\item\em This is called after the \mbox{\hyperlink{class_ogre_1_1_lod_input_provider}{Lod\+Input\+Provider}} has initialized \mbox{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data}}. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_lod_collapse_cost_ae76380b7497b62c7baafffe8a618a3d6}{init\+Vertex\+Collapse\+Cost}} (\mbox{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data}} $\ast$data, \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_lod_collapse_cost_quadric_a8629e35e547c64c0d0c4961af2f1730a}{update\+Vertex\+Collapse\+Cost}} (\mbox{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data}} $\ast$data, \mbox{\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}


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



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



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

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



Called when edge cost gets invalid. 



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

\mbox{\Hypertarget{class_ogre_1_1_lod_collapse_cost_quadric_abab2944bfc909eb48ae0104039872d71}\label{class_ogre_1_1_lod_collapse_cost_quadric_abab2944bfc909eb48ae0104039872d71}} 
\index{Ogre::LodCollapseCostQuadric@{Ogre::LodCollapseCostQuadric}!computeEdgeCollapseCost@{computeEdgeCollapseCost}}
\index{computeEdgeCollapseCost@{computeEdgeCollapseCost}!Ogre::LodCollapseCostQuadric@{Ogre::LodCollapseCostQuadric}}
\doxysubsubsection{\texorpdfstring{computeEdgeCollapseCost()}{computeEdgeCollapseCost()}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Lod\+Collapse\+Cost\+Quadric\+::compute\+Edge\+Collapse\+Cost (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data}} $\ast$}]{data,  }\item[{\mbox{\hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex}} $\ast$}]{src,  }\item[{\mbox{\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 \mbox{\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::LodCollapseCostQuadric@{Ogre::LodCollapseCostQuadric}!initVertexCollapseCost@{initVertexCollapseCost}}
\index{initVertexCollapseCost@{initVertexCollapseCost}!Ogre::LodCollapseCostQuadric@{Ogre::LodCollapseCostQuadric}}
\doxysubsubsection{\texorpdfstring{initVertexCollapseCost()}{initVertexCollapseCost()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Lod\+Collapse\+Cost\+::init\+Vertex\+Collapse\+Cost (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data}} $\ast$}]{data,  }\item[{\mbox{\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_a4580c69303375413f5a1bb9b0171ac76}\label{class_ogre_1_1_lod_collapse_cost_a4580c69303375413f5a1bb9b0171ac76}} 
\index{Ogre::LodCollapseCostQuadric@{Ogre::LodCollapseCostQuadric}!computeVertexCollapseCost@{computeVertexCollapseCost}}
\index{computeVertexCollapseCost@{computeVertexCollapseCost}!Ogre::LodCollapseCostQuadric@{Ogre::LodCollapseCostQuadric}}
\doxysubsubsection{\texorpdfstring{computeVertexCollapseCost()}{computeVertexCollapseCost()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Lod\+Collapse\+Cost\+::compute\+Vertex\+Collapse\+Cost (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_ogre_1_1_lod_data}{Lod\+Data}} $\ast$}]{data,  }\item[{\mbox{\hyperlink{struct_ogre_1_1_lod_data_1_1_vertex}{Lod\+Data\+::\+Vertex}} $\ast$}]{vertex,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \&}]{collapse\+Cost,  }\item[{\mbox{\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 \mbox{\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 
\mbox{\hyperlink{_ogre_lod_collapse_cost_quadric_8h}{Ogre\+Lod\+Collapse\+Cost\+Quadric.\+h}}\end{DoxyCompactItemize}
