\hypertarget{a08944}{}\section{Open\+Mesh\+:\+:Decimater\+:\+:Mixed\+DecimaterT$<$ MeshT $>$ Class Template Reference}
\label{a08944}\index{Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T$<$ Mesh\+T $>$@{Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T$<$ Mesh\+T $>$}}


{\ttfamily \#include $<$Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Decimater/\+Mixed\+Decimater\+T.\+hh$>$}

Inheritance diagram for Open\+Mesh\+:\+:Decimater\+:\+:Mixed\+DecimaterT$<$ MeshT $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.601286cm]{a08944}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08944_a1c7bb630a92dbc6c7f344a1522b21406}\label{a08944_a1c7bb630a92dbc6c7f344a1522b21406}} 
typedef \hyperlink{a08940}{Mc\+DecimaterT}$<$ MeshT $>$ {\bfseries Self}
\item 
\mbox{\Hypertarget{a08944_a9617c474f3118aad86f5f6695c5d03b2}\label{a08944_a9617c474f3118aad86f5f6695c5d03b2}} 
typedef MeshT {\bfseries Mesh}
\item 
\mbox{\Hypertarget{a08944_a88c5ffbe7d747ad3e90fcd32e9951b1c}\label{a08944_a88c5ffbe7d747ad3e90fcd32e9951b1c}} 
typedef \hyperlink{a08928}{Collapse\+InfoT}$<$ MeshT $>$ {\bfseries Collapse\+Info}
\item 
\mbox{\Hypertarget{a08944_a729fab1aef13345727eb2f701beea745}\label{a08944_a729fab1aef13345727eb2f701beea745}} 
typedef \hyperlink{a08956}{Mod\+BaseT}$<$ MeshT $>$ {\bfseries Module}
\item 
\mbox{\Hypertarget{a08944_a74adb268781e75a09eddb182e587b513}\label{a08944_a74adb268781e75a09eddb182e587b513}} 
typedef std\+::vector$<$ \hyperlink{a08956}{Module} $\ast$$>$ {\bfseries Module\+List}
\item 
\mbox{\Hypertarget{a08944_a683d3ae2afa7e435737afae97575e543}\label{a08944_a683d3ae2afa7e435737afae97575e543}} 
typedef Module\+List\+::iterator {\bfseries Module\+List\+Iterator}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08944_a3d9cb8dbee8294357f1ca9003f08d3a8}\label{a08944_a3d9cb8dbee8294357f1ca9003f08d3a8}} 
\hyperlink{a08944_a3d9cb8dbee8294357f1ca9003f08d3a8}{Mixed\+DecimaterT} (Mesh \&\+\_\+mesh)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a08944_a8af89fade2619e7ca14203c44b05cf12}\label{a08944_a8af89fade2619e7ca14203c44b05cf12}} 
\hyperlink{a08944_a8af89fade2619e7ca14203c44b05cf12}{$\sim$\+Mixed\+DecimaterT} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{a08944_a4dd84571cc11d67b43cbb139373d335f}{decimate} (const size\+\_\+t \+\_\+n\+\_\+collapses, const float \+\_\+mc\+\_\+factor)
\item 
\mbox{\Hypertarget{a08944_a1fe2c6c2b3a63f00ca99b521c6fc2e42}\label{a08944_a1fe2c6c2b3a63f00ca99b521c6fc2e42}} 
size\+\_\+t \hyperlink{a08944_a1fe2c6c2b3a63f00ca99b521c6fc2e42}{decimate\+\_\+to} (size\+\_\+t \+\_\+n\+\_\+vertices, const float \+\_\+mc\+\_\+factor)
\begin{DoxyCompactList}\small\item\em Decimate to target complexity, returns number of collapses. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{a08944_a649cc8f6cd7d423ee44374731f671494}{decimate\+\_\+to\+\_\+faces} (const size\+\_\+t \+\_\+n\+\_\+vertices=0, const size\+\_\+t \+\_\+n\+\_\+faces=0, const float \+\_\+mc\+\_\+factor=0.\+8)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\subsubsection*{template$<$typename MeshT$>$\newline
class Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T$<$ Mesh\+T $>$}

Mixed decimater framework \begin{DoxySeeAlso}{See also}
Base\+ModT, \hyperlink{decimater_docu}{Mesh Decimation Framework} 
\end{DoxySeeAlso}


Definition at line 77 of file Mixed\+Decimater\+T.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a08944_a4dd84571cc11d67b43cbb139373d335f}\label{a08944_a4dd84571cc11d67b43cbb139373d335f}} 
\index{Open\+Mesh\+::\+Decimater\+::\+Mixed\+DecimaterT@{Open\+Mesh\+::\+Decimater\+::\+Mixed\+DecimaterT}!decimate@{decimate}}
\index{decimate@{decimate}!Open\+Mesh\+::\+Decimater\+::\+Mixed\+DecimaterT@{Open\+Mesh\+::\+Decimater\+::\+Mixed\+DecimaterT}}
\subsubsection{\texorpdfstring{decimate()}{decimate()}}
{\footnotesize\ttfamily template$<$class Mesh $>$ \\
size\+\_\+t \hyperlink{a08944}{Open\+Mesh\+::\+Decimater\+::\+Mixed\+DecimaterT}$<$ Mesh $>$\+::decimate (\begin{DoxyParamCaption}\item[{const size\+\_\+t}]{\+\_\+n\+\_\+collapses,  }\item[{const float}]{\+\_\+mc\+\_\+factor }\end{DoxyParamCaption})}

Decimate (perform \+\_\+n\+\_\+collapses collapses). Return number of performed collapses. If \+\_\+n\+\_\+collapses is not given reduce as much as possible 

Definition at line 85 of file Mixed\+Decimater\+T\+\_\+impl.\+hh.

\mbox{\Hypertarget{a08944_a649cc8f6cd7d423ee44374731f671494}\label{a08944_a649cc8f6cd7d423ee44374731f671494}} 
\index{Open\+Mesh\+::\+Decimater\+::\+Mixed\+DecimaterT@{Open\+Mesh\+::\+Decimater\+::\+Mixed\+DecimaterT}!decimate\+\_\+to\+\_\+faces@{decimate\+\_\+to\+\_\+faces}}
\index{decimate\+\_\+to\+\_\+faces@{decimate\+\_\+to\+\_\+faces}!Open\+Mesh\+::\+Decimater\+::\+Mixed\+DecimaterT@{Open\+Mesh\+::\+Decimater\+::\+Mixed\+DecimaterT}}
\subsubsection{\texorpdfstring{decimate\+\_\+to\+\_\+faces()}{decimate\_to\_faces()}}
{\footnotesize\ttfamily template$<$class Mesh $>$ \\
size\+\_\+t \hyperlink{a08944}{Open\+Mesh\+::\+Decimater\+::\+Mixed\+DecimaterT}$<$ Mesh $>$\+::decimate\+\_\+to\+\_\+faces (\begin{DoxyParamCaption}\item[{const size\+\_\+t}]{\+\_\+n\+\_\+vertices = {\ttfamily 0},  }\item[{const size\+\_\+t}]{\+\_\+n\+\_\+faces = {\ttfamily 0},  }\item[{const float}]{\+\_\+mc\+\_\+factor = {\ttfamily 0.8} }\end{DoxyParamCaption})}

Decimate to target complexity (vertices and faces). Stops when the number of vertices or the number of faces is reached. Returns number of performed collapses. 

Definition at line 109 of file Mixed\+Decimater\+T\+\_\+impl.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Decimater/\hyperlink{a02195}{Mixed\+Decimater\+T.\+hh}\item 
Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Decimater/\hyperlink{a02198}{Mixed\+Decimater\+T\+\_\+impl.\+hh}\end{DoxyCompactItemize}
