\hypertarget{classDecimateThread}{}\section{Decimate\+Thread Class Reference}
\label{classDecimateThread}\index{Decimate\+Thread@{Decimate\+Thread}}
Inheritance diagram for Decimate\+Thread\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classDecimateThread}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structDecimateThread_1_1Params}{Params}
\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classDecimateThread_ae3e924c5ce6a21bc9701c4e5e0ad8c8a}\label{classDecimateThread_ae3e924c5ce6a21bc9701c4e5e0ad8c8a}} 
typedef \hyperlink{classOpenMesh_1_1Decimater_1_1BaseDecimaterT}{Open\+Mesh\+::\+Decimater\+::\+Base\+DecimaterT}$<$ \hyperlink{classOpenMesh_1_1TriMesh__ArrayKernelT}{Tri\+Mesh} $>$ {\bfseries Base\+Decimater\+Type}
\item 
\mbox{\Hypertarget{classDecimateThread_a29b5fb7c37ea34f7227135b9b999bff8}\label{classDecimateThread_a29b5fb7c37ea34f7227135b9b999bff8}} 
typedef \hyperlink{classOpenMesh_1_1Decimater_1_1DecimaterT}{Open\+Mesh\+::\+Decimater\+::\+DecimaterT}$<$ \hyperlink{classOpenMesh_1_1TriMesh__ArrayKernelT}{Tri\+Mesh} $>$ {\bfseries Decimater\+Type}
\item 
\mbox{\Hypertarget{classDecimateThread_a3c09a78b3d46413a7fcc86783b341c02}\label{classDecimateThread_a3c09a78b3d46413a7fcc86783b341c02}} 
typedef \hyperlink{classOpenMesh_1_1Decimater_1_1McDecimaterT}{Open\+Mesh\+::\+Decimater\+::\+Mc\+DecimaterT}$<$ \hyperlink{classOpenMesh_1_1TriMesh__ArrayKernelT}{Tri\+Mesh} $>$ {\bfseries Mc\+Decimater\+Type}
\item 
\mbox{\Hypertarget{classDecimateThread_ae0a5c4ddcbe1aa460b09016f08e721ce}\label{classDecimateThread_ae0a5c4ddcbe1aa460b09016f08e721ce}} 
typedef \hyperlink{classOpenMesh_1_1Decimater_1_1MixedDecimaterT}{Open\+Mesh\+::\+Decimater\+::\+Mixed\+DecimaterT}$<$ \hyperlink{classOpenMesh_1_1TriMesh__ArrayKernelT}{Tri\+Mesh} $>$ {\bfseries Mixed\+Decimater\+Type}
\end{DoxyCompactItemize}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classDecimateThread_abee9a29e7dec37e3fa02804d76dccbc0}\label{classDecimateThread_abee9a29e7dec37e3fa02804d76dccbc0}} 
void {\bfseries decimate} ()
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classDecimateThread_a9fba228d45e2cae87488c6cfe07464cc}{notify} (size\+\_\+t \+\_\+step)
\begin{DoxyCompactList}\small\item\em callback \end{DoxyCompactList}\item 
virtual bool \hyperlink{classDecimateThread_a83f1baf40a4aadd9b2f76f817ba7b849}{abort} () const
\begin{DoxyCompactList}\small\item\em Abort callback. \end{DoxyCompactList}\item 
void \hyperlink{classDecimateThread_ab3d8bf3e473210d1887c7af8d0c40c0a}{cancel} ()
\begin{DoxyCompactList}\small\item\em Cancel the job. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classDecimateThread_a25507273b74d3f93112a00eff83bf79b}\label{classDecimateThread_a25507273b74d3f93112a00eff83bf79b}} 
{\bfseries Decimate\+Thread} (const \hyperlink{structDecimateThread_1_1Params}{Params} \&\+\_\+param, Q\+String \+\_\+job\+Id, int \+\_\+obj\+Id)
\item 
\mbox{\Hypertarget{classDecimateThread_a8851231f9b454ae2b32aa205ff2224d2}\label{classDecimateThread_a8851231f9b454ae2b32aa205ff2224d2}} 
Base\+Decimater\+Type $\ast$ {\bfseries base\+Decimater} ()
\item 
\mbox{\Hypertarget{classDecimateThread_a9a440ae25f287c7002bf0a338343e6a0}\label{classDecimateThread_a9a440ae25f287c7002bf0a338343e6a0}} 
int {\bfseries object\+Id} () const
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classDecimateThread_a04f17afc62666a9398d3213ef18bf985}\label{classDecimateThread_a04f17afc62666a9398d3213ef18bf985}} 
bool {\bfseries abort\+\_\+}
\item 
\mbox{\Hypertarget{classDecimateThread_a455ec3b53e5ffbbd63a65e765e425a1a}\label{classDecimateThread_a455ec3b53e5ffbbd63a65e765e425a1a}} 
int {\bfseries max\+Collapses\+\_\+}
\item 
\mbox{\Hypertarget{classDecimateThread_a5b3527db2778606f02c6bc7c1b272340}\label{classDecimateThread_a5b3527db2778606f02c6bc7c1b272340}} 
\hyperlink{structDecimateThread_1_1Params}{Params} {\bfseries param\+\_\+}
\item 
\mbox{\Hypertarget{classDecimateThread_a7af4e990d39e7f0ccee5209d4ae9fbc3}\label{classDecimateThread_a7af4e990d39e7f0ccee5209d4ae9fbc3}} 
Q\+String {\bfseries job\+Id\+\_\+}
\item 
\mbox{\Hypertarget{classDecimateThread_ac8b1173111e280f4d4e5095134f728fc}\label{classDecimateThread_ac8b1173111e280f4d4e5095134f728fc}} 
Base\+Decimater\+Type $\ast$ {\bfseries base\+Dec\+\_\+}
\item 
\mbox{\Hypertarget{classDecimateThread_a4ec49365f25ef54cbb398e76348cfcc1}\label{classDecimateThread_a4ec49365f25ef54cbb398e76348cfcc1}} 
int {\bfseries obj\+Id\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classDecimateThread_a83f1baf40a4aadd9b2f76f817ba7b849}\label{classDecimateThread_a83f1baf40a4aadd9b2f76f817ba7b849}} 
\index{Decimate\+Thread@{Decimate\+Thread}!abort@{abort}}
\index{abort@{abort}!Decimate\+Thread@{Decimate\+Thread}}
\subsubsection{\texorpdfstring{abort()}{abort()}}
{\footnotesize\ttfamily bool Decimate\+Thread\+::abort (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



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{classOpenMesh_1_1Decimater_1_1Observer_a8c18687cd88bbb0775577673c900d0a1}{Open\+Mesh\+::\+Decimater\+::\+Observer}.



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

\mbox{\Hypertarget{classDecimateThread_ab3d8bf3e473210d1887c7af8d0c40c0a}\label{classDecimateThread_ab3d8bf3e473210d1887c7af8d0c40c0a}} 
\index{Decimate\+Thread@{Decimate\+Thread}!cancel@{cancel}}
\index{cancel@{cancel}!Decimate\+Thread@{Decimate\+Thread}}
\subsubsection{\texorpdfstring{cancel()}{cancel()}}
{\footnotesize\ttfamily void Decimate\+Thread\+::cancel (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



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{classOpenFlipperThread_a52b846d7205201c48d21267228b54de5}{Open\+Flipper\+Thread}.



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

\mbox{\Hypertarget{classDecimateThread_a9fba228d45e2cae87488c6cfe07464cc}\label{classDecimateThread_a9fba228d45e2cae87488c6cfe07464cc}} 
\index{Decimate\+Thread@{Decimate\+Thread}!notify@{notify}}
\index{notify@{notify}!Decimate\+Thread@{Decimate\+Thread}}
\subsubsection{\texorpdfstring{notify()}{notify()}}
{\footnotesize\ttfamily void Decimate\+Thread\+::notify (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{\+\_\+step }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



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{classOpenMesh_1_1Decimater_1_1Observer_ae7279c819cb88693c739f109bc21eaf4}{Open\+Mesh\+::\+Decimater\+::\+Observer}.



Definition at line 47 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}
