\hypertarget{a01014}{\section{Primitives\+Generator\+Plugin Class Reference}
\label{a01014}\index{Primitives\+Generator\+Plugin@{Primitives\+Generator\+Plugin}}
}
Inheritance diagram for Primitives\+Generator\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=0.963855cm]{a01014}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01014_ad01edb59e96a4c7a925527a038375e16}{Q\+String {\bfseries version} ()}\label{a01014_ad01edb59e96a4c7a925527a038375e16}

\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01014_a4c7d14a7c3f46a460d56380aa4876b82}{void {\bfseries update\+View} ()}\label{a01014_a4c7d14a7c3f46a460d56380aa4876b82}

\item 
\hypertarget{a01014_a6148c05f72b2fee5bda71c28dddc9387}{void {\bfseries updated\+Object} (int \+\_\+id, const \hyperlink{a01393}{Update\+Type} \&\+\_\+type)}\label{a01014_a6148c05f72b2fee5bda71c28dddc9387}

\item 
\hypertarget{a01014_a4629966643f9b0747a54718cd84226d1}{void {\bfseries set\+Slot\+Description} (Q\+String \+\_\+slot\+Name, Q\+String \+\_\+slot\+Description, Q\+String\+List \+\_\+parameters, Q\+String\+List \+\_\+descriptions)}\label{a01014_a4629966643f9b0747a54718cd84226d1}

\item 
\hypertarget{a01014_a1a1fbac67e01f5eda40d3aa84e14b999}{void {\bfseries log} (\hyperlink{a02444_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)}\label{a01014_a1a1fbac67e01f5eda40d3aa84e14b999}

\item 
\hypertarget{a01014_aa5c3636aa14b4d462f74e69967e90d8c}{void {\bfseries log} (Q\+String \+\_\+message)}\label{a01014_aa5c3636aa14b4d462f74e69967e90d8c}

\item 
\hypertarget{a01014_a9d747ba80b43db3c7b046f98343e6379}{void {\bfseries get\+Menubar\+Menu} (Q\+String \+\_\+name, Q\+Menu $\ast$\&\+\_\+menu, bool \+\_\+create)}\label{a01014_a9d747ba80b43db3c7b046f98343e6379}

\item 
\hypertarget{a01014_a3cf2beb2027840b607085d60d656774e}{void {\bfseries add\+Empty\+Object} (\hyperlink{a00477}{Data\+Type} \+\_\+type, int \&\+\_\+id)}\label{a01014_a3cf2beb2027840b607085d60d656774e}

\item 
\hypertarget{a01014_aea020733da3ebf308aec365ed260f435}{void {\bfseries create\+Backup} (int \+\_\+objectid, Q\+String \+\_\+name, \hyperlink{a01393}{Update\+Type} \+\_\+type=\hyperlink{a03407_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+L\+L})}\label{a01014_aea020733da3ebf308aec365ed260f435}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{a01014_a5c63aea78075945a29d874a17077e11e}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a01014_a44b42f415c1ad311a426805c6d12f110}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\item 
\hypertarget{a01014_a1195017ca69c61b9c3d1b7fa6453850d}{int {\bfseries add\+Triangulated\+Cylinder} (const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+axis=\hyperlink{a02488_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)}\label{a01014_a1195017ca69c61b9c3d1b7fa6453850d}

\item 
\hypertarget{a01014_ab785627039934e819b65cc1fece1b253}{int {\bfseries add\+Sphere} (const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+radius=1.\+0)}\label{a01014_ab785627039934e819b65cc1fece1b253}

\item 
\hypertarget{a01014_a5cdeaeb43248f552095539addb5fea5b}{int {\bfseries add\+Subdivision\+Sphere} (const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+radius=1.\+0)}\label{a01014_a5cdeaeb43248f552095539addb5fea5b}

\item 
\hypertarget{a01014_a32b3683e663123611734223f6545bfe2}{int {\bfseries add\+Tetrahedron} (const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)}\label{a01014_a32b3683e663123611734223f6545bfe2}

\item 
\hypertarget{a01014_a6ff5f1ed017369d5269a51c514fbdc52}{int {\bfseries add\+Pyramid} (const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)}\label{a01014_a6ff5f1ed017369d5269a51c514fbdc52}

\item 
\hypertarget{a01014_afdf1a7fb96030ed53d2a2d6f6425e47f}{int {\bfseries add\+Triangulated\+Cube} (const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)}\label{a01014_afdf1a7fb96030ed53d2a2d6f6425e47f}

\item 
\hypertarget{a01014_ab0c4fa3b66d6fb0399858f88ffce91f6}{int {\bfseries add\+Icosahedron} (const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)}\label{a01014_ab0c4fa3b66d6fb0399858f88ffce91f6}

\item 
\hypertarget{a01014_aea4cc2bb73b53bcf1824e722cb0c320d}{int {\bfseries add\+Octahedron} (const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)}\label{a01014_aea4cc2bb73b53bcf1824e722cb0c320d}

\item 
\hypertarget{a01014_a1f463d87984cecc2a0ecf27e02510398}{int {\bfseries add\+Dodecahedron} (const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position=\hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}(0.\+0, 0.\+0, 0.\+0), const double \+\_\+length=2.\+0)}\label{a01014_a1f463d87984cecc2a0ecf27e02510398}

\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01014_aaf78861ed7960426706bdbbefbb1c813}{void \hyperlink{a01014_aaf78861ed7960426706bdbbefbb1c813}{initialize\+Plugin} ()}\label{a01014_aaf78861ed7960426706bdbbefbb1c813}

\begin{DoxyCompactList}\small\item\em \hyperlink{a00322}{Base\+Interface}. \end{DoxyCompactList}\item 
\hypertarget{a01014_a82fd2b9b36385c44c0d9126cecd04767}{void {\bfseries plugins\+Initialized} ()}\label{a01014_a82fd2b9b36385c44c0d9126cecd04767}

\item 
\hypertarget{a01014_af1970b695f123645d7cea966e45a4d68}{void \hyperlink{a01014_af1970b695f123645d7cea966e45a4d68}{nogui\+Supported} ()}\label{a01014_af1970b695f123645d7cea966e45a4d68}

\begin{DoxyCompactList}\small\item\em Tell system that this plugin runs without ui. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01014_a03b348fa3c8230877c62500607b03d9b}{int {\bfseries add\+Tri\+Mesh} ()}\label{a01014_a03b348fa3c8230877c62500607b03d9b}

\item 
\hypertarget{a01014_abd757e3c88f6dc20bd38245682df7063}{int {\bfseries add\+Poly\+Mesh} ()}\label{a01014_abd757e3c88f6dc20bd38245682df7063}

\item 
\hypertarget{a01014_a5dfef98d1b23707b3db918471e6d3323}{void {\bfseries construct\+Octahedron} (const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position, const double \+\_\+length)}\label{a01014_a5dfef98d1b23707b3db918471e6d3323}

\item 
\hypertarget{a01014_ad970d535e3cdd3f1aca4022f0f1beb8a}{void {\bfseries add\+\_\+face} (int \+\_\+vh1, int \+\_\+vh2, int \+\_\+vh3)}\label{a01014_ad970d535e3cdd3f1aca4022f0f1beb8a}

\item 
\hypertarget{a01014_a7f3674f68591ef16f3ad39e3c3f3b43a}{void {\bfseries add\+\_\+face} (int \+\_\+vh1, int \+\_\+vh2, int \+\_\+vh3, int \+\_\+vh4, int \+\_\+vh5)}\label{a01014_a7f3674f68591ef16f3ad39e3c3f3b43a}

\item 
\hypertarget{a01014_aba3b37bf8c08cf4118fe94520a9dbd50}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries position\+On\+Cylinder} (const int \+\_\+slice\+Number, const int \+\_\+stack\+Number, const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \+\_\+position, const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \+\_\+axis, const double \+\_\+radius, const double \+\_\+height)}\label{a01014_aba3b37bf8c08cf4118fe94520a9dbd50}

\item 
\hypertarget{a01014_ab7183f68c3518b0b8daa8cdc80e6c269}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries position\+On\+Sphere} (int \+\_\+slice\+Number, int \+\_\+stack\+Number, const double \+\_\+radius, const \hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \&\+\_\+position)}\label{a01014_ab7183f68c3518b0b8daa8cdc80e6c269}

\item 
\hypertarget{a01014_a9e1e88099ce1e4d5752f84a42fb2e74d}{\hyperlink{a03336_a8b858737aebd55e312149cf208a0b3f3}{A\+C\+G\+::\+Vec2f} {\bfseries tex\+Coord\+On\+Sphere} (int \+\_\+slice\+Number, int \+\_\+stack\+Number)}\label{a01014_a9e1e88099ce1e4d5752f84a42fb2e74d}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01014_a83e2676f534b3deea848549e86fcaefc}{std\+::vector\\*
$<$ Tri\+Mesh\+::\+Vertex\+Handle $>$ {\bfseries vhandles\+\_\+}}\label{a01014_a83e2676f534b3deea848549e86fcaefc}

\item 
\hypertarget{a01014_ae8c17ffe1524804a55bd2fe7cf004359}{std\+::vector\\*
$<$ Poly\+Mesh\+::\+Vertex\+Handle $>$ {\bfseries vphandles\+\_\+}}\label{a01014_ae8c17ffe1524804a55bd2fe7cf004359}

\item 
\hypertarget{a01014_a0beb971cfdbe72ebda5f24a5b2fe367e}{\hyperlink{a02425_a41cbba34c91d41c5325cc019b097ad91}{Tri\+Mesh} $\ast$ {\bfseries tri\+Mesh\+\_\+}}\label{a01014_a0beb971cfdbe72ebda5f24a5b2fe367e}

\item 
\hypertarget{a01014_ae9568583d1d5208bde85a313d3cbe526}{\hyperlink{a02347_a6f3eb4ad4fc6f95326b848d821958f35}{Poly\+Mesh} $\ast$ {\bfseries poly\+Mesh\+\_\+}}\label{a01014_ae9568583d1d5208bde85a313d3cbe526}

\item 
\hypertarget{a01014_a440acbc958765614cc9fbabee1f6cbcb}{int {\bfseries slices\+\_\+}}\label{a01014_a440acbc958765614cc9fbabee1f6cbcb}

\item 
\hypertarget{a01014_a8e241504b7087ed2e9f3b5ef559f3131}{int {\bfseries stacks\+\_\+}}\label{a01014_a8e241504b7087ed2e9f3b5ef559f3131}

\item 
\hypertarget{a01014_aa0ce6a90f6da3719a62418dba5d4a5ba}{Q\+Menu $\ast$ {\bfseries primitives\+Menu\+\_\+}}\label{a01014_aa0ce6a90f6da3719a62418dba5d4a5ba}

\end{DoxyCompactItemize}


\subsection{Detailed Description}


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



\subsection{Member Function Documentation}
\hypertarget{a01014_a44b42f415c1ad311a426805c6d12f110}{\index{Primitives\+Generator\+Plugin@{Primitives\+Generator\+Plugin}!description@{description}}
\index{description@{description}!Primitives\+Generator\+Plugin@{Primitives\+Generator\+Plugin}}
\subsubsection[{description}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Primitives\+Generator\+Plugin\+::description (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01014_a44b42f415c1ad311a426805c6d12f110}


Return a description of what the plugin is doing. 

This function has to return a basic description of the plugin 

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



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

\hypertarget{a01014_a5c63aea78075945a29d874a17077e11e}{\index{Primitives\+Generator\+Plugin@{Primitives\+Generator\+Plugin}!name@{name}}
\index{name@{name}!Primitives\+Generator\+Plugin@{Primitives\+Generator\+Plugin}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Primitives\+Generator\+Plugin\+::name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01014_a5c63aea78075945a29d874a17077e11e}


Return a name for the plugin. 

This Function has to return the name of the plugin. 

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



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