\hypertarget{classModBalancerT}{}\section{Mod\+BalancerT$<$ D $>$ Class Template Reference}
\label{classModBalancerT}\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]{classModBalancerT}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classModBalancerT_aa5a90b672232c5bb8efe086f0c42e1c7}\label{classModBalancerT_aa5a90b672232c5bb8efe086f0c42e1c7}} 
typedef \hyperlink{classOpenMesh_1_1Decimater_1_1ModQuadricT}{Open\+Mesh\+::\+Decimater\+::\+Mod\+QuadricT}$<$ D $>$ {\bfseries Base\+ModQ}
\item 
\mbox{\Hypertarget{classModBalancerT_acfbcd130077fac4aa81b7c75f0e39e61}\label{classModBalancerT_acfbcd130077fac4aa81b7c75f0e39e61}} 
typedef size\+\_\+t {\bfseries level\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classModBalancerT_a7888b0d017bee2f5f6ce7482d0ec5bf0}\label{classModBalancerT_a7888b0d017bee2f5f6ce7482d0ec5bf0}} 
{\bfseries D\+E\+C\+I\+M\+A\+T\+I\+N\+G\+\_\+\+M\+O\+D\+U\+LE} (\hyperlink{classModBalancerT}{Mod\+BalancerT}, D, Balancer)
\item 
\mbox{\Hypertarget{classModBalancerT_a35c84643ccb29982bd43ef790179be91}\label{classModBalancerT_a35c84643ccb29982bd43ef790179be91}} 
\hyperlink{classModBalancerT_a35c84643ccb29982bd43ef790179be91}{Mod\+BalancerT} (D \&\+\_\+dec)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classModBalancerT_a21611b06088681264380f678518666f7}\label{classModBalancerT_a21611b06088681264380f678518666f7}} 
virtual \hyperlink{classModBalancerT_a21611b06088681264380f678518666f7}{$\sim$\+Mod\+BalancerT} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classModBalancerT_a4e2e78aaa9b402718b8bc7fb83191afb}\label{classModBalancerT_a4e2e78aaa9b402718b8bc7fb83191afb}} 
void \hyperlink{classModBalancerT_a4e2e78aaa9b402718b8bc7fb83191afb}{initialize} (void) override
\begin{DoxyCompactList}\small\item\em Initalize the module and prepare the mesh for decimation. \end{DoxyCompactList}\item 
virtual float \hyperlink{classModBalancerT_a98d09d915ecb98c5e7e771175953be53}{collapse\+\_\+priority} (const \hyperlink{structOpenMesh_1_1Decimater_1_1CollapseInfoT}{Collapse\+Info} \&\+\_\+ci) override
\item 
\mbox{\Hypertarget{classModBalancerT_a4719a068edb53fb2ad064e109ca38147}\label{classModBalancerT_a4719a068edb53fb2ad064e109ca38147}} 
void \hyperlink{classModBalancerT_a4719a068edb53fb2ad064e109ca38147}{postprocess\+\_\+collapse} (const \hyperlink{structOpenMesh_1_1Decimater_1_1CollapseInfoT}{Collapse\+Info} \&\+\_\+ci) override
\begin{DoxyCompactList}\small\item\em post-\/process halfedge collapse (accumulate quadrics) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classModBalancerT_a946af1743a7fd18e02a1615cb1c77d9a}\label{classModBalancerT_a946af1743a7fd18e02a1615cb1c77d9a}} 
level\+\_\+t {\bfseries max\+\_\+level} (void) const
\item 
\mbox{\Hypertarget{classModBalancerT_a234644ab8217a425fab44aa8f9ca27ef}\label{classModBalancerT_a234644ab8217a425fab44aa8f9ca27ef}} 
level\+\_\+t {\bfseries bits\+\_\+for\+\_\+roots} (void) const
\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classModBalancerT_a003d54010a36b5df4e705405168ee8d9}\label{classModBalancerT_a003d54010a36b5df4e705405168ee8d9}} 
static level\+\_\+t {\bfseries calc\+\_\+bits\+\_\+for\+\_\+roots} (size\+\_\+t \+\_\+n\+\_\+vertices)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classModBalancerT_aacb2bec61112dbaf964537ba8f178a45}\label{classModBalancerT_aacb2bec61112dbaf964537ba8f178a45}} 
void \hyperlink{classModBalancerT_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{classModBalancerT_ad0b40c69c18c722daa4cfc656bed9e58}\label{classModBalancerT_ad0b40c69c18c722daa4cfc656bed9e58}} 
\hyperlink{structOpenMesh_1_1VPropHandleT}{Open\+Mesh\+::\+V\+Prop\+HandleT}$<$ level\+\_\+t $>$ {\bfseries level\+\_\+}
\item 
\mbox{\Hypertarget{classModBalancerT_a0769babb021e79c2a5a7d1aa6cd5b5ae}\label{classModBalancerT_a0769babb021e79c2a5a7d1aa6cd5b5ae}} 
level\+\_\+t {\bfseries max\+\_\+level\+\_\+}
\item 
\mbox{\Hypertarget{classModBalancerT_a6dddd38d5678d986ef42de7490477e57}\label{classModBalancerT_a6dddd38d5678d986ef42de7490477e57}} 
level\+\_\+t {\bfseries n\+\_\+roots\+\_\+}
\item 
\mbox{\Hypertarget{classModBalancerT_ac5818a4e5579fd5d1150ba057f17bf05}\label{classModBalancerT_ac5818a4e5579fd5d1150ba057f17bf05}} 
size\+\_\+t {\bfseries n\+\_\+vertices\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classModBalancerT_ad19171f9392b5b284cab90bdb649ec6a}\label{classModBalancerT_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{classModBalancerT_a98d09d915ecb98c5e7e771175953be53}\label{classModBalancerT_a98d09d915ecb98c5e7e771175953be53}} 
\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{classModBalancerT}{Mod\+BalancerT}$<$ D $>$\+::collapse\+\_\+priority (\begin{DoxyParamCaption}\item[{const \hyperlink{structOpenMesh_1_1Decimater_1_1CollapseInfoT}{Collapse\+Info} \&}]{\+\_\+ci }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}

Compute collapse priority based on error quadrics.

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

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


Reimplemented from \hyperlink{classOpenMesh_1_1Decimater_1_1ModQuadricT_af4ac05dd987deba4903b419bd053a3ef}{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}
