\hypertarget{a10320}{}\section{Primitives\+Generator\+Plugin Class Reference}
\label{a10320}\index{Primitives\+Generator\+Plugin@{Primitives\+Generator\+Plugin}}
Inheritance diagram for Primitives\+Generator\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=0.963855cm]{a10320}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10320_ad01edb59e96a4c7a925527a038375e16}\label{a10320_ad01edb59e96a4c7a925527a038375e16}} 
Q\+String {\bfseries version} ()
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10320_a4c7d14a7c3f46a460d56380aa4876b82}\label{a10320_a4c7d14a7c3f46a460d56380aa4876b82}} 
void {\bfseries update\+View} ()
\item 
\mbox{\Hypertarget{a10320_a6148c05f72b2fee5bda71c28dddc9387}\label{a10320_a6148c05f72b2fee5bda71c28dddc9387}} 
void {\bfseries updated\+Object} (int \+\_\+id, const \hyperlink{a07096}{Update\+Type} \&\+\_\+type)
\item 
\mbox{\Hypertarget{a10320_a4629966643f9b0747a54718cd84226d1}\label{a10320_a4629966643f9b0747a54718cd84226d1}} 
void {\bfseries set\+Slot\+Description} (Q\+String \+\_\+slot\+Name, Q\+String \+\_\+slot\+Description, Q\+String\+List \+\_\+parameters, Q\+String\+List \+\_\+descriptions)
\item 
\mbox{\Hypertarget{a10320_a1a1fbac67e01f5eda40d3aa84e14b999}\label{a10320_a1a1fbac67e01f5eda40d3aa84e14b999}} 
void {\bfseries log} (\hyperlink{a00035_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{a10320_aa5c3636aa14b4d462f74e69967e90d8c}\label{a10320_aa5c3636aa14b4d462f74e69967e90d8c}} 
void {\bfseries log} (Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{a10320_a9d747ba80b43db3c7b046f98343e6379}\label{a10320_a9d747ba80b43db3c7b046f98343e6379}} 
void {\bfseries get\+Menubar\+Menu} (Q\+String \+\_\+name, Q\+Menu $\ast$\&\+\_\+menu, bool \+\_\+create)
\item 
\mbox{\Hypertarget{a10320_a3cf2beb2027840b607085d60d656774e}\label{a10320_a3cf2beb2027840b607085d60d656774e}} 
void {\bfseries add\+Empty\+Object} (\hyperlink{a07048}{Data\+Type} \+\_\+type, int \&\+\_\+id)
\item 
\mbox{\Hypertarget{a10320_aea020733da3ebf308aec365ed260f435}\label{a10320_aea020733da3ebf308aec365ed260f435}} 
void {\bfseries create\+Backup} (int \+\_\+objectid, Q\+String \+\_\+name, \hyperlink{a07096}{Update\+Type} \+\_\+type=\hyperlink{a06166_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL})
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{a10320_a5c63aea78075945a29d874a17077e11e}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a10320_a44b42f415c1ad311a426805c6d12f110}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10320_a1195017ca69c61b9c3d1b7fa6453850d}\label{a10320_a1195017ca69c61b9c3d1b7fa6453850d}} 
int {\bfseries add\+Triangulated\+Cylinder} (const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+axis=\hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 1.\+0), const double \+\_\+radius=1.\+0, const double \+\_\+height=5.\+0, const bool \+\_\+top=true, const bool \+\_\+bottom=true)
\item 
\mbox{\Hypertarget{a10320_ab785627039934e819b65cc1fece1b253}\label{a10320_ab785627039934e819b65cc1fece1b253}} 
int {\bfseries add\+Sphere} (const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+radius=1.\+0)
\item 
\mbox{\Hypertarget{a10320_a5cdeaeb43248f552095539addb5fea5b}\label{a10320_a5cdeaeb43248f552095539addb5fea5b}} 
int {\bfseries add\+Subdivision\+Sphere} (const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+radius=1.\+0)
\item 
\mbox{\Hypertarget{a10320_a32b3683e663123611734223f6545bfe2}\label{a10320_a32b3683e663123611734223f6545bfe2}} 
int {\bfseries add\+Tetrahedron} (const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\item 
\mbox{\Hypertarget{a10320_a6ff5f1ed017369d5269a51c514fbdc52}\label{a10320_a6ff5f1ed017369d5269a51c514fbdc52}} 
int {\bfseries add\+Pyramid} (const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\item 
\mbox{\Hypertarget{a10320_a4a674f0b8bb4871406a55e336eaf61fc}\label{a10320_a4a674f0b8bb4871406a55e336eaf61fc}} 
int {\bfseries add\+Cube} (const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\item 
\mbox{\Hypertarget{a10320_afdf1a7fb96030ed53d2a2d6f6425e47f}\label{a10320_afdf1a7fb96030ed53d2a2d6f6425e47f}} 
int {\bfseries add\+Triangulated\+Cube} (const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\item 
\mbox{\Hypertarget{a10320_ab0c4fa3b66d6fb0399858f88ffce91f6}\label{a10320_ab0c4fa3b66d6fb0399858f88ffce91f6}} 
int {\bfseries add\+Icosahedron} (const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\item 
\mbox{\Hypertarget{a10320_aea4cc2bb73b53bcf1824e722cb0c320d}\label{a10320_aea4cc2bb73b53bcf1824e722cb0c320d}} 
int {\bfseries add\+Octahedron} (const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\item 
\mbox{\Hypertarget{a10320_a1f463d87984cecc2a0ecf27e02510398}\label{a10320_a1f463d87984cecc2a0ecf27e02510398}} 
int {\bfseries add\+Dodecahedron} (const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10320_aaf78861ed7960426706bdbbefbb1c813}\label{a10320_aaf78861ed7960426706bdbbefbb1c813}} 
void \hyperlink{a10320_aaf78861ed7960426706bdbbefbb1c813}{initialize\+Plugin} ()
\begin{DoxyCompactList}\small\item\em \hyperlink{a06872}{Base\+Interface}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10320_a82fd2b9b36385c44c0d9126cecd04767}\label{a10320_a82fd2b9b36385c44c0d9126cecd04767}} 
void {\bfseries plugins\+Initialized} ()
\item 
\mbox{\Hypertarget{a10320_af1970b695f123645d7cea966e45a4d68}\label{a10320_af1970b695f123645d7cea966e45a4d68}} 
void \hyperlink{a10320_af1970b695f123645d7cea966e45a4d68}{nogui\+Supported} ()
\begin{DoxyCompactList}\small\item\em Tell system that this plugin runs without ui. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10320_a03b348fa3c8230877c62500607b03d9b}\label{a10320_a03b348fa3c8230877c62500607b03d9b}} 
int {\bfseries add\+Tri\+Mesh} ()
\item 
\mbox{\Hypertarget{a10320_abd757e3c88f6dc20bd38245682df7063}\label{a10320_abd757e3c88f6dc20bd38245682df7063}} 
int {\bfseries add\+Poly\+Mesh} ()
\item 
\mbox{\Hypertarget{a10320_a5dfef98d1b23707b3db918471e6d3323}\label{a10320_a5dfef98d1b23707b3db918471e6d3323}} 
void {\bfseries construct\+Octahedron} (const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position, const double \+\_\+length)
\item 
\mbox{\Hypertarget{a10320_ad970d535e3cdd3f1aca4022f0f1beb8a}\label{a10320_ad970d535e3cdd3f1aca4022f0f1beb8a}} 
void {\bfseries add\+\_\+face} (int \+\_\+vh1, int \+\_\+vh2, int \+\_\+vh3)
\item 
\mbox{\Hypertarget{a10320_aea458c07fde88118032b7c8c0e931d28}\label{a10320_aea458c07fde88118032b7c8c0e931d28}} 
void {\bfseries add\+\_\+face} (int \+\_\+vh1, int \+\_\+vh2, int \+\_\+vh3, int \+\_\+vh4)
\item 
\mbox{\Hypertarget{a10320_a7f3674f68591ef16f3ad39e3c3f3b43a}\label{a10320_a7f3674f68591ef16f3ad39e3c3f3b43a}} 
void {\bfseries add\+\_\+face} (int \+\_\+vh1, int \+\_\+vh2, int \+\_\+vh3, int \+\_\+vh4, int \+\_\+vh5)
\item 
\mbox{\Hypertarget{a10320_aba3b37bf8c08cf4118fe94520a9dbd50}\label{a10320_aba3b37bf8c08cf4118fe94520a9dbd50}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries position\+On\+Cylinder} (const int \+\_\+slice\+Number, const int \+\_\+stack\+Number, const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \+\_\+position, const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \+\_\+axis, const double \+\_\+radius, const double \+\_\+height)
\item 
\mbox{\Hypertarget{a10320_ab7183f68c3518b0b8daa8cdc80e6c269}\label{a10320_ab7183f68c3518b0b8daa8cdc80e6c269}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries position\+On\+Sphere} (int \+\_\+slice\+Number, int \+\_\+stack\+Number, const double \+\_\+radius, const \hyperlink{a00188_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position)
\item 
\mbox{\Hypertarget{a10320_a9e1e88099ce1e4d5752f84a42fb2e74d}\label{a10320_a9e1e88099ce1e4d5752f84a42fb2e74d}} 
\hyperlink{a06176_a8b858737aebd55e312149cf208a0b3f3}{A\+C\+G\+::\+Vec2f} {\bfseries tex\+Coord\+On\+Sphere} (int \+\_\+slice\+Number, int \+\_\+stack\+Number)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10320_a83e2676f534b3deea848549e86fcaefc}\label{a10320_a83e2676f534b3deea848549e86fcaefc}} 
std\+::vector$<$ Tri\+Mesh\+::\+Vertex\+Handle $>$ {\bfseries vhandles\+\_\+}
\item 
\mbox{\Hypertarget{a10320_ae8c17ffe1524804a55bd2fe7cf004359}\label{a10320_ae8c17ffe1524804a55bd2fe7cf004359}} 
std\+::vector$<$ Poly\+Mesh\+::\+Vertex\+Handle $>$ {\bfseries vphandles\+\_\+}
\item 
\mbox{\Hypertarget{a10320_a0beb971cfdbe72ebda5f24a5b2fe367e}\label{a10320_a0beb971cfdbe72ebda5f24a5b2fe367e}} 
\hyperlink{a05024_a41cbba34c91d41c5325cc019b097ad91}{Tri\+Mesh} $\ast$ {\bfseries tri\+Mesh\+\_\+}
\item 
\mbox{\Hypertarget{a10320_ae9568583d1d5208bde85a313d3cbe526}\label{a10320_ae9568583d1d5208bde85a313d3cbe526}} 
\hyperlink{a05006_a6f3eb4ad4fc6f95326b848d821958f35}{Poly\+Mesh} $\ast$ {\bfseries poly\+Mesh\+\_\+}
\item 
\mbox{\Hypertarget{a10320_a440acbc958765614cc9fbabee1f6cbcb}\label{a10320_a440acbc958765614cc9fbabee1f6cbcb}} 
int {\bfseries slices\+\_\+}
\item 
\mbox{\Hypertarget{a10320_a8e241504b7087ed2e9f3b5ef559f3131}\label{a10320_a8e241504b7087ed2e9f3b5ef559f3131}} 
int {\bfseries stacks\+\_\+}
\item 
\mbox{\Hypertarget{a10320_aa0ce6a90f6da3719a62418dba5d4a5ba}\label{a10320_aa0ce6a90f6da3719a62418dba5d4a5ba}} 
Q\+Menu $\ast$ {\bfseries primitives\+Menu\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 62 of file Primitives\+Generator.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a10320_a44b42f415c1ad311a426805c6d12f110}\label{a10320_a44b42f415c1ad311a426805c6d12f110}} 
\index{Primitives\+Generator\+Plugin@{Primitives\+Generator\+Plugin}!description@{description}}
\index{description@{description}!Primitives\+Generator\+Plugin@{Primitives\+Generator\+Plugin}}
\subsubsection{\texorpdfstring{description()}{description()}}
{\footnotesize\ttfamily Q\+String Primitives\+Generator\+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 100 of file Primitives\+Generator.\+hh.

\mbox{\Hypertarget{a10320_a5c63aea78075945a29d874a17077e11e}\label{a10320_a5c63aea78075945a29d874a17077e11e}} 
\index{Primitives\+Generator\+Plugin@{Primitives\+Generator\+Plugin}!name@{name}}
\index{name@{name}!Primitives\+Generator\+Plugin@{Primitives\+Generator\+Plugin}}
\subsubsection{\texorpdfstring{name()}{name()}}
{\footnotesize\ttfamily Q\+String Primitives\+Generator\+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 99 of file Primitives\+Generator.\+hh.



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