\hypertarget{a11288}{}\section{Type\+B\+Spline\+Surface\+Plugin Class Reference}
\label{a11288}\index{Type\+B\+Spline\+Surface\+Plugin@{Type\+B\+Spline\+Surface\+Plugin}}
Inheritance diagram for Type\+B\+Spline\+Surface\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.091618cm]{a11288}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11288_a289f22678f2e76773e38d038eda4d501}\label{a11288_a289f22678f2e76773e38d038eda4d501}} 
Q\+String {\bfseries version} ()
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11288_a8bd9fc72ae81a6548840c85867f66900}\label{a11288_a8bd9fc72ae81a6548840c85867f66900}} 
void {\bfseries log} (\hyperlink{a00035_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{a11288_a746aa84a2380ad46436ffcc3a11aaae5}\label{a11288_a746aa84a2380ad46436ffcc3a11aaae5}} 
void {\bfseries log} (Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{a11288_aef60fac4f2e0271f56470d359eb4a39d}\label{a11288_aef60fac4f2e0271f56470d359eb4a39d}} 
void {\bfseries empty\+Object\+Added} (int \+\_\+id)
\item 
\mbox{\Hypertarget{a11288_a4eaa8517ad3937ccc1499e97e56a4ca6}\label{a11288_a4eaa8517ad3937ccc1499e97e56a4ca6}} 
void {\bfseries add\+Context\+Menu\+Item} (Q\+Action $\ast$\+\_\+action, \hyperlink{a00017_a238952a111d7daede783625350d7b287}{Context\+Menu\+Type} \+\_\+type)
\item 
\mbox{\Hypertarget{a11288_ab560ff3ae536d83e2a2fb27e041b0ac6}\label{a11288_ab560ff3ae536d83e2a2fb27e041b0ac6}} 
void {\bfseries add\+Context\+Menu\+Item} (Q\+Action $\ast$\+\_\+action, \hyperlink{a07048}{Data\+Type} \+\_\+object\+Type, \hyperlink{a00017_a238952a111d7daede783625350d7b287}{Context\+Menu\+Type} \+\_\+type)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{a11288_a60847d7af72c8432cc7361f20892b146}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a11288_aaad36266b5f99eb33fc2df331161d7b8}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11288_adc2483589df44e4e1b2ea6a8e9698726}\label{a11288_adc2483589df44e4e1b2ea6a8e9698726}} 
bool {\bfseries register\+Type} ()
\item 
\hyperlink{a07048}{Data\+Type} \hyperlink{a11288_ae0231e6d959d2aeb914cb6ac3fe9e007}{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 
int \hyperlink{a11288_ab18de417f45ff0437ccd01e66730ac8a}{add\+Empty} ()
\begin{DoxyCompactList}\small\item\em Create an empty object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a11288_a92b088a6f475e397d00cb1c55491d573}{plugins\+Initialized} ()
\begin{DoxyCompactList}\small\item\em Second initialization phase. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11288_a2bdce544237a98a71d5e0fc8d85d964b}\label{a11288_a2bdce544237a98a71d5e0fc8d85d964b}} 
void {\bfseries nogui\+Supported} ()
\item 
\mbox{\Hypertarget{a11288_a8f055a5da1a6bf91ba629b4f90d5a486}\label{a11288_a8f055a5da1a6bf91ba629b4f90d5a486}} 
void \hyperlink{a11288_a8f055a5da1a6bf91ba629b4f90d5a486}{slot\+Render\+Control\+Net} ()
\begin{DoxyCompactList}\small\item\em Slot triggered from context menu, if the control net should be rendered. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11288_a01cbef6b9f27d0a345465f266745706c}\label{a11288_a01cbef6b9f27d0a345465f266745706c}} 
void \hyperlink{a11288_a01cbef6b9f27d0a345465f266745706c}{slot\+Render\+Surface} ()
\begin{DoxyCompactList}\small\item\em Slot triggered from context menu, if the surface should be rendered. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11288_a331ca2468116b3629d325d2c5b77b989}\label{a11288_a331ca2468116b3629d325d2c5b77b989}} 
void \hyperlink{a11288_a331ca2468116b3629d325d2c5b77b989}{slot\+Render\+Selection} (Q\+Action $\ast$\+\_\+action)
\begin{DoxyCompactList}\small\item\em Slot triggered from context menu, if the selection rendering should be altered. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a11288_a9bcd155b6560208d4616fd98d776e137}{slot\+Update\+Context\+Menu} (int \+\_\+object\+Id)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11288_ae114bf88a22f1f97cf15eafee3d136b3}\label{a11288_ae114bf88a22f1f97cf15eafee3d136b3}} 
Q\+Action $\ast$ \hyperlink{a11288_ae114bf88a22f1f97cf15eafee3d136b3}{render\+Control\+Net\+Action\+\_\+}
\begin{DoxyCompactList}\small\item\em Context menu action. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11288_a1eaf16683b46afc8eb478c4389602e61}\label{a11288_a1eaf16683b46afc8eb478c4389602e61}} 
Q\+Action $\ast$ \hyperlink{a11288_a1eaf16683b46afc8eb478c4389602e61}{render\+Surface\+Action\+\_\+}
\begin{DoxyCompactList}\small\item\em Context menu action. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11288_a3859233f5821817c9a5ad2dd87a8254c}\label{a11288_a3859233f5821817c9a5ad2dd87a8254c}} 
Q\+Action $\ast$ \hyperlink{a11288_a3859233f5821817c9a5ad2dd87a8254c}{render\+C\+P\+Selection\+Action\+\_\+}
\begin{DoxyCompactList}\small\item\em Context menu action (render selection texture) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11288_a89a5d61d0ac9c54645d9add4f7f1419e}\label{a11288_a89a5d61d0ac9c54645d9add4f7f1419e}} 
Q\+Action $\ast$ {\bfseries render\+Knot\+Selection\+Action\+\_\+}
\item 
\mbox{\Hypertarget{a11288_aa00657682128b9950c1c29008dd0ae07}\label{a11288_aa00657682128b9950c1c29008dd0ae07}} 
Q\+Action $\ast$ {\bfseries render\+No\+Selection\+Action\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 70 of file Type\+B\+Spline\+Surface.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a11288_ab18de417f45ff0437ccd01e66730ac8a}\label{a11288_ab18de417f45ff0437ccd01e66730ac8a}} 
\index{Type\+B\+Spline\+Surface\+Plugin@{Type\+B\+Spline\+Surface\+Plugin}!add\+Empty@{add\+Empty}}
\index{add\+Empty@{add\+Empty}!Type\+B\+Spline\+Surface\+Plugin@{Type\+B\+Spline\+Surface\+Plugin}}
\subsubsection{\texorpdfstring{add\+Empty()}{addEmpty()}}
{\footnotesize\ttfamily int Type\+B\+Spline\+Surface\+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 254 of file Type\+B\+Spline\+Surface.\+cc.

\mbox{\Hypertarget{a11288_aaad36266b5f99eb33fc2df331161d7b8}\label{a11288_aaad36266b5f99eb33fc2df331161d7b8}} 
\index{Type\+B\+Spline\+Surface\+Plugin@{Type\+B\+Spline\+Surface\+Plugin}!description@{description}}
\index{description@{description}!Type\+B\+Spline\+Surface\+Plugin@{Type\+B\+Spline\+Surface\+Plugin}}
\subsubsection{\texorpdfstring{description()}{description()}}
{\footnotesize\ttfamily Q\+String Type\+B\+Spline\+Surface\+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 120 of file Type\+B\+Spline\+Surface.\+hh.

\mbox{\Hypertarget{a11288_a60847d7af72c8432cc7361f20892b146}\label{a11288_a60847d7af72c8432cc7361f20892b146}} 
\index{Type\+B\+Spline\+Surface\+Plugin@{Type\+B\+Spline\+Surface\+Plugin}!name@{name}}
\index{name@{name}!Type\+B\+Spline\+Surface\+Plugin@{Type\+B\+Spline\+Surface\+Plugin}}
\subsubsection{\texorpdfstring{name()}{name()}}
{\footnotesize\ttfamily Q\+String Type\+B\+Spline\+Surface\+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 119 of file Type\+B\+Spline\+Surface.\+hh.

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



Second initialization phase. 



Definition at line 67 of file Type\+B\+Spline\+Surface.\+cc.

\mbox{\Hypertarget{a11288_a9bcd155b6560208d4616fd98d776e137}\label{a11288_a9bcd155b6560208d4616fd98d776e137}} 
\index{Type\+B\+Spline\+Surface\+Plugin@{Type\+B\+Spline\+Surface\+Plugin}!slot\+Update\+Context\+Menu@{slot\+Update\+Context\+Menu}}
\index{slot\+Update\+Context\+Menu@{slot\+Update\+Context\+Menu}!Type\+B\+Spline\+Surface\+Plugin@{Type\+B\+Spline\+Surface\+Plugin}}
\subsubsection{\texorpdfstring{slot\+Update\+Context\+Menu()}{slotUpdateContextMenu()}}
{\footnotesize\ttfamily void Type\+B\+Spline\+Surface\+Plugin\+::slot\+Update\+Context\+Menu (\begin{DoxyParamCaption}\item[{int}]{\+\_\+object\+Id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [virtual]}}

When the main application requests a context menu, this slot is called before showing the window. If an object is picked the id will be given in this call so you can change the contents of your menu depending on the given object.


\begin{DoxyParams}{Parameters}
{\em \+\_\+object\+Id} & id of the object \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{a06876_a74cbe2257620672cbc565cc6536c0332}{Context\+Menu\+Interface}.



Definition at line 135 of file Type\+B\+Spline\+Surface.\+cc.

\mbox{\Hypertarget{a11288_ae0231e6d959d2aeb914cb6ac3fe9e007}\label{a11288_ae0231e6d959d2aeb914cb6ac3fe9e007}} 
\index{Type\+B\+Spline\+Surface\+Plugin@{Type\+B\+Spline\+Surface\+Plugin}!supported\+Type@{supported\+Type}}
\index{supported\+Type@{supported\+Type}!Type\+B\+Spline\+Surface\+Plugin@{Type\+B\+Spline\+Surface\+Plugin}}
\subsubsection{\texorpdfstring{supported\+Type()}{supportedType()}}
{\footnotesize\ttfamily \hyperlink{a07048}{Data\+Type} Type\+B\+Spline\+Surface\+Plugin\+::supported\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\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 244 of file Type\+B\+Spline\+Surface.\+cc.



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