\hypertarget{a00845}{\section{Mod\+Balancer\+T$<$ D $>$ Class Template Reference}
\label{a00845}\index{Mod\+Balancer\+T$<$ D $>$@{Mod\+Balancer\+T$<$ D $>$}}
}
Inheritance diagram for Mod\+Balancer\+T$<$ D $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a00845}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00845_aa5a90b672232c5bb8efe086f0c42e1c7}{typedef \\*
\hyperlink{a00855}{Open\+Mesh\+::\+Decimater\+::\+Mod\+Quadric\+T}\\*
$<$ D $>$ {\bfseries Base\+Mod\+Q}}\label{a00845_aa5a90b672232c5bb8efe086f0c42e1c7}

\item 
\hypertarget{a00845_acfbcd130077fac4aa81b7c75f0e39e61}{typedef size\+\_\+t {\bfseries level\+\_\+t}}\label{a00845_acfbcd130077fac4aa81b7c75f0e39e61}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00845_a7888b0d017bee2f5f6ce7482d0ec5bf0}{{\bfseries D\+E\+C\+I\+M\+A\+T\+I\+N\+G\+\_\+\+M\+O\+D\+U\+L\+E} (\hyperlink{a00845}{Mod\+Balancer\+T}, D, Balancer)}\label{a00845_a7888b0d017bee2f5f6ce7482d0ec5bf0}

\item 
\hypertarget{a00845_a35c84643ccb29982bd43ef790179be91}{\hyperlink{a00845_a35c84643ccb29982bd43ef790179be91}{Mod\+Balancer\+T} (D \&\+\_\+dec)}\label{a00845_a35c84643ccb29982bd43ef790179be91}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{a00845_a21611b06088681264380f678518666f7}{virtual \hyperlink{a00845_a21611b06088681264380f678518666f7}{$\sim$\+Mod\+Balancer\+T} ()}\label{a00845_a21611b06088681264380f678518666f7}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\hypertarget{a00845_af1e70352151863eab2898b6963c845d9}{void \hyperlink{a00845_af1e70352151863eab2898b6963c845d9}{initialize} (void)}\label{a00845_af1e70352151863eab2898b6963c845d9}

\begin{DoxyCompactList}\small\item\em Initalize the module and prepare the mesh for decimation. \end{DoxyCompactList}\item 
virtual float \hyperlink{a00845_a627c9486bf8c3975363e4053a3d8c323}{collapse\+\_\+priority} (const \hyperlink{a00417}{Collapse\+Info} \&\+\_\+ci)
\item 
\hypertarget{a00845_a7ae6cc4976c9b829a926a1f2c6b862d1}{void \hyperlink{a00845_a7ae6cc4976c9b829a926a1f2c6b862d1}{postprocess\+\_\+collapse} (const \hyperlink{a00417}{Collapse\+Info} \&\+\_\+ci)}\label{a00845_a7ae6cc4976c9b829a926a1f2c6b862d1}

\begin{DoxyCompactList}\small\item\em post-\/process halfedge collapse (accumulate quadrics) \end{DoxyCompactList}\item 
\hypertarget{a00845_a57e22af7ec8535987f15244cd5c5417b}{level\+\_\+t {\bfseries max\+\_\+level} (void) const }\label{a00845_a57e22af7ec8535987f15244cd5c5417b}

\item 
\hypertarget{a00845_a4265e1100e35cff41baaeb0f647848ae}{level\+\_\+t {\bfseries bits\+\_\+for\+\_\+roots} (void) const }\label{a00845_a4265e1100e35cff41baaeb0f647848ae}

\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00845_a003d54010a36b5df4e705405168ee8d9}{static level\+\_\+t {\bfseries calc\+\_\+bits\+\_\+for\+\_\+roots} (size\+\_\+t \+\_\+n\+\_\+vertices)}\label{a00845_a003d54010a36b5df4e705405168ee8d9}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00845_aacb2bec61112dbaf964537ba8f178a45}{void \hyperlink{a00845_aacb2bec61112dbaf964537ba8f178a45}{set\+\_\+binary} (bool \+\_\+b)}\label{a00845_aacb2bec61112dbaf964537ba8f178a45}

\begin{DoxyCompactList}\small\item\em hide this method \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00845_ad0b40c69c18c722daa4cfc656bed9e58}{\hyperlink{a01470}{Open\+Mesh\+::\+V\+Prop\+Handle\+T}$<$ level\+\_\+t $>$ {\bfseries level\+\_\+}}\label{a00845_ad0b40c69c18c722daa4cfc656bed9e58}

\item 
\hypertarget{a00845_a0769babb021e79c2a5a7d1aa6cd5b5ae}{level\+\_\+t {\bfseries max\+\_\+level\+\_\+}}\label{a00845_a0769babb021e79c2a5a7d1aa6cd5b5ae}

\item 
\hypertarget{a00845_a6dddd38d5678d986ef42de7490477e57}{level\+\_\+t {\bfseries n\+\_\+roots\+\_\+}}\label{a00845_a6dddd38d5678d986ef42de7490477e57}

\item 
\hypertarget{a00845_ac5818a4e5579fd5d1150ba057f17bf05}{size\+\_\+t {\bfseries n\+\_\+vertices\+\_\+}}\label{a00845_ac5818a4e5579fd5d1150ba057f17bf05}

\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00845_ad19171f9392b5b284cab90bdb649ec6a}{static const double {\bfseries inv\+\_\+log2\+\_\+} = 1.\+0/std\+::log(2.\+0)}\label{a00845_ad19171f9392b5b284cab90bdb649ec6a}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\subsubsection*{template$<$class D$>$class Mod\+Balancer\+T$<$ D $>$}



Definition at line 77 of file mkbalancedpm.\+cc.



\subsection{Member Function Documentation}
\hypertarget{a00845_a627c9486bf8c3975363e4053a3d8c323}{\index{Mod\+Balancer\+T@{Mod\+Balancer\+T}!collapse\+\_\+priority@{collapse\+\_\+priority}}
\index{collapse\+\_\+priority@{collapse\+\_\+priority}!Mod\+Balancer\+T@{Mod\+Balancer\+T}}
\subsubsection[{collapse\+\_\+priority}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class D $>$ virtual float {\bf Mod\+Balancer\+T}$<$ D $>$\+::collapse\+\_\+priority (
\begin{DoxyParamCaption}
\item[{const {\bf Collapse\+Info} \&}]{\+\_\+ci}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00845_a627c9486bf8c3975363e4053a3d8c323}
Compute collapse priority based on error quadrics.

\begin{DoxySeeAlso}{See also}
Mod\+Base\+T\+::collapse\+\_\+priority() for return values 

\hyperlink{a00855_a7fb01ec4e21be8b62d5c299b7126ce99}{set\+\_\+max\+\_\+err()} 
\end{DoxySeeAlso}


Reimplemented from \hyperlink{a00855_af831bbc194faf3a3c346bd215f01f413}{Open\+Mesh\+::\+Decimater\+::\+Mod\+Quadric\+T$<$ Mesh\+T $>$}.



Definition at line 122 of file mkbalancedpm.\+cc.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Apps/\+V\+D\+Prog\+Mesh/mkbalancedpm/mkbalancedpm.\+cc\end{DoxyCompactItemize}
