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


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

Inheritance diagram for Open\+Mesh\+:\+:Decimater\+:\+:Mixed\+Decimater\+T$<$ Mesh\+T $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.601286cm]{a00843}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00843_a1c7bb630a92dbc6c7f344a1522b21406}{typedef \hyperlink{a00799}{Mc\+Decimater\+T}$<$ Mesh\+T $>$ {\bfseries Self}}\label{a00843_a1c7bb630a92dbc6c7f344a1522b21406}

\item 
\hypertarget{a00843_a9617c474f3118aad86f5f6695c5d03b2}{typedef Mesh\+T {\bfseries Mesh}}\label{a00843_a9617c474f3118aad86f5f6695c5d03b2}

\item 
\hypertarget{a00843_a88c5ffbe7d747ad3e90fcd32e9951b1c}{typedef \hyperlink{a00417}{Collapse\+Info\+T}$<$ Mesh\+T $>$ {\bfseries Collapse\+Info}}\label{a00843_a88c5ffbe7d747ad3e90fcd32e9951b1c}

\item 
\hypertarget{a00843_a729fab1aef13345727eb2f701beea745}{typedef \hyperlink{a00846}{Mod\+Base\+T}$<$ Mesh\+T $>$ {\bfseries Module}}\label{a00843_a729fab1aef13345727eb2f701beea745}

\item 
\hypertarget{a00843_a74adb268781e75a09eddb182e587b513}{typedef std\+::vector$<$ \hyperlink{a00846}{Module} $\ast$ $>$ {\bfseries Module\+List}}\label{a00843_a74adb268781e75a09eddb182e587b513}

\item 
\hypertarget{a00843_a683d3ae2afa7e435737afae97575e543}{typedef Module\+List\+::iterator {\bfseries Module\+List\+Iterator}}\label{a00843_a683d3ae2afa7e435737afae97575e543}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00843_a3d9cb8dbee8294357f1ca9003f08d3a8}{\hyperlink{a00843_a3d9cb8dbee8294357f1ca9003f08d3a8}{Mixed\+Decimater\+T} (Mesh \&\+\_\+mesh)}\label{a00843_a3d9cb8dbee8294357f1ca9003f08d3a8}

\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{a00843_a8af89fade2619e7ca14203c44b05cf12}{\hyperlink{a00843_a8af89fade2619e7ca14203c44b05cf12}{$\sim$\+Mixed\+Decimater\+T} ()}\label{a00843_a8af89fade2619e7ca14203c44b05cf12}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{a00843_a4dd84571cc11d67b43cbb139373d335f}{decimate} (const size\+\_\+t \+\_\+n\+\_\+collapses, const float \+\_\+mc\+\_\+factor)
\item 
\hypertarget{a00843_a1fe2c6c2b3a63f00ca99b521c6fc2e42}{size\+\_\+t \hyperlink{a00843_a1fe2c6c2b3a63f00ca99b521c6fc2e42}{decimate\+\_\+to} (size\+\_\+t \+\_\+n\+\_\+vertices, const float \+\_\+mc\+\_\+factor)}\label{a00843_a1fe2c6c2b3a63f00ca99b521c6fc2e42}

\begin{DoxyCompactList}\small\item\em Decimate to target complexity, returns number of collapses. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{a00843_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 Mesh\+T$>$class Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T$<$ Mesh\+T $>$}

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


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



\subsection{Member Function Documentation}
\hypertarget{a00843_a4dd84571cc11d67b43cbb139373d335f}{\index{Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T@{Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T}!decimate@{decimate}}
\index{decimate@{decimate}!Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T@{Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T}}
\subsubsection[{decimate}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh $>$ size\+\_\+t {\bf Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T}$<$ Mesh $>$\+::decimate (
\begin{DoxyParamCaption}
\item[{const size\+\_\+t}]{\+\_\+n\+\_\+collapses, }
\item[{const float}]{\+\_\+mc\+\_\+factor}
\end{DoxyParamCaption}
)}}\label{a00843_a4dd84571cc11d67b43cbb139373d335f}
Decimate (perform \+\_\+n\+\_\+collapses collapses). Return number of performed collapses. If \+\_\+n\+\_\+collapses is not given reduce as much as possible 

Definition at line 91 of file Mixed\+Decimater\+T.\+cc.

\hypertarget{a00843_a649cc8f6cd7d423ee44374731f671494}{\index{Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T@{Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T}!decimate\+\_\+to\+\_\+faces@{decimate\+\_\+to\+\_\+faces}}
\index{decimate\+\_\+to\+\_\+faces@{decimate\+\_\+to\+\_\+faces}!Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T@{Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T}}
\subsubsection[{decimate\+\_\+to\+\_\+faces}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh $>$ size\+\_\+t {\bf Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T}$<$ 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}
)}}\label{a00843_a649cc8f6cd7d423ee44374731f671494}
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 115 of file Mixed\+Decimater\+T.\+cc.



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