\hypertarget{a11384}{}\section{Type\+Poly\+Mesh\+Plugin Class Reference}
\label{a11384}\index{Type\+Poly\+Mesh\+Plugin@{Type\+Poly\+Mesh\+Plugin}}
Inheritance diagram for Type\+Poly\+Mesh\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.611511cm]{a11384}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11384_aa52d63cd2812caee374cebb78ebc4594}\label{a11384_aa52d63cd2812caee374cebb78ebc4594}} 
Q\+String {\bfseries version} ()
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11384_ae88a34082943e80215ce4423c64862ee}\label{a11384_ae88a34082943e80215ce4423c64862ee}} 
void {\bfseries log} (\hyperlink{a00035_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{a11384_a7848b8687a1edf2b722c61ba44dae851}\label{a11384_a7848b8687a1edf2b722c61ba44dae851}} 
void {\bfseries log} (Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{a11384_ae8f35f7ce799bc39935abbdc0e74ff12}\label{a11384_ae8f35f7ce799bc39935abbdc0e74ff12}} 
void {\bfseries empty\+Object\+Added} (int \+\_\+id)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{a11384_aff2d2b5779370cdf15ec72be1ebbc130}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a11384_a4b4badc4c24c26604e6928720c700e0e}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11384_a81164b36b0eb1ddf97573d572f328ecd}\label{a11384_a81164b36b0eb1ddf97573d572f328ecd}} 
bool {\bfseries register\+Type} ()
\item 
int \hyperlink{a11384_a57c00caf3624fe837de8cd90fc564c21}{add\+Empty} ()
\begin{DoxyCompactList}\small\item\em Create an empty object. \end{DoxyCompactList}\item 
\hyperlink{a07048}{Data\+Type} \hyperlink{a11384_a5305d369a087045a3bef51fede4b6b42}{supported\+Type} ()
\begin{DoxyCompactList}\small\item\em Return your supported object type( e.\+g. D\+A\+T\+A\+\_\+\+T\+R\+I\+A\+N\+G\+L\+E\+\_\+\+M\+E\+SH ) \end{DoxyCompactList}\item 
void \hyperlink{a11384_ad19895dd975b28df700f3dad3b9e0518}{generate\+Backup} (int \+\_\+id, Q\+String \+\_\+name, \hyperlink{a07096}{Update\+Type} \+\_\+type)
\begin{DoxyCompactList}\small\item\em This slot should be implemented in a Type\+Plugin to generate type specific backups. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11384_a108b8232674adf97033cc83cd4cb9d5d}\label{a11384_a108b8232674adf97033cc83cd4cb9d5d}} 
void {\bfseries nogui\+Supported} ()
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 60 of file Type\+Poly\+Mesh.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a11384_a57c00caf3624fe837de8cd90fc564c21}\label{a11384_a57c00caf3624fe837de8cd90fc564c21}} 
\index{Type\+Poly\+Mesh\+Plugin@{Type\+Poly\+Mesh\+Plugin}!add\+Empty@{add\+Empty}}
\index{add\+Empty@{add\+Empty}!Type\+Poly\+Mesh\+Plugin@{Type\+Poly\+Mesh\+Plugin}}
\subsubsection{\texorpdfstring{add\+Empty()}{addEmpty()}}
{\footnotesize\ttfamily int Type\+Poly\+Mesh\+Plugin\+::add\+Empty (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Create an empty object. 

When this slot is called you have to create an object of your supported type. \begin{DoxyReturn}{Returns}
Id of the new Object 
\end{DoxyReturn}


Implements \hyperlink{a07012_a50b2bfa5db5ff3ce6f3e8cc8e40260f0}{Type\+Interface}.



Definition at line 68 of file Type\+Poly\+Mesh.\+cc.

\mbox{\Hypertarget{a11384_a4b4badc4c24c26604e6928720c700e0e}\label{a11384_a4b4badc4c24c26604e6928720c700e0e}} 
\index{Type\+Poly\+Mesh\+Plugin@{Type\+Poly\+Mesh\+Plugin}!description@{description}}
\index{description@{description}!Type\+Poly\+Mesh\+Plugin@{Type\+Poly\+Mesh\+Plugin}}
\subsubsection{\texorpdfstring{description()}{description()}}
{\footnotesize\ttfamily Q\+String Type\+Poly\+Mesh\+Plugin\+::description (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Return a description of what the plugin is doing. 

This function has to return a basic description of the plugin 

Implements \hyperlink{a06872_a43f0d3612695b53c848c14f48fea9a7a}{Base\+Interface}.



Definition at line 88 of file Type\+Poly\+Mesh.\+hh.

\mbox{\Hypertarget{a11384_ad19895dd975b28df700f3dad3b9e0518}\label{a11384_ad19895dd975b28df700f3dad3b9e0518}} 
\index{Type\+Poly\+Mesh\+Plugin@{Type\+Poly\+Mesh\+Plugin}!generate\+Backup@{generate\+Backup}}
\index{generate\+Backup@{generate\+Backup}!Type\+Poly\+Mesh\+Plugin@{Type\+Poly\+Mesh\+Plugin}}
\subsubsection{\texorpdfstring{generate\+Backup()}{generateBackup()}}
{\footnotesize\ttfamily void Type\+Poly\+Mesh\+Plugin\+::generate\+Backup (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{Q\+String}]{\+\_\+name,  }\item[{\hyperlink{a07096}{Update\+Type}}]{\+\_\+type }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



This slot should be implemented in a Type\+Plugin to generate type specific backups. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the added object \\
\hline
{\em \+\_\+name} & name of the backup \\
\hline
{\em \+\_\+type} & the type of backup that needs to be done \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{a07012_a93656bd18b755dcaa2eb9ad953e4a516}{Type\+Interface}.



Definition at line 108 of file Type\+Poly\+Mesh.\+cc.

\mbox{\Hypertarget{a11384_aff2d2b5779370cdf15ec72be1ebbc130}\label{a11384_aff2d2b5779370cdf15ec72be1ebbc130}} 
\index{Type\+Poly\+Mesh\+Plugin@{Type\+Poly\+Mesh\+Plugin}!name@{name}}
\index{name@{name}!Type\+Poly\+Mesh\+Plugin@{Type\+Poly\+Mesh\+Plugin}}
\subsubsection{\texorpdfstring{name()}{name()}}
{\footnotesize\ttfamily Q\+String Type\+Poly\+Mesh\+Plugin\+::name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Return a name for the plugin. 

This Function has to return the name of the plugin. 

Implements \hyperlink{a06872_a2b351aa6ef0eb368bce735e243235958}{Base\+Interface}.



Definition at line 87 of file Type\+Poly\+Mesh.\+hh.

\mbox{\Hypertarget{a11384_a5305d369a087045a3bef51fede4b6b42}\label{a11384_a5305d369a087045a3bef51fede4b6b42}} 
\index{Type\+Poly\+Mesh\+Plugin@{Type\+Poly\+Mesh\+Plugin}!supported\+Type@{supported\+Type}}
\index{supported\+Type@{supported\+Type}!Type\+Poly\+Mesh\+Plugin@{Type\+Poly\+Mesh\+Plugin}}
\subsubsection{\texorpdfstring{supported\+Type()}{supportedType()}}
{\footnotesize\ttfamily \hyperlink{a07048}{Data\+Type} Type\+Poly\+Mesh\+Plugin\+::supported\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Return your supported object type( e.\+g. D\+A\+T\+A\+\_\+\+T\+R\+I\+A\+N\+G\+L\+E\+\_\+\+M\+E\+SH ) 

The function is used from add\+Empty in the core to check if your plugin can create an object of a given data\+Type. If so, your add\+Empty function will be invoked to create it. 

Implements \hyperlink{a07012_a05736f72d3220fbd4152e902b0fa7756}{Type\+Interface}.



Definition at line 99 of file Type\+Poly\+Mesh.\+hh.



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