\hypertarget{classPrimitivesGeneratorPlugin}{}\section{Primitives\+Generator\+Plugin Class Reference}
\label{classPrimitivesGeneratorPlugin}\index{Primitives\+Generator\+Plugin@{Primitives\+Generator\+Plugin}}
Inheritance diagram for Primitives\+Generator\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=9.000000cm]{classPrimitivesGeneratorPlugin}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_ad01edb59e96a4c7a925527a038375e16}\label{classPrimitivesGeneratorPlugin_ad01edb59e96a4c7a925527a038375e16}} 
Q\+String {\bfseries version} ()
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a4c7d14a7c3f46a460d56380aa4876b82}\label{classPrimitivesGeneratorPlugin_a4c7d14a7c3f46a460d56380aa4876b82}} 
void {\bfseries update\+View} ()
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a6148c05f72b2fee5bda71c28dddc9387}\label{classPrimitivesGeneratorPlugin_a6148c05f72b2fee5bda71c28dddc9387}} 
void {\bfseries updated\+Object} (int \+\_\+id, const \hyperlink{classUpdateType}{Update\+Type} \&\+\_\+type)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a4629966643f9b0747a54718cd84226d1}\label{classPrimitivesGeneratorPlugin_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{classPrimitivesGeneratorPlugin_a1a1fbac67e01f5eda40d3aa84e14b999}\label{classPrimitivesGeneratorPlugin_a1a1fbac67e01f5eda40d3aa84e14b999}} 
void {\bfseries log} (\hyperlink{LoggingInterface_8hh_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_aa5c3636aa14b4d462f74e69967e90d8c}\label{classPrimitivesGeneratorPlugin_aa5c3636aa14b4d462f74e69967e90d8c}} 
void {\bfseries log} (Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a9d747ba80b43db3c7b046f98343e6379}\label{classPrimitivesGeneratorPlugin_a9d747ba80b43db3c7b046f98343e6379}} 
void {\bfseries get\+Menubar\+Menu} (Q\+String \+\_\+name, Q\+Menu $\ast$\&\+\_\+menu, bool \+\_\+create)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a3cf2beb2027840b607085d60d656774e}\label{classPrimitivesGeneratorPlugin_a3cf2beb2027840b607085d60d656774e}} 
void {\bfseries add\+Empty\+Object} (\hyperlink{classDataType}{Data\+Type} \+\_\+type, int \&\+\_\+id)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_aea020733da3ebf308aec365ed260f435}\label{classPrimitivesGeneratorPlugin_aea020733da3ebf308aec365ed260f435}} 
void {\bfseries create\+Backup} (int \+\_\+objectid, Q\+String \+\_\+name, \hyperlink{classUpdateType}{Update\+Type} \+\_\+type=\hyperlink{group__DefaultUpdateTypes_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL})
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{classPrimitivesGeneratorPlugin_a5c63aea78075945a29d874a17077e11e}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{classPrimitivesGeneratorPlugin_a44b42f415c1ad311a426805c6d12f110}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a1195017ca69c61b9c3d1b7fa6453850d}\label{classPrimitivesGeneratorPlugin_a1195017ca69c61b9c3d1b7fa6453850d}} 
int {\bfseries add\+Triangulated\+Cylinder} (const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+axis=\hyperlink{DataTypes_8hh_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{classPrimitivesGeneratorPlugin_ab785627039934e819b65cc1fece1b253}\label{classPrimitivesGeneratorPlugin_ab785627039934e819b65cc1fece1b253}} 
int {\bfseries add\+Sphere} (const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+radius=1.\+0)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a5cdeaeb43248f552095539addb5fea5b}\label{classPrimitivesGeneratorPlugin_a5cdeaeb43248f552095539addb5fea5b}} 
int {\bfseries add\+Subdivision\+Sphere} (const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+radius=1.\+0)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a32b3683e663123611734223f6545bfe2}\label{classPrimitivesGeneratorPlugin_a32b3683e663123611734223f6545bfe2}} 
int {\bfseries add\+Tetrahedron} (const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a6ff5f1ed017369d5269a51c514fbdc52}\label{classPrimitivesGeneratorPlugin_a6ff5f1ed017369d5269a51c514fbdc52}} 
int {\bfseries add\+Pyramid} (const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a4a674f0b8bb4871406a55e336eaf61fc}\label{classPrimitivesGeneratorPlugin_a4a674f0b8bb4871406a55e336eaf61fc}} 
int {\bfseries add\+Cube} (const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_afdf1a7fb96030ed53d2a2d6f6425e47f}\label{classPrimitivesGeneratorPlugin_afdf1a7fb96030ed53d2a2d6f6425e47f}} 
int {\bfseries add\+Triangulated\+Cube} (const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_ab0c4fa3b66d6fb0399858f88ffce91f6}\label{classPrimitivesGeneratorPlugin_ab0c4fa3b66d6fb0399858f88ffce91f6}} 
int {\bfseries add\+Icosahedron} (const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_aea4cc2bb73b53bcf1824e722cb0c320d}\label{classPrimitivesGeneratorPlugin_aea4cc2bb73b53bcf1824e722cb0c320d}} 
int {\bfseries add\+Octahedron} (const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a1f463d87984cecc2a0ecf27e02510398}\label{classPrimitivesGeneratorPlugin_a1f463d87984cecc2a0ecf27e02510398}} 
int {\bfseries add\+Dodecahedron} (const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)
\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_aaf78861ed7960426706bdbbefbb1c813}\label{classPrimitivesGeneratorPlugin_aaf78861ed7960426706bdbbefbb1c813}} 
void \hyperlink{classPrimitivesGeneratorPlugin_aaf78861ed7960426706bdbbefbb1c813}{initialize\+Plugin} ()
\begin{DoxyCompactList}\small\item\em \hyperlink{classBaseInterface}{Base\+Interface}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a82fd2b9b36385c44c0d9126cecd04767}\label{classPrimitivesGeneratorPlugin_a82fd2b9b36385c44c0d9126cecd04767}} 
void {\bfseries plugins\+Initialized} ()
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_af1970b695f123645d7cea966e45a4d68}\label{classPrimitivesGeneratorPlugin_af1970b695f123645d7cea966e45a4d68}} 
void \hyperlink{classPrimitivesGeneratorPlugin_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{classPrimitivesGeneratorPlugin_a03b348fa3c8230877c62500607b03d9b}\label{classPrimitivesGeneratorPlugin_a03b348fa3c8230877c62500607b03d9b}} 
int {\bfseries add\+Tri\+Mesh} ()
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_abd757e3c88f6dc20bd38245682df7063}\label{classPrimitivesGeneratorPlugin_abd757e3c88f6dc20bd38245682df7063}} 
int {\bfseries add\+Poly\+Mesh} ()
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a5dfef98d1b23707b3db918471e6d3323}\label{classPrimitivesGeneratorPlugin_a5dfef98d1b23707b3db918471e6d3323}} 
void {\bfseries construct\+Octahedron} (const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position, const double \+\_\+length)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_ad970d535e3cdd3f1aca4022f0f1beb8a}\label{classPrimitivesGeneratorPlugin_ad970d535e3cdd3f1aca4022f0f1beb8a}} 
void {\bfseries add\+\_\+face} (int \+\_\+vh1, int \+\_\+vh2, int \+\_\+vh3)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_aea458c07fde88118032b7c8c0e931d28}\label{classPrimitivesGeneratorPlugin_aea458c07fde88118032b7c8c0e931d28}} 
void {\bfseries add\+\_\+face} (int \+\_\+vh1, int \+\_\+vh2, int \+\_\+vh3, int \+\_\+vh4)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a7f3674f68591ef16f3ad39e3c3f3b43a}\label{classPrimitivesGeneratorPlugin_a7f3674f68591ef16f3ad39e3c3f3b43a}} 
void {\bfseries add\+\_\+face} (int \+\_\+vh1, int \+\_\+vh2, int \+\_\+vh3, int \+\_\+vh4, int \+\_\+vh5)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_aba3b37bf8c08cf4118fe94520a9dbd50}\label{classPrimitivesGeneratorPlugin_aba3b37bf8c08cf4118fe94520a9dbd50}} 
\hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries position\+On\+Cylinder} (const int \+\_\+slice\+Number, const int \+\_\+stack\+Number, const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \+\_\+position, const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \+\_\+axis, const double \+\_\+radius, const double \+\_\+height)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_ab7183f68c3518b0b8daa8cdc80e6c269}\label{classPrimitivesGeneratorPlugin_ab7183f68c3518b0b8daa8cdc80e6c269}} 
\hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries position\+On\+Sphere} (int \+\_\+slice\+Number, int \+\_\+stack\+Number, const double \+\_\+radius, const \hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position)
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a9e1e88099ce1e4d5752f84a42fb2e74d}\label{classPrimitivesGeneratorPlugin_a9e1e88099ce1e4d5752f84a42fb2e74d}} 
\hyperlink{namespaceACG_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{classPrimitivesGeneratorPlugin_a83e2676f534b3deea848549e86fcaefc}\label{classPrimitivesGeneratorPlugin_a83e2676f534b3deea848549e86fcaefc}} 
std\+::vector$<$ Tri\+Mesh\+::\+Vertex\+Handle $>$ {\bfseries vhandles\+\_\+}
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_ae8c17ffe1524804a55bd2fe7cf004359}\label{classPrimitivesGeneratorPlugin_ae8c17ffe1524804a55bd2fe7cf004359}} 
std\+::vector$<$ \hyperlink{classOpenMesh_1_1PolyMeshT_a0fc18e13d70825938274e3faf7b55e01}{Poly\+Mesh\+::\+Vertex\+Handle} $>$ {\bfseries vphandles\+\_\+}
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a0beb971cfdbe72ebda5f24a5b2fe367e}\label{classPrimitivesGeneratorPlugin_a0beb971cfdbe72ebda5f24a5b2fe367e}} 
\hyperlink{TriangleMeshTypes_8hh_a1e692d019e1d7c032c1de2e68b838ad6}{Tri\+Mesh} $\ast$ {\bfseries tri\+Mesh\+\_\+}
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_ae9568583d1d5208bde85a313d3cbe526}\label{classPrimitivesGeneratorPlugin_ae9568583d1d5208bde85a313d3cbe526}} 
\hyperlink{PolyMeshTypes_8hh_ad87c228a508145078730fee01fb41ba8}{Poly\+Mesh} $\ast$ {\bfseries poly\+Mesh\+\_\+}
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a440acbc958765614cc9fbabee1f6cbcb}\label{classPrimitivesGeneratorPlugin_a440acbc958765614cc9fbabee1f6cbcb}} 
int {\bfseries slices\+\_\+}
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a8e241504b7087ed2e9f3b5ef559f3131}\label{classPrimitivesGeneratorPlugin_a8e241504b7087ed2e9f3b5ef559f3131}} 
int {\bfseries stacks\+\_\+}
\item 
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_aa0ce6a90f6da3719a62418dba5d4a5ba}\label{classPrimitivesGeneratorPlugin_aa0ce6a90f6da3719a62418dba5d4a5ba}} 
Q\+Menu $\ast$ {\bfseries primitives\+Menu\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a44b42f415c1ad311a426805c6d12f110}\label{classPrimitivesGeneratorPlugin_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{classBaseInterface_a43f0d3612695b53c848c14f48fea9a7a}{Base\+Interface}.



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

\mbox{\Hypertarget{classPrimitivesGeneratorPlugin_a5c63aea78075945a29d874a17077e11e}\label{classPrimitivesGeneratorPlugin_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{classBaseInterface_a2b351aa6ef0eb368bce735e243235958}{Base\+Interface}.



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