\hypertarget{classOpenMesh_1_1Decimater_1_1MixedDecimaterT}{}\section{Open\+Mesh\+:\+:Decimater\+:\+:Mixed\+DecimaterT$<$ MeshT $>$ Class Template Reference}
\label{classOpenMesh_1_1Decimater_1_1MixedDecimaterT}\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]{classOpenMesh_1_1Decimater_1_1MixedDecimaterT}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a1c7bb630a92dbc6c7f344a1522b21406}\label{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a1c7bb630a92dbc6c7f344a1522b21406}} 
typedef \hyperlink{classOpenMesh_1_1Decimater_1_1McDecimaterT}{Mc\+DecimaterT}$<$ MeshT $>$ {\bfseries Self}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a9617c474f3118aad86f5f6695c5d03b2}\label{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a9617c474f3118aad86f5f6695c5d03b2}} 
typedef MeshT {\bfseries Mesh}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a88c5ffbe7d747ad3e90fcd32e9951b1c}\label{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a88c5ffbe7d747ad3e90fcd32e9951b1c}} 
typedef \hyperlink{structOpenMesh_1_1Decimater_1_1CollapseInfoT}{Collapse\+InfoT}$<$ MeshT $>$ {\bfseries Collapse\+Info}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a729fab1aef13345727eb2f701beea745}\label{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a729fab1aef13345727eb2f701beea745}} 
typedef \hyperlink{classOpenMesh_1_1Decimater_1_1ModBaseT}{Mod\+BaseT}$<$ MeshT $>$ {\bfseries Module}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a74adb268781e75a09eddb182e587b513}\label{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a74adb268781e75a09eddb182e587b513}} 
typedef std\+::vector$<$ \hyperlink{classOpenMesh_1_1Decimater_1_1ModBaseT}{Module} $\ast$$>$ {\bfseries Module\+List}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a683d3ae2afa7e435737afae97575e543}\label{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a683d3ae2afa7e435737afae97575e543}} 
typedef Module\+List\+::iterator {\bfseries Module\+List\+Iterator}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a3d9cb8dbee8294357f1ca9003f08d3a8}\label{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a3d9cb8dbee8294357f1ca9003f08d3a8}} 
\hyperlink{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a3d9cb8dbee8294357f1ca9003f08d3a8}{Mixed\+DecimaterT} (Mesh \&\+\_\+mesh)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a8af89fade2619e7ca14203c44b05cf12}\label{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a8af89fade2619e7ca14203c44b05cf12}} 
\hyperlink{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a8af89fade2619e7ca14203c44b05cf12}{$\sim$\+Mixed\+DecimaterT} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a4dd84571cc11d67b43cbb139373d335f}{decimate} (const size\+\_\+t \+\_\+n\+\_\+collapses, const float \+\_\+mc\+\_\+factor)
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a1fe2c6c2b3a63f00ca99b521c6fc2e42}\label{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a1fe2c6c2b3a63f00ca99b521c6fc2e42}} 
size\+\_\+t \hyperlink{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_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{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_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{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a4dd84571cc11d67b43cbb139373d335f}\label{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_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{classOpenMesh_1_1Decimater_1_1MixedDecimaterT}{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{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_a649cc8f6cd7d423ee44374731f671494}\label{classOpenMesh_1_1Decimater_1_1MixedDecimaterT_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{classOpenMesh_1_1Decimater_1_1MixedDecimaterT}{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{MixedDecimaterT_8hh}{Mixed\+Decimater\+T.\+hh}\item 
Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Decimater/\hyperlink{MixedDecimaterT__impl_8hh}{Mixed\+Decimater\+T\+\_\+impl.\+hh}\end{DoxyCompactItemize}
