\hypertarget{classSphereObject}{}\section{Sphere\+Object Class Reference}
\label{classSphereObject}\index{Sphere\+Object@{Sphere\+Object}}
Inheritance diagram for Sphere\+Object\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.000000cm]{classSphereObject}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classSphereObject_a2f2510b1562ee98a0ef1253f5e1a0127}{Sphere\+Object} ()
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classSphereObject_ac89fd9145521f4dcd846a25cc8d834ed}{Sphere\+Object} (const \hyperlink{classSphereObject}{Sphere\+Object} \&\+\_\+object)
\begin{DoxyCompactList}\small\item\em copy constructor \end{DoxyCompactList}\item 
virtual \hyperlink{classSphereObject_a921d46efb3cd1c338c1b65fd2b677c7d}{$\sim$\+Sphere\+Object} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
virtual void \hyperlink{classSphereObject_a3e9285abd49267000d6c96563e8f45e4}{cleanup} ()
\begin{DoxyCompactList}\small\item\em Reset current object, including all related nodes. \end{DoxyCompactList}\item 
\hyperlink{classBaseObject}{Base\+Object} $\ast$ \hyperlink{classSphereObject_ad84f415073d2762ef713d7a970e9df68}{copy} ()
\end{DoxyCompactItemize}
\begin{Indent}\textbf{ Name and Path handling}\par
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classSphereObject_a3dc215b54049ab936ef569d976ef269b}{set\+Name} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Set the name of the Object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ Object Information}\par
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{classSphereObject_a24ddbd76805c17a0565cc5610a663519}{get\+Objectinfo} ()
\begin{DoxyCompactList}\small\item\em Get all Info for the Object as a string. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ Picking}\par
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{classSphereObject_ad1a937c464d77351bb5e72b9d2e8db01}{picked} (uint \+\_\+node\+\_\+idx)
\begin{DoxyCompactList}\small\item\em detect if the node has been picked \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classSphereObject_ab25eef91f4d20e1a9f4a76153ff23ee5}\label{classSphereObject_ab25eef91f4d20e1a9f4a76153ff23ee5}} 
void \hyperlink{classSphereObject_ab25eef91f4d20e1a9f4a76153ff23ee5}{enable\+Picking} (bool \+\_\+enable)
\begin{DoxyCompactList}\small\item\em Enable or disable picking for this Object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classSphereObject_a2fe388fdfed2a2c0a38473ca1d2f189d}\label{classSphereObject_a2fe388fdfed2a2c0a38473ca1d2f189d}} 
bool \hyperlink{classSphereObject_a2fe388fdfed2a2c0a38473ca1d2f189d}{picking\+Enabled} ()
\begin{DoxyCompactList}\small\item\em Check if picking is enabled for this Object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classSphereObject_a9e5c03308b5f2a746c3a2ae7ada8dfe6}{init} (\hyperlink{SphereTypes_8hh_a78c0f85d54328b3254faff6336c67fa2}{Sphere\+Node} $\ast$\+\_\+sphere=0)
\begin{DoxyCompactList}\small\item\em Initialise current object, including all related nodes. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}\textbf{ Update handling}\par
{\em This is mostly private. Updates have to be triggered via emit updated\+Object() }\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classSphereObject_a7fd713a42a7afc20fcee90c2cb208397}\label{classSphereObject_a7fd713a42a7afc20fcee90c2cb208397}} 
virtual void \hyperlink{classSphereObject_a7fd713a42a7afc20fcee90c2cb208397}{update} (\hyperlink{classUpdateType}{Update\+Type} \+\_\+type=\hyperlink{group__DefaultUpdateTypes_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL})
\begin{DoxyCompactList}\small\item\em Update the whole Object (Selection,Topology,...) \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classSphereObject_a99d72508f516cdb661c9f52e3b60b1b8}\label{classSphereObject_a99d72508f516cdb661c9f52e3b60b1b8}} 
class {\bfseries Type\+Sphere\+Plugin}
\end{DoxyCompactItemize}
\subsection*{Visualization}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classSphereObject_a11535314beb47f65567758d511e2ae09}\label{classSphereObject_a11535314beb47f65567758d511e2ae09}} 
\hyperlink{SphereTypes_8hh_a78c0f85d54328b3254faff6336c67fa2}{Sphere\+Node} $\ast$ \hyperlink{classSphereObject_a11535314beb47f65567758d511e2ae09}{sphere\+Node\+\_\+}
\begin{DoxyCompactList}\small\item\em Get the scenegraph Node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classSphereObject_a3897b689b1466606f466adc0a4485ec1}\label{classSphereObject_a3897b689b1466606f466adc0a4485ec1}} 
\hyperlink{SphereTypes_8hh_a78c0f85d54328b3254faff6336c67fa2}{Sphere\+Node} $\ast$ \hyperlink{classSphereObject_a3897b689b1466606f466adc0a4485ec1}{sphere\+Node} ()
\begin{DoxyCompactList}\small\item\em Get the scenegraph Node. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 73 of file Sphere\+Object.\+hh.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classSphereObject_a2f2510b1562ee98a0ef1253f5e1a0127}\label{classSphereObject_a2f2510b1562ee98a0ef1253f5e1a0127}} 
\index{Sphere\+Object@{Sphere\+Object}!Sphere\+Object@{Sphere\+Object}}
\index{Sphere\+Object@{Sphere\+Object}!Sphere\+Object@{Sphere\+Object}}
\subsubsection{\texorpdfstring{Sphere\+Object()}{SphereObject()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Sphere\+Object\+::\+Sphere\+Object (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



constructor 

Constructor for Sphere Objects. This object class gets a Separator Node giving the root node to which it should be connected. The plane is generated internally and all nodes for visualization will be added below the scenegraph node.~\newline
You dont need to create an object of this type manually. Use Plugin\+Functions\+::add\+Sphere instead. ( see Types.\+hh\+::\+Data\+Type ) 

Definition at line 72 of file Sphere\+Object.\+cc.

\mbox{\Hypertarget{classSphereObject_ac89fd9145521f4dcd846a25cc8d834ed}\label{classSphereObject_ac89fd9145521f4dcd846a25cc8d834ed}} 
\index{Sphere\+Object@{Sphere\+Object}!Sphere\+Object@{Sphere\+Object}}
\index{Sphere\+Object@{Sphere\+Object}!Sphere\+Object@{Sphere\+Object}}
\subsubsection{\texorpdfstring{Sphere\+Object()}{SphereObject()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Sphere\+Object\+::\+Sphere\+Object (\begin{DoxyParamCaption}\item[{const \hyperlink{classSphereObject}{Sphere\+Object} \&}]{\+\_\+object }\end{DoxyParamCaption})}



copy constructor 

Create a copy of this object

Copy Constructor -\/ generates a copy of the given object 

Definition at line 86 of file Sphere\+Object.\+cc.

\mbox{\Hypertarget{classSphereObject_a921d46efb3cd1c338c1b65fd2b677c7d}\label{classSphereObject_a921d46efb3cd1c338c1b65fd2b677c7d}} 
\index{Sphere\+Object@{Sphere\+Object}!````~Sphere\+Object@{$\sim$\+Sphere\+Object}}
\index{````~Sphere\+Object@{$\sim$\+Sphere\+Object}!Sphere\+Object@{Sphere\+Object}}
\subsubsection{\texorpdfstring{$\sim$\+Sphere\+Object()}{~SphereObject()}}
{\footnotesize\ttfamily Sphere\+Object\+::$\sim$\+Sphere\+Object (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



destructor 

Destructor for Sphere Objects. The destructor deletes the Line and all Scenegraph nodes associated with the Sphere or the object. 

Definition at line 98 of file Sphere\+Object.\+cc.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classSphereObject_a3e9285abd49267000d6c96563e8f45e4}\label{classSphereObject_a3e9285abd49267000d6c96563e8f45e4}} 
\index{Sphere\+Object@{Sphere\+Object}!cleanup@{cleanup}}
\index{cleanup@{cleanup}!Sphere\+Object@{Sphere\+Object}}
\subsubsection{\texorpdfstring{cleanup()}{cleanup()}}
{\footnotesize\ttfamily void Sphere\+Object\+::cleanup (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Reset current object, including all related nodes. 

Cleanup Function for Sphere Objects. Deletes the contents of the whole object and calls \hyperlink{classSphereObject_a9e5c03308b5f2a746c3a2ae7ada8dfe6}{Sphere\+Object\+::init} afterwards. 

Reimplemented from \hyperlink{classBaseObjectData_abdf84b94d4626b2a5e848afc152bc6e9}{Base\+Object\+Data}.



Definition at line 114 of file Sphere\+Object.\+cc.

\mbox{\Hypertarget{classSphereObject_ad84f415073d2762ef713d7a970e9df68}\label{classSphereObject_ad84f415073d2762ef713d7a970e9df68}} 
\index{Sphere\+Object@{Sphere\+Object}!copy@{copy}}
\index{copy@{copy}!Sphere\+Object@{Sphere\+Object}}
\subsubsection{\texorpdfstring{copy()}{copy()}}
{\footnotesize\ttfamily \hyperlink{classBaseObject}{Base\+Object} $\ast$ Sphere\+Object\+::copy (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

return a full copy of this object ( All scenegraph nodes will be created ) but the object will not be a part of the object tree.

Generate a copy 

Reimplemented from \hyperlink{classBaseObject_aa914502976b64d3048fe068cd0097e67}{Base\+Object}.



Definition at line 129 of file Sphere\+Object.\+cc.

\mbox{\Hypertarget{classSphereObject_a24ddbd76805c17a0565cc5610a663519}\label{classSphereObject_a24ddbd76805c17a0565cc5610a663519}} 
\index{Sphere\+Object@{Sphere\+Object}!get\+Objectinfo@{get\+Objectinfo}}
\index{get\+Objectinfo@{get\+Objectinfo}!Sphere\+Object@{Sphere\+Object}}
\subsubsection{\texorpdfstring{get\+Objectinfo()}{getObjectinfo()}}
{\footnotesize\ttfamily Q\+String Sphere\+Object\+::get\+Objectinfo (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Get all Info for the Object as a string. 

Returns a string containing all information about the current object. This also includes the information provided by \hyperlink{classBaseObject_a16966c1c32af694839bc4d31eed8759b}{Base\+Object\+Data\+::get\+Objectinfo}

\begin{DoxyReturn}{Returns}
String containing the object information 
\end{DoxyReturn}


Reimplemented from \hyperlink{classBaseObject_a16966c1c32af694839bc4d31eed8759b}{Base\+Object}.



Definition at line 193 of file Sphere\+Object.\+cc.

\mbox{\Hypertarget{classSphereObject_a9e5c03308b5f2a746c3a2ae7ada8dfe6}\label{classSphereObject_a9e5c03308b5f2a746c3a2ae7ada8dfe6}} 
\index{Sphere\+Object@{Sphere\+Object}!init@{init}}
\index{init@{init}!Sphere\+Object@{Sphere\+Object}}
\subsubsection{\texorpdfstring{init()}{init()}}
{\footnotesize\ttfamily void Sphere\+Object\+::init (\begin{DoxyParamCaption}\item[{\hyperlink{SphereTypes_8hh_a78c0f85d54328b3254faff6336c67fa2}{Sphere\+Node} $\ast$}]{\+\_\+sphere = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Initialise current object, including all related nodes. 

This function initalizes the plane object. It creates the scenegraph nodes. 

Definition at line 136 of file Sphere\+Object.\+cc.

\mbox{\Hypertarget{classSphereObject_ad1a937c464d77351bb5e72b9d2e8db01}\label{classSphereObject_ad1a937c464d77351bb5e72b9d2e8db01}} 
\index{Sphere\+Object@{Sphere\+Object}!picked@{picked}}
\index{picked@{picked}!Sphere\+Object@{Sphere\+Object}}
\subsubsection{\texorpdfstring{picked()}{picked()}}
{\footnotesize\ttfamily bool Sphere\+Object\+::picked (\begin{DoxyParamCaption}\item[{uint}]{\+\_\+node\+\_\+idx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



detect if the node has been picked 

Given an node index from \hyperlink{namespacePluginFunctions_aa407abcd8a862ac0addd816e14ae5766}{Plugin\+Functions\+::scenegraph\+Pick} this function can be used to check if the plane\+Node of the object has been picked.


\begin{DoxyParams}{Parameters}
{\em \+\_\+node\+\_\+idx} & Index of the picked plane node \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
bool if the plane\+Node of this object is the picking target. 
\end{DoxyReturn}


Reimplemented from \hyperlink{classBaseObjectData_afdb0f57814b92dd4ad19c81b1601857c}{Base\+Object\+Data}.



Definition at line 222 of file Sphere\+Object.\+cc.

\mbox{\Hypertarget{classSphereObject_a3dc215b54049ab936ef569d976ef269b}\label{classSphereObject_a3dc215b54049ab936ef569d976ef269b}} 
\index{Sphere\+Object@{Sphere\+Object}!set\+Name@{set\+Name}}
\index{set\+Name@{set\+Name}!Sphere\+Object@{Sphere\+Object}}
\subsubsection{\texorpdfstring{set\+Name()}{setName()}}
{\footnotesize\ttfamily void Sphere\+Object\+::set\+Name (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Set the name of the Object. 

Set the name of an object. All Scenegraph nodes are renamed too. It also calls \hyperlink{classBaseObjectData_aa99cbee24f472c3904aad4c7da0cd947}{Base\+Object\+Data\+::set\+Name}. 

Reimplemented from \hyperlink{classBaseObjectData_aa99cbee24f472c3904aad4c7da0cd947}{Base\+Object\+Data}.



Definition at line 169 of file Sphere\+Object.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Type-\/\+Sphere/\+Object\+Types/\+Sphere/\hyperlink{SphereObject_8hh}{Sphere\+Object.\+hh}\item 
Type-\/\+Sphere/\+Object\+Types/\+Sphere/Sphere\+Object.\+cc\end{DoxyCompactItemize}
