\hypertarget{a08408}{}\section{Mod\+BalancerT$<$ D $>$ Class Template Reference}
\label{a08408}\index{Mod\+Balancer\+T$<$ D $>$@{Mod\+Balancer\+T$<$ D $>$}}
Inheritance diagram for Mod\+BalancerT$<$ D $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a08408}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08408_aa5a90b672232c5bb8efe086f0c42e1c7}\label{a08408_aa5a90b672232c5bb8efe086f0c42e1c7}} 
typedef \hyperlink{a08988}{Open\+Mesh\+::\+Decimater\+::\+Mod\+QuadricT}$<$ D $>$ {\bfseries Base\+ModQ}
\item 
\mbox{\Hypertarget{a08408_acfbcd130077fac4aa81b7c75f0e39e61}\label{a08408_acfbcd130077fac4aa81b7c75f0e39e61}} 
typedef size\+\_\+t {\bfseries level\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08408_a7888b0d017bee2f5f6ce7482d0ec5bf0}\label{a08408_a7888b0d017bee2f5f6ce7482d0ec5bf0}} 
{\bfseries D\+E\+C\+I\+M\+A\+T\+I\+N\+G\+\_\+\+M\+O\+D\+U\+LE} (\hyperlink{a08408}{Mod\+BalancerT}, D, Balancer)
\item 
\mbox{\Hypertarget{a08408_a35c84643ccb29982bd43ef790179be91}\label{a08408_a35c84643ccb29982bd43ef790179be91}} 
\hyperlink{a08408_a35c84643ccb29982bd43ef790179be91}{Mod\+BalancerT} (D \&\+\_\+dec)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08408_a21611b06088681264380f678518666f7}\label{a08408_a21611b06088681264380f678518666f7}} 
virtual \hyperlink{a08408_a21611b06088681264380f678518666f7}{$\sim$\+Mod\+BalancerT} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08408_af1e70352151863eab2898b6963c845d9}\label{a08408_af1e70352151863eab2898b6963c845d9}} 
void \hyperlink{a08408_af1e70352151863eab2898b6963c845d9}{initialize} (void)
\begin{DoxyCompactList}\small\item\em Initalize the module and prepare the mesh for decimation. \end{DoxyCompactList}\item 
virtual float \hyperlink{a08408_a627c9486bf8c3975363e4053a3d8c323}{collapse\+\_\+priority} (const \hyperlink{a08928}{Collapse\+Info} \&\+\_\+ci)
\item 
\mbox{\Hypertarget{a08408_a7ae6cc4976c9b829a926a1f2c6b862d1}\label{a08408_a7ae6cc4976c9b829a926a1f2c6b862d1}} 
void \hyperlink{a08408_a7ae6cc4976c9b829a926a1f2c6b862d1}{postprocess\+\_\+collapse} (const \hyperlink{a08928}{Collapse\+Info} \&\+\_\+ci)
\begin{DoxyCompactList}\small\item\em post-\/process halfedge collapse (accumulate quadrics) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08408_a946af1743a7fd18e02a1615cb1c77d9a}\label{a08408_a946af1743a7fd18e02a1615cb1c77d9a}} 
level\+\_\+t {\bfseries max\+\_\+level} (void) const
\item 
\mbox{\Hypertarget{a08408_a234644ab8217a425fab44aa8f9ca27ef}\label{a08408_a234644ab8217a425fab44aa8f9ca27ef}} 
level\+\_\+t {\bfseries bits\+\_\+for\+\_\+roots} (void) const
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08408_a003d54010a36b5df4e705405168ee8d9}\label{a08408_a003d54010a36b5df4e705405168ee8d9}} 
static level\+\_\+t {\bfseries calc\+\_\+bits\+\_\+for\+\_\+roots} (size\+\_\+t \+\_\+n\+\_\+vertices)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08408_aacb2bec61112dbaf964537ba8f178a45}\label{a08408_aacb2bec61112dbaf964537ba8f178a45}} 
void \hyperlink{a08408_aacb2bec61112dbaf964537ba8f178a45}{set\+\_\+binary} (bool \+\_\+b)
\begin{DoxyCompactList}\small\item\em hide this method \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08408_ad0b40c69c18c722daa4cfc656bed9e58}\label{a08408_ad0b40c69c18c722daa4cfc656bed9e58}} 
\hyperlink{a08876}{Open\+Mesh\+::\+V\+Prop\+HandleT}$<$ level\+\_\+t $>$ {\bfseries level\+\_\+}
\item 
\mbox{\Hypertarget{a08408_a0769babb021e79c2a5a7d1aa6cd5b5ae}\label{a08408_a0769babb021e79c2a5a7d1aa6cd5b5ae}} 
level\+\_\+t {\bfseries max\+\_\+level\+\_\+}
\item 
\mbox{\Hypertarget{a08408_a6dddd38d5678d986ef42de7490477e57}\label{a08408_a6dddd38d5678d986ef42de7490477e57}} 
level\+\_\+t {\bfseries n\+\_\+roots\+\_\+}
\item 
\mbox{\Hypertarget{a08408_ac5818a4e5579fd5d1150ba057f17bf05}\label{a08408_ac5818a4e5579fd5d1150ba057f17bf05}} 
size\+\_\+t {\bfseries n\+\_\+vertices\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08408_ad19171f9392b5b284cab90bdb649ec6a}\label{a08408_ad19171f9392b5b284cab90bdb649ec6a}} 
static const double {\bfseries inv\+\_\+log2\+\_\+} = 1.\+0/std\+::log(2.\+0)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


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



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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a08408_a627c9486bf8c3975363e4053a3d8c323}\label{a08408_a627c9486bf8c3975363e4053a3d8c323}} 
\index{Mod\+BalancerT@{Mod\+BalancerT}!collapse\+\_\+priority@{collapse\+\_\+priority}}
\index{collapse\+\_\+priority@{collapse\+\_\+priority}!Mod\+BalancerT@{Mod\+BalancerT}}
\subsubsection{\texorpdfstring{collapse\+\_\+priority()}{collapse\_priority()}}
{\footnotesize\ttfamily template$<$class D $>$ \\
virtual float \hyperlink{a08408}{Mod\+BalancerT}$<$ D $>$\+::collapse\+\_\+priority (\begin{DoxyParamCaption}\item[{const \hyperlink{a08928}{Collapse\+Info} \&}]{\+\_\+ci }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Compute collapse priority based on error quadrics.

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

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


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



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



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