\hypertarget{a10108}{}\section{Decimater\+Plugin Class Reference}
\label{a10108}\index{Decimater\+Plugin@{Decimater\+Plugin}}


{\ttfamily \#include $<$Plugin-\/\+Decimater/\+Decimater\+Plugin.\+hh$>$}

Inheritance diagram for Decimater\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=11.000000cm]{a10108}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{a10112}{Decimater\+Init}
\end{DoxyCompactItemize}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a10108_ab476e58fa954d864dfad017d11bd98b1}{decimate} (int \+\_\+obj\+ID, Q\+String \+\_\+constraints)
\begin{DoxyCompactList}\small\item\em decimate an object \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10108_a0e21d07748ff37b6a2114cb15adcc413}\label{a10108_a0e21d07748ff37b6a2114cb15adcc413}} 
Q\+String {\bfseries version} ()
\end{DoxyCompactItemize}
\begin{Indent}\textbf{ Scripting Functions}\par
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a10108_a3de53f311d5e7735eef4230506c83614}{decimate} (int \+\_\+obj\+ID, Q\+Variant\+Map \+\_\+constraints)
\begin{DoxyCompactList}\small\item\em decimate an object \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10108_a2d4c39a382f68f1ed3282f912b912adb}\label{a10108_a2d4c39a382f68f1ed3282f912b912adb}} 
void {\bfseries update\+View} ()
\item 
\mbox{\Hypertarget{a10108_a023988664ef4ab6d8f9cb8a683e0727a}\label{a10108_a023988664ef4ab6d8f9cb8a683e0727a}} 
void {\bfseries updated\+Object} (int \+\_\+id, const \hyperlink{a07096}{Update\+Type} \&\+\_\+type)
\item 
\mbox{\Hypertarget{a10108_acb7d7297b825a48ce161e4326c55a78b}\label{a10108_acb7d7297b825a48ce161e4326c55a78b}} 
void {\bfseries set\+Slot\+Description} (Q\+String \+\_\+slot\+Name, Q\+String \+\_\+slot\+Description, Q\+String\+List \+\_\+parameters, Q\+String\+List \+\_\+descriptions)
\item 
\mbox{\Hypertarget{a10108_a74b4885055aed417c1c3989603cd062c}\label{a10108_a74b4885055aed417c1c3989603cd062c}} 
void {\bfseries log} (\hyperlink{a00035_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{a10108_aa8e01fba657238fdb4f6ea293f117a35}\label{a10108_aa8e01fba657238fdb4f6ea293f117a35}} 
void {\bfseries log} (Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{a10108_a69af7305b47072c773372b86e447ecef}\label{a10108_a69af7305b47072c773372b86e447ecef}} 
void {\bfseries plugin\+Exists} (Q\+String \+\_\+plugin\+Name, bool \&\+\_\+exists)
\item 
\mbox{\Hypertarget{a10108_a11a3a4c736ef34532374a4c1a6309e03}\label{a10108_a11a3a4c736ef34532374a4c1a6309e03}} 
void {\bfseries function\+Exists} (Q\+String \+\_\+plugin\+Name, Q\+String \+\_\+function\+Name, bool \&\+\_\+exists)
\item 
\mbox{\Hypertarget{a10108_a6c2aacc9d8fb112dadfa8a7103da54b1}\label{a10108_a6c2aacc9d8fb112dadfa8a7103da54b1}} 
void {\bfseries add\+Toolbox} (Q\+String \+\_\+name, Q\+Widget $\ast$\+\_\+widget, Q\+Icon $\ast$\+\_\+icon)
\item 
\mbox{\Hypertarget{a10108_a30ca83d59d895bdf04b1a183cf1f385d}\label{a10108_a30ca83d59d895bdf04b1a183cf1f385d}} 
void {\bfseries script\+Info} (Q\+String \+\_\+function\+Name)
\item 
\mbox{\Hypertarget{a10108_ad422732f860ccca5e16e3752bf289468}\label{a10108_ad422732f860ccca5e16e3752bf289468}} 
void {\bfseries create\+Backup} (int \+\_\+id, Q\+String \+\_\+name, \hyperlink{a07096}{Update\+Type} \+\_\+type=\hyperlink{a06166_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL})
\item 
\mbox{\Hypertarget{a10108_a61c0db2182e1447d3e1b5adab2bc388f}\label{a10108_a61c0db2182e1447d3e1b5adab2bc388f}} 
void {\bfseries start\+Job} (Q\+String \+\_\+job\+Id, Q\+String \+\_\+description, int \+\_\+min, int \+\_\+max, bool \+\_\+blocking=false)
\item 
\mbox{\Hypertarget{a10108_a9cff627a51a3e05d8ffbf908fa2f3227}\label{a10108_a9cff627a51a3e05d8ffbf908fa2f3227}} 
void {\bfseries cancel\+Job} (Q\+String \+\_\+job\+Id)
\item 
\mbox{\Hypertarget{a10108_a5599d17b97eb931a817eb28539023008}\label{a10108_a5599d17b97eb931a817eb28539023008}} 
void {\bfseries finish\+Job} (Q\+String \+\_\+job\+Id)
\item 
\mbox{\Hypertarget{a10108_a70c7743fe95c36198b573e795e315e04}\label{a10108_a70c7743fe95c36198b573e795e315e04}} 
void {\bfseries set\+Job\+State} (Q\+String, int)
\item 
\mbox{\Hypertarget{a10108_abb7476501a67457e69267c741224d88c}\label{a10108_abb7476501a67457e69267c741224d88c}} 
void {\bfseries set\+Job\+Name} (Q\+String \+\_\+job\+Id, Q\+String \+\_\+name)
\item 
\mbox{\Hypertarget{a10108_a263dabe29fa9deef6e60910102375bdb}\label{a10108_a263dabe29fa9deef6e60910102375bdb}} 
void {\bfseries set\+Job\+Description} (Q\+String \+\_\+job\+Id, Q\+String \+\_\+text)
\item 
\mbox{\Hypertarget{a10108_a2ad7b9ad1b60df4d7d3e3611d002c3ec}\label{a10108_a2ad7b9ad1b60df4d7d3e3611d002c3ec}} 
void {\bfseries job\+Canceled} (Q\+String \+\_\+job\+Id)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10108_ae9d50e5243706f0f70408e840fab6ed3}\label{a10108_ae9d50e5243706f0f70408e840fab6ed3}} 
\hyperlink{a10108_ae9d50e5243706f0f70408e840fab6ed3}{Decimater\+Plugin} ()
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10108_a8d007f1a6873363b2a579fb909b129c6}\label{a10108_a8d007f1a6873363b2a579fb909b129c6}} 
\hyperlink{a10108_a8d007f1a6873363b2a579fb909b129c6}{$\sim$\+Decimater\+Plugin} ()
\begin{DoxyCompactList}\small\item\em Default destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10108_a99dfe62c38a5f59f4963b2a3b6b69b8b}\label{a10108_a99dfe62c38a5f59f4963b2a3b6b69b8b}} 
Q\+String \hyperlink{a10108_a99dfe62c38a5f59f4963b2a3b6b69b8b}{name} ()
\begin{DoxyCompactList}\small\item\em Name of the Plugin. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10108_a465da8d3bb6e7e46a754e52bf5c44f6f}\label{a10108_a465da8d3bb6e7e46a754e52bf5c44f6f}} 
Q\+String \hyperlink{a10108_a465da8d3bb6e7e46a754e52bf5c44f6f}{description} ()
\begin{DoxyCompactList}\small\item\em Description of the Plugin. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10108_a69a6480dcc7bbb2f3de9fe4194d95857}\label{a10108_a69a6480dcc7bbb2f3de9fe4194d95857}} 
typedef Decimate\+Thread\+::\+Base\+Decimater\+Type {\bfseries Base\+Decimater\+Type}
\item 
\mbox{\Hypertarget{a10108_aecf26bdd7d8fd38fdc0f54a516f485a4}\label{a10108_aecf26bdd7d8fd38fdc0f54a516f485a4}} 
typedef Decimate\+Thread\+::\+Decimater\+Type {\bfseries Decimater\+Type}
\item 
\mbox{\Hypertarget{a10108_a4f35ba3d8fdfbf0d4deb0047cb04e34b}\label{a10108_a4f35ba3d8fdfbf0d4deb0047cb04e34b}} 
typedef Decimate\+Thread\+::\+Mc\+Decimater\+Type {\bfseries Mc\+Decimater\+Type}
\item 
\mbox{\Hypertarget{a10108_afd80849404a8eb18591d377fac42139b}\label{a10108_afd80849404a8eb18591d377fac42139b}} 
typedef Decimate\+Thread\+::\+Mixed\+Decimater\+Type {\bfseries Mixed\+Decimater\+Type}
\item 
\mbox{\Hypertarget{a10108_adcde4dacaa5f6fa887370774e6cebdf0}\label{a10108_adcde4dacaa5f6fa887370774e6cebdf0}} 
typedef \hyperlink{a08948}{Open\+Mesh\+::\+Decimater\+::\+Mod\+Aspect\+RatioT}$<$ \hyperlink{a08764}{Tri\+Mesh} $>$\+::Handle {\bfseries Mod\+Aspect\+RatioH}
\item 
\mbox{\Hypertarget{a10108_a5bb8f20218c88656844caeaf09899452}\label{a10108_a5bb8f20218c88656844caeaf09899452}} 
typedef \hyperlink{a08960}{Open\+Mesh\+::\+Decimater\+::\+Mod\+Edge\+LengthT}$<$ \hyperlink{a08764}{Tri\+Mesh} $>$\+::Handle {\bfseries Mod\+Edge\+LengthH}
\item 
\mbox{\Hypertarget{a10108_af067db5898448e6c80ee88c1ece46eca}\label{a10108_af067db5898448e6c80ee88c1ece46eca}} 
typedef \hyperlink{a08964}{Open\+Mesh\+::\+Decimater\+::\+Mod\+HausdorffT}$<$ \hyperlink{a08764}{Tri\+Mesh} $>$\+::Handle {\bfseries Mod\+HausdorffH}
\item 
\mbox{\Hypertarget{a10108_a14b00bea3473d993e9cb020db3eb51bf}\label{a10108_a14b00bea3473d993e9cb020db3eb51bf}} 
typedef \hyperlink{a08968}{Open\+Mesh\+::\+Decimater\+::\+Mod\+Independent\+SetsT}$<$ \hyperlink{a08764}{Tri\+Mesh} $>$\+::Handle {\bfseries Mod\+IndependentH}
\item 
\mbox{\Hypertarget{a10108_a0784631373c338dde12d2ee677042a4e}\label{a10108_a0784631373c338dde12d2ee677042a4e}} 
typedef \hyperlink{a08972}{Open\+Mesh\+::\+Decimater\+::\+Mod\+Normal\+DeviationT}$<$ \hyperlink{a08764}{Tri\+Mesh} $>$\+::Handle {\bfseries Mod\+Normal\+DeviationH}
\item 
\mbox{\Hypertarget{a10108_a162bed0e1241681d39dbea2aa5a09a48}\label{a10108_a162bed0e1241681d39dbea2aa5a09a48}} 
typedef \hyperlink{a08976}{Open\+Mesh\+::\+Decimater\+::\+Mod\+Normal\+FlippingT}$<$ \hyperlink{a08764}{Tri\+Mesh} $>$\+::Handle {\bfseries Mod\+Normal\+FlippingH}
\item 
\mbox{\Hypertarget{a10108_a6c830ce1f52843c4aeddbe72bded991c}\label{a10108_a6c830ce1f52843c4aeddbe72bded991c}} 
typedef \hyperlink{a08988}{Open\+Mesh\+::\+Decimater\+::\+Mod\+QuadricT}$<$ \hyperlink{a08764}{Tri\+Mesh} $>$\+::Handle {\bfseries Mod\+QuadricH}
\item 
\mbox{\Hypertarget{a10108_aea841a5ee0002e91fa9193faf6c8f9b3}\label{a10108_aea841a5ee0002e91fa9193faf6c8f9b3}} 
typedef \hyperlink{a08992}{Open\+Mesh\+::\+Decimater\+::\+Mod\+RoundnessT}$<$ \hyperlink{a08764}{Tri\+Mesh} $>$\+::Handle {\bfseries Mod\+RoundnessH}
\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10108_a11361f10c03a2f25931a20921ac6508d}\label{a10108_a11361f10c03a2f25931a20921ac6508d}} 
void {\bfseries initialize\+Plugin} ()
\item 
void \hyperlink{a10108_a527fafd9921ba58d0294c111b24c9f24}{plugins\+Initialized} ()
\begin{DoxyCompactList}\small\item\em Initialization of the plugin when it is loaded by the core. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10108_a716dc54d00cd8af42311dfeca8d5a48c}\label{a10108_a716dc54d00cd8af42311dfeca8d5a48c}} 
void {\bfseries slot\+Object\+Updated} (int \+\_\+identifier, const \hyperlink{a07096}{Update\+Type} \&\+\_\+type)
\item 
\mbox{\Hypertarget{a10108_a73a31aa19719113fa0b75985d6a6a051}\label{a10108_a73a31aa19719113fa0b75985d6a6a051}} 
void {\bfseries slot\+Object\+Selection\+Changed} (int \+\_\+identifier)
\item 
\mbox{\Hypertarget{a10108_a0b16fa3396b84d5516b358b3896854a4}\label{a10108_a0b16fa3396b84d5516b358b3896854a4}} 
void {\bfseries object\+Deleted} (int \+\_\+id)
\item 
\mbox{\Hypertarget{a10108_a2aabd468bd58e25bf3434dad991b88af}\label{a10108_a2aabd468bd58e25bf3434dad991b88af}} 
void {\bfseries slot\+About\+To\+Restore} (int \+\_\+id)
\item 
\mbox{\Hypertarget{a10108_a4c1282f4078790737c6a6ba16992b03a}\label{a10108_a4c1282f4078790737c6a6ba16992b03a}} 
void {\bfseries nogui\+Supported} ()
\item 
void \hyperlink{a10108_a4be7979e25c4556e727bce3306ef13ca}{slot\+\_\+decimate} ()
\begin{DoxyCompactList}\small\item\em decimating called from button in toolbox \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10108_a5d812f723567bf39bdca3e2e7ef56520}\label{a10108_a5d812f723567bf39bdca3e2e7ef56520}} 
void {\bfseries slot\+\_\+decimate\+\_\+finished} (Q\+String \+\_\+job\+Id)
\item 
void \hyperlink{a10108_a9dac8b6ef3c0d92b0e52ad98808c00ec}{slot\+\_\+initialize} ()
\begin{DoxyCompactList}\small\item\em init called from button in toolbox \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10108_a21918ae179be871a38f740b1856c3dd7}\label{a10108_a21918ae179be871a38f740b1856c3dd7}} 
void {\bfseries slot\+\_\+initialize\+\_\+object} (int obj\+\_\+id, bool clear=false)
\item 
void \hyperlink{a10108_a1279ba0c094c9fb67ec17c9ece8fa88e}{slot\+Update\+Roundness} (int \+\_\+value)
\begin{DoxyCompactList}\small\item\em roundness slider -\/ spinbox sync \end{DoxyCompactList}\item 
void \hyperlink{a10108_aaafb1d152fa0d08d5790de454c0306d8}{slot\+Update\+Roundness} (double \+\_\+value)
\begin{DoxyCompactList}\small\item\em sync between values of roundness slider and spinbox in the toolbox \end{DoxyCompactList}\item 
void \hyperlink{a10108_abc2b3b1496ab11b3272b271d801a774e}{slot\+Update\+Aspect\+Ratio} (int \+\_\+value)
\begin{DoxyCompactList}\small\item\em sync between values of aspect ratio slider and spinbox in the toolbox \end{DoxyCompactList}\item 
void \hyperlink{a10108_a047c99b9a2c3b4dd4cd37582932bedb1}{slot\+Update\+Aspect\+Ratio} (double \+\_\+value)
\begin{DoxyCompactList}\small\item\em sync between values of aspect ratio slider and spinbox in the toolbox \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10108_a4b014b747c995799d9e8c95eb84801f2}\label{a10108_a4b014b747c995799d9e8c95eb84801f2}} 
void \hyperlink{a10108_a4b014b747c995799d9e8c95eb84801f2}{slot\+Update\+Distance} ()
\begin{DoxyCompactList}\small\item\em slider / spinbox updates \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10108_aa4a1a3ba901d92cd3987594d5748a6c0}\label{a10108_aa4a1a3ba901d92cd3987594d5748a6c0}} 
void {\bfseries slot\+Update\+Normal\+Dev} ()
\item 
\mbox{\Hypertarget{a10108_a1b00657738bfabbf63de298233f0f0e9}\label{a10108_a1b00657738bfabbf63de298233f0f0e9}} 
void {\bfseries slot\+Update\+Vertices} ()
\item 
\mbox{\Hypertarget{a10108_ae3043c077f26398c7380c9177e243ba9}\label{a10108_ae3043c077f26398c7380c9177e243ba9}} 
void {\bfseries slot\+Update\+Triangles} ()
\item 
\mbox{\Hypertarget{a10108_a90cae9b990e993f42ea389395f0b9530}\label{a10108_a90cae9b990e993f42ea389395f0b9530}} 
void {\bfseries slot\+Update\+Edge\+Length} ()
\item 
\mbox{\Hypertarget{a10108_a963291bf064619a34179b20720da16c2}\label{a10108_a963291bf064619a34179b20720da16c2}} 
void \hyperlink{a10108_a963291bf064619a34179b20720da16c2}{slot\+Update\+Num\+Vertices} ()
\begin{DoxyCompactList}\small\item\em update number of vertices information \end{DoxyCompactList}\item 
void \hyperlink{a10108_a87f830de22c5d40db0b78841289710c9}{slot\+Update\+Num\+Triangles} ()
\begin{DoxyCompactList}\small\item\em gets and sets the current maximum number of triangles \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10108_a495405476e2a553854163731a28ff485}\label{a10108_a495405476e2a553854163731a28ff485}} 
void {\bfseries slot\+Mixed\+Counter\+Value\+Changed} (double)
\item 
\mbox{\Hypertarget{a10108_a7657eaee355f20c558b9caa1cabf19cd}\label{a10108_a7657eaee355f20c558b9caa1cabf19cd}} 
void {\bfseries slot\+Mixed\+Slider\+Value\+Changed} (int)
\item 
\mbox{\Hypertarget{a10108_aee8ee38166c57095fad28ec8d211f7da}\label{a10108_aee8ee38166c57095fad28ec8d211f7da}} 
void {\bfseries slot\+Disable\+Decimation} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a10108_a1ef8e1cab88b0c2710b5dd7a6177e686}{canceled\+Job} (Q\+String \+\_\+job)
\begin{DoxyCompactList}\small\item\em A job has been canceled. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10108_a26a70221405425bffdf83901db6f6c22}\label{a10108_a26a70221405425bffdf83901db6f6c22}} 
void {\bfseries initialize\+\_\+object} (\hyperlink{a07044}{Base\+Object\+Data} $\ast$obj)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10108_ab6959f5644b0e0512a85301d804c6ec1}\label{a10108_ab6959f5644b0e0512a85301d804c6ec1}} 
\hyperlink{a10116}{Decimater\+Toolbar\+Widget} $\ast$ \hyperlink{a10108_ab6959f5644b0e0512a85301d804c6ec1}{tool\+\_\+}
\begin{DoxyCompactList}\small\item\em Widget for Toolbox. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10108_aa679530233a3191442b1b87a990e8613}\label{a10108_aa679530233a3191442b1b87a990e8613}} 
std\+::vector$<$ ptr\+::shared\+\_\+ptr$<$ \hyperlink{a10112}{Decimater\+Init} $>$ $>$ {\bfseries decimater\+\_\+objects\+\_\+}
\item 
\mbox{\Hypertarget{a10108_a3d5ec0ac49ac394f380113e239723b69}\label{a10108_a3d5ec0ac49ac394f380113e239723b69}} 
Q\+Icon $\ast$ {\bfseries tool\+Icon\+\_\+}
\item 
\mbox{\Hypertarget{a10108_a30593ac1a9b19b7d2aa378519cdc59c5}\label{a10108_a30593ac1a9b19b7d2aa378519cdc59c5}} 
int {\bfseries running\+Jobs\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Plugin for Decimater Support 

Definition at line 92 of file Decimater\+Plugin.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a10108_a1ef8e1cab88b0c2710b5dd7a6177e686}\label{a10108_a1ef8e1cab88b0c2710b5dd7a6177e686}} 
\index{Decimater\+Plugin@{Decimater\+Plugin}!canceled\+Job@{canceled\+Job}}
\index{canceled\+Job@{canceled\+Job}!Decimater\+Plugin@{Decimater\+Plugin}}
\subsubsection{\texorpdfstring{canceled\+Job()}{canceledJob()}}
{\footnotesize\ttfamily void Decimater\+Plugin\+::canceled\+Job (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+job }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [virtual]}}



A job has been canceled. 

This function is called when the user cancels a job. The returned name is the name of the job which has been canceled


\begin{DoxyParams}{Parameters}
{\em \+\_\+job} & String which is used as the id of the thread \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{a06964_aab4d3460c569003fd6de8f4888270ce2}{Process\+Interface}.



Definition at line 484 of file Decimater\+Plugin.\+cc.

\mbox{\Hypertarget{a10108_a3de53f311d5e7735eef4230506c83614}\label{a10108_a3de53f311d5e7735eef4230506c83614}} 
\index{Decimater\+Plugin@{Decimater\+Plugin}!decimate@{decimate}}
\index{decimate@{decimate}!Decimater\+Plugin@{Decimater\+Plugin}}
\subsubsection{\texorpdfstring{decimate}{decimate}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Decimater\+Plugin\+::decimate (\begin{DoxyParamCaption}\item[{int}]{\+\_\+obj\+ID,  }\item[{Q\+Variant\+Map}]{\+\_\+constraints }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



decimate an object 


\begin{DoxyParams}{Parameters}
{\em \+\_\+obj\+ID} & Id of the object that should be decimated \\
\hline
{\em \+\_\+constraints} & List of constraints for the decimater \\
\hline
\end{DoxyParams}


Definition at line 559 of file Decimater\+Plugin.\+cc.

\mbox{\Hypertarget{a10108_ab476e58fa954d864dfad017d11bd98b1}\label{a10108_ab476e58fa954d864dfad017d11bd98b1}} 
\index{Decimater\+Plugin@{Decimater\+Plugin}!decimate@{decimate}}
\index{decimate@{decimate}!Decimater\+Plugin@{Decimater\+Plugin}}
\subsubsection{\texorpdfstring{decimate}{decimate}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Decimater\+Plugin\+::decimate (\begin{DoxyParamCaption}\item[{int}]{\+\_\+obj\+ID,  }\item[{Q\+String}]{\+\_\+constraints }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



decimate an object 


\begin{DoxyParams}{Parameters}
{\em \+\_\+obj\+ID} & Id of the object that should be decimated \\
\hline
{\em \+\_\+constraints} & List of constraints for the decimater as a string separated by ; \\
\hline
\end{DoxyParams}


Definition at line 519 of file Decimater\+Plugin.\+cc.

\mbox{\Hypertarget{a10108_a527fafd9921ba58d0294c111b24c9f24}\label{a10108_a527fafd9921ba58d0294c111b24c9f24}} 
\index{Decimater\+Plugin@{Decimater\+Plugin}!plugins\+Initialized@{plugins\+Initialized}}
\index{plugins\+Initialized@{plugins\+Initialized}!Decimater\+Plugin@{Decimater\+Plugin}}
\subsubsection{\texorpdfstring{plugins\+Initialized}{pluginsInitialized}}
{\footnotesize\ttfamily void Decimater\+Plugin\+::plugins\+Initialized (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



Initialization of the plugin when it is loaded by the core. 



Definition at line 153 of file Decimater\+Plugin.\+cc.

\mbox{\Hypertarget{a10108_a4be7979e25c4556e727bce3306ef13ca}\label{a10108_a4be7979e25c4556e727bce3306ef13ca}} 
\index{Decimater\+Plugin@{Decimater\+Plugin}!slot\+\_\+decimate@{slot\+\_\+decimate}}
\index{slot\+\_\+decimate@{slot\+\_\+decimate}!Decimater\+Plugin@{Decimater\+Plugin}}
\subsubsection{\texorpdfstring{slot\+\_\+decimate}{slot\_decimate}}
{\footnotesize\ttfamily void Decimater\+Plugin\+::slot\+\_\+decimate (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



decimating called from button in toolbox 

Decimation called by toolbox.

Definition at line 417 of file Decimater\+Plugin.\+cc.

\mbox{\Hypertarget{a10108_a9dac8b6ef3c0d92b0e52ad98808c00ec}\label{a10108_a9dac8b6ef3c0d92b0e52ad98808c00ec}} 
\index{Decimater\+Plugin@{Decimater\+Plugin}!slot\+\_\+initialize@{slot\+\_\+initialize}}
\index{slot\+\_\+initialize@{slot\+\_\+initialize}!Decimater\+Plugin@{Decimater\+Plugin}}
\subsubsection{\texorpdfstring{slot\+\_\+initialize}{slot\_initialize}}
{\footnotesize\ttfamily void Decimater\+Plugin\+::slot\+\_\+initialize (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



init called from button in toolbox 

Init called by toolbox.

Definition at line 242 of file Decimater\+Plugin.\+cc.

\mbox{\Hypertarget{a10108_abc2b3b1496ab11b3272b271d801a774e}\label{a10108_abc2b3b1496ab11b3272b271d801a774e}} 
\index{Decimater\+Plugin@{Decimater\+Plugin}!slot\+Update\+Aspect\+Ratio@{slot\+Update\+Aspect\+Ratio}}
\index{slot\+Update\+Aspect\+Ratio@{slot\+Update\+Aspect\+Ratio}!Decimater\+Plugin@{Decimater\+Plugin}}
\subsubsection{\texorpdfstring{slot\+Update\+Aspect\+Ratio}{slotUpdateAspectRatio}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Decimater\+Plugin\+::slot\+Update\+Aspect\+Ratio (\begin{DoxyParamCaption}\item[{int}]{\+\_\+value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



sync between values of aspect ratio slider and spinbox in the toolbox 


\begin{DoxyParams}{Parameters}
{\em \+\_\+value} & new aspect ratio value \\
\hline
\end{DoxyParams}


Definition at line 218 of file Decimater\+Plugin.\+cc.

\mbox{\Hypertarget{a10108_a047c99b9a2c3b4dd4cd37582932bedb1}\label{a10108_a047c99b9a2c3b4dd4cd37582932bedb1}} 
\index{Decimater\+Plugin@{Decimater\+Plugin}!slot\+Update\+Aspect\+Ratio@{slot\+Update\+Aspect\+Ratio}}
\index{slot\+Update\+Aspect\+Ratio@{slot\+Update\+Aspect\+Ratio}!Decimater\+Plugin@{Decimater\+Plugin}}
\subsubsection{\texorpdfstring{slot\+Update\+Aspect\+Ratio}{slotUpdateAspectRatio}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Decimater\+Plugin\+::slot\+Update\+Aspect\+Ratio (\begin{DoxyParamCaption}\item[{double}]{\+\_\+value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



sync between values of aspect ratio slider and spinbox in the toolbox 


\begin{DoxyParams}{Parameters}
{\em \+\_\+value} & new aspect ratio value \\
\hline
\end{DoxyParams}


Definition at line 231 of file Decimater\+Plugin.\+cc.

\mbox{\Hypertarget{a10108_a87f830de22c5d40db0b78841289710c9}\label{a10108_a87f830de22c5d40db0b78841289710c9}} 
\index{Decimater\+Plugin@{Decimater\+Plugin}!slot\+Update\+Num\+Triangles@{slot\+Update\+Num\+Triangles}}
\index{slot\+Update\+Num\+Triangles@{slot\+Update\+Num\+Triangles}!Decimater\+Plugin@{Decimater\+Plugin}}
\subsubsection{\texorpdfstring{slot\+Update\+Num\+Triangles}{slotUpdateNumTriangles}}
{\footnotesize\ttfamily void Decimater\+Plugin\+::slot\+Update\+Num\+Triangles (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



gets and sets the current maximum number of triangles 



Definition at line 945 of file Decimater\+Plugin.\+cc.

\mbox{\Hypertarget{a10108_a1279ba0c094c9fb67ec17c9ece8fa88e}\label{a10108_a1279ba0c094c9fb67ec17c9ece8fa88e}} 
\index{Decimater\+Plugin@{Decimater\+Plugin}!slot\+Update\+Roundness@{slot\+Update\+Roundness}}
\index{slot\+Update\+Roundness@{slot\+Update\+Roundness}!Decimater\+Plugin@{Decimater\+Plugin}}
\subsubsection{\texorpdfstring{slot\+Update\+Roundness}{slotUpdateRoundness}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Decimater\+Plugin\+::slot\+Update\+Roundness (\begin{DoxyParamCaption}\item[{int}]{\+\_\+value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



roundness slider -\/ spinbox sync 

sync between values of roundness slider and spinbox in the toolbox


\begin{DoxyParams}{Parameters}
{\em \+\_\+value} & new roundness value \\
\hline
\end{DoxyParams}


Definition at line 182 of file Decimater\+Plugin.\+cc.

\mbox{\Hypertarget{a10108_aaafb1d152fa0d08d5790de454c0306d8}\label{a10108_aaafb1d152fa0d08d5790de454c0306d8}} 
\index{Decimater\+Plugin@{Decimater\+Plugin}!slot\+Update\+Roundness@{slot\+Update\+Roundness}}
\index{slot\+Update\+Roundness@{slot\+Update\+Roundness}!Decimater\+Plugin@{Decimater\+Plugin}}
\subsubsection{\texorpdfstring{slot\+Update\+Roundness}{slotUpdateRoundness}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Decimater\+Plugin\+::slot\+Update\+Roundness (\begin{DoxyParamCaption}\item[{double}]{\+\_\+value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



sync between values of roundness slider and spinbox in the toolbox 


\begin{DoxyParams}{Parameters}
{\em \+\_\+value} & new roundness value \\
\hline
\end{DoxyParams}


Definition at line 205 of file Decimater\+Plugin.\+cc.



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