\hypertarget{a00485}{\section{Decimate\+Thread Class Reference}
\label{a00485}\index{Decimate\+Thread@{Decimate\+Thread}}
}
Inheritance diagram for Decimate\+Thread\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a00485}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{a00947}{Params}
\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00485_ae3e924c5ce6a21bc9701c4e5e0ad8c8a}{typedef \\*
\hyperlink{a00313}{Open\+Mesh\+::\+Decimater\+::\+Base\+Decimater\+T}\\*
$<$ \hyperlink{a02425_a41cbba34c91d41c5325cc019b097ad91}{Tri\+Mesh} $>$ {\bfseries Base\+Decimater\+Type}}\label{a00485_ae3e924c5ce6a21bc9701c4e5e0ad8c8a}

\item 
\hypertarget{a00485_a29b5fb7c37ea34f7227135b9b999bff8}{typedef \\*
\hyperlink{a00482}{Open\+Mesh\+::\+Decimater\+::\+Decimater\+T}\\*
$<$ \hyperlink{a02425_a41cbba34c91d41c5325cc019b097ad91}{Tri\+Mesh} $>$ {\bfseries Decimater\+Type}}\label{a00485_a29b5fb7c37ea34f7227135b9b999bff8}

\item 
\hypertarget{a00485_a3c09a78b3d46413a7fcc86783b341c02}{typedef \\*
\hyperlink{a00799}{Open\+Mesh\+::\+Decimater\+::\+Mc\+Decimater\+T}\\*
$<$ \hyperlink{a02425_a41cbba34c91d41c5325cc019b097ad91}{Tri\+Mesh} $>$ {\bfseries Mc\+Decimater\+Type}}\label{a00485_a3c09a78b3d46413a7fcc86783b341c02}

\item 
\hypertarget{a00485_ae0a5c4ddcbe1aa460b09016f08e721ce}{typedef \\*
\hyperlink{a00843}{Open\+Mesh\+::\+Decimater\+::\+Mixed\+Decimater\+T}\\*
$<$ \hyperlink{a02425_a41cbba34c91d41c5325cc019b097ad91}{Tri\+Mesh} $>$ {\bfseries Mixed\+Decimater\+Type}}\label{a00485_ae0a5c4ddcbe1aa460b09016f08e721ce}

\end{DoxyCompactItemize}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00485_abee9a29e7dec37e3fa02804d76dccbc0}{void {\bfseries decimate} ()}\label{a00485_abee9a29e7dec37e3fa02804d76dccbc0}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{a00485_a9fba228d45e2cae87488c6cfe07464cc}{notify} (size\+\_\+t \+\_\+step)
\begin{DoxyCompactList}\small\item\em callback \end{DoxyCompactList}\item 
virtual bool \hyperlink{a00485_adc5d6c62b535ce9362e90222dbf46be5}{abort} () const 
\begin{DoxyCompactList}\small\item\em Abort callback. \end{DoxyCompactList}\item 
void \hyperlink{a00485_ab3d8bf3e473210d1887c7af8d0c40c0a}{cancel} ()
\begin{DoxyCompactList}\small\item\em Cancel the job. \end{DoxyCompactList}\item 
\hypertarget{a00485_a5d61133bfbd7e87ff818f864896668a1}{{\bfseries Decimate\+Thread} (\hyperlink{a00947}{Params} \+\_\+param, Q\+String \+\_\+job\+Id, int \+\_\+obj\+Id)}\label{a00485_a5d61133bfbd7e87ff818f864896668a1}

\item 
\hypertarget{a00485_a8851231f9b454ae2b32aa205ff2224d2}{Base\+Decimater\+Type $\ast$ {\bfseries base\+Decimater} ()}\label{a00485_a8851231f9b454ae2b32aa205ff2224d2}

\item 
\hypertarget{a00485_a32a6b1109723d8873781f03fd860cc83}{int {\bfseries object\+Id} () const }\label{a00485_a32a6b1109723d8873781f03fd860cc83}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00485_a04f17afc62666a9398d3213ef18bf985}{bool {\bfseries abort\+\_\+}}\label{a00485_a04f17afc62666a9398d3213ef18bf985}

\item 
\hypertarget{a00485_a455ec3b53e5ffbbd63a65e765e425a1a}{int {\bfseries max\+Collapses\+\_\+}}\label{a00485_a455ec3b53e5ffbbd63a65e765e425a1a}

\item 
\hypertarget{a00485_a5b3527db2778606f02c6bc7c1b272340}{\hyperlink{a00947}{Params} {\bfseries param\+\_\+}}\label{a00485_a5b3527db2778606f02c6bc7c1b272340}

\item 
\hypertarget{a00485_a7af4e990d39e7f0ccee5209d4ae9fbc3}{Q\+String {\bfseries job\+Id\+\_\+}}\label{a00485_a7af4e990d39e7f0ccee5209d4ae9fbc3}

\item 
\hypertarget{a00485_ac8b1173111e280f4d4e5095134f728fc}{Base\+Decimater\+Type $\ast$ {\bfseries base\+Dec\+\_\+}}\label{a00485_ac8b1173111e280f4d4e5095134f728fc}

\item 
\hypertarget{a00485_a4ec49365f25ef54cbb398e76348cfcc1}{int {\bfseries obj\+Id\+\_\+}}\label{a00485_a4ec49365f25ef54cbb398e76348cfcc1}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 63 of file Decimate\+Thread.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00485_adc5d6c62b535ce9362e90222dbf46be5}{\index{Decimate\+Thread@{Decimate\+Thread}!abort@{abort}}
\index{abort@{abort}!Decimate\+Thread@{Decimate\+Thread}}
\subsubsection[{abort}]{\setlength{\rightskip}{0pt plus 5cm}bool Decimate\+Thread\+::abort (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00485_adc5d6c62b535ce9362e90222dbf46be5}


Abort callback. 

After each notification, this function is called by the decimater. If the function returns true, the decimater will stop at a consistent state. Otherwise it will continue.

\begin{DoxyReturn}{Returns}
abort Yes or No 
\end{DoxyReturn}


Reimplemented from \hyperlink{a00907_a46ee4bf949f65d3043aee6173bc29d0c}{Open\+Mesh\+::\+Decimater\+::\+Observer}.



Definition at line 58 of file Decimate\+Thread.\+cc.

\hypertarget{a00485_ab3d8bf3e473210d1887c7af8d0c40c0a}{\index{Decimate\+Thread@{Decimate\+Thread}!cancel@{cancel}}
\index{cancel@{cancel}!Decimate\+Thread@{Decimate\+Thread}}
\subsubsection[{cancel}]{\setlength{\rightskip}{0pt plus 5cm}void Decimate\+Thread\+::cancel (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00485_ab3d8bf3e473210d1887c7af8d0c40c0a}


Cancel the job. 

Reimplement this function to correctly terminate your job. If your job is able to terminate correctly then you can reimplement this function and stop your process. 

Reimplemented from \hyperlink{a00920_a52b846d7205201c48d21267228b54de5}{Open\+Flipper\+Thread}.



Definition at line 89 of file Decimate\+Thread.\+cc.

\hypertarget{a00485_a9fba228d45e2cae87488c6cfe07464cc}{\index{Decimate\+Thread@{Decimate\+Thread}!notify@{notify}}
\index{notify@{notify}!Decimate\+Thread@{Decimate\+Thread}}
\subsubsection[{notify}]{\setlength{\rightskip}{0pt plus 5cm}void Decimate\+Thread\+::notify (
\begin{DoxyParamCaption}
\item[{size\+\_\+t}]{\+\_\+step}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00485_a9fba228d45e2cae87488c6cfe07464cc}


callback 

This function has to be overloaded. It will be called regularly during the decimation process and will return the current step.


\begin{DoxyParams}{Parameters}
{\em \+\_\+step} & Current step of the decimater \\
\hline
\end{DoxyParams}


Implements \hyperlink{a00907_ae7279c819cb88693c739f109bc21eaf4}{Open\+Mesh\+::\+Decimater\+::\+Observer}.



Definition at line 53 of file Decimate\+Thread.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin-\/\+Decimater/Decimate\+Thread.\+hh\item 
Plugin-\/\+Decimater/Decimate\+Thread.\+cc\end{DoxyCompactItemize}
