\hypertarget{a01209}{\section{Sphere\+Object Class Reference}
\label{a01209}\index{Sphere\+Object@{Sphere\+Object}}
}
Inheritance diagram for Sphere\+Object\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.000000cm]{a01209}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a01209_a2f2510b1562ee98a0ef1253f5e1a0127}{Sphere\+Object} ()
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{a01209_ac89fd9145521f4dcd846a25cc8d834ed}{Sphere\+Object} (const \hyperlink{a01209}{Sphere\+Object} \&\+\_\+object)
\begin{DoxyCompactList}\small\item\em copy constructor \end{DoxyCompactList}\item 
virtual \hyperlink{a01209_a921d46efb3cd1c338c1b65fd2b677c7d}{$\sim$\+Sphere\+Object} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
virtual void \hyperlink{a01209_a3e9285abd49267000d6c96563e8f45e4}{cleanup} ()
\begin{DoxyCompactList}\small\item\em Reset current object, including all related nodes. \end{DoxyCompactList}\item 
\hyperlink{a00329}{Base\+Object} $\ast$ \hyperlink{a01209_ad84f415073d2762ef713d7a970e9df68}{copy} ()
\end{DoxyCompactItemize}
\begin{Indent}{\bf Name and Path handling}\par
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a01209_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}{\bf Object Information}\par
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{a01209_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}{\bf Picking}\par
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a01209_ad1a937c464d77351bb5e72b9d2e8db01}{picked} (uint \+\_\+node\+\_\+idx)
\begin{DoxyCompactList}\small\item\em detect if the node has been picked \end{DoxyCompactList}\item 
\hypertarget{a01209_ab25eef91f4d20e1a9f4a76153ff23ee5}{void \hyperlink{a01209_ab25eef91f4d20e1a9f4a76153ff23ee5}{enable\+Picking} (bool \+\_\+enable)}\label{a01209_ab25eef91f4d20e1a9f4a76153ff23ee5}

\begin{DoxyCompactList}\small\item\em Enable or disable picking for this Object. \end{DoxyCompactList}\item 
\hypertarget{a01209_a2fe388fdfed2a2c0a38473ca1d2f189d}{bool \hyperlink{a01209_a2fe388fdfed2a2c0a38473ca1d2f189d}{picking\+Enabled} ()}\label{a01209_a2fe388fdfed2a2c0a38473ca1d2f189d}

\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{a01209_a9e5c03308b5f2a746c3a2ae7ada8dfe6}{init} (\hyperlink{a02406_a78c0f85d54328b3254faff6336c67fa2}{Sphere\+Node} $\ast$\+\_\+sphere=0)
\begin{DoxyCompactList}\small\item\em Initialise current object, including all related nodes. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf Update handling}\par
{\em This is mostly private. Updates have to be triggered via emit updated\+Object() }\begin{DoxyCompactItemize}
\item 
\hypertarget{a01209_a7fd713a42a7afc20fcee90c2cb208397}{virtual void \hyperlink{a01209_a7fd713a42a7afc20fcee90c2cb208397}{update} (\hyperlink{a01393}{Update\+Type} \+\_\+type=\hyperlink{a03407_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+L\+L})}\label{a01209_a7fd713a42a7afc20fcee90c2cb208397}

\begin{DoxyCompactList}\small\item\em Update the whole Object (Selection,Topology,...) \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01209_a99d72508f516cdb661c9f52e3b60b1b8}{class {\bfseries Type\+Sphere\+Plugin}}\label{a01209_a99d72508f516cdb661c9f52e3b60b1b8}

\end{DoxyCompactItemize}
\subsection*{Visualization}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01209_a11535314beb47f65567758d511e2ae09}{\hyperlink{a02406_a78c0f85d54328b3254faff6336c67fa2}{Sphere\+Node} $\ast$ \hyperlink{a01209_a11535314beb47f65567758d511e2ae09}{sphere\+Node\+\_\+}}\label{a01209_a11535314beb47f65567758d511e2ae09}

\begin{DoxyCompactList}\small\item\em Get the scenegraph Node. \end{DoxyCompactList}\item 
\hypertarget{a01209_a3897b689b1466606f466adc0a4485ec1}{\hyperlink{a02406_a78c0f85d54328b3254faff6336c67fa2}{Sphere\+Node} $\ast$ \hyperlink{a01209_a3897b689b1466606f466adc0a4485ec1}{sphere\+Node} ()}\label{a01209_a3897b689b1466606f466adc0a4485ec1}

\begin{DoxyCompactList}\small\item\em Get the scenegraph Node. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


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



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a01209_a2f2510b1562ee98a0ef1253f5e1a0127}{\index{Sphere\+Object@{Sphere\+Object}!Sphere\+Object@{Sphere\+Object}}
\index{Sphere\+Object@{Sphere\+Object}!Sphere\+Object@{Sphere\+Object}}
\subsubsection[{Sphere\+Object}]{\setlength{\rightskip}{0pt plus 5cm}Sphere\+Object\+::\+Sphere\+Object (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{a01209_a2f2510b1562ee98a0ef1253f5e1a0127}


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 75 of file Sphere\+Object.\+cc.

\hypertarget{a01209_ac89fd9145521f4dcd846a25cc8d834ed}{\index{Sphere\+Object@{Sphere\+Object}!Sphere\+Object@{Sphere\+Object}}
\index{Sphere\+Object@{Sphere\+Object}!Sphere\+Object@{Sphere\+Object}}
\subsubsection[{Sphere\+Object}]{\setlength{\rightskip}{0pt plus 5cm}Sphere\+Object\+::\+Sphere\+Object (
\begin{DoxyParamCaption}
\item[{const {\bf Sphere\+Object} \&}]{\+\_\+object}
\end{DoxyParamCaption}
)}}\label{a01209_ac89fd9145521f4dcd846a25cc8d834ed}


copy constructor 

Create a copy of this object

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

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

\hypertarget{a01209_a921d46efb3cd1c338c1b65fd2b677c7d}{\index{Sphere\+Object@{Sphere\+Object}!````~Sphere\+Object@{$\sim$\+Sphere\+Object}}
\index{````~Sphere\+Object@{$\sim$\+Sphere\+Object}!Sphere\+Object@{Sphere\+Object}}
\subsubsection[{$\sim$\+Sphere\+Object}]{\setlength{\rightskip}{0pt plus 5cm}Sphere\+Object\+::$\sim$\+Sphere\+Object (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01209_a921d46efb3cd1c338c1b65fd2b677c7d}


destructor 

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

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



\subsection{Member Function Documentation}
\hypertarget{a01209_a3e9285abd49267000d6c96563e8f45e4}{\index{Sphere\+Object@{Sphere\+Object}!cleanup@{cleanup}}
\index{cleanup@{cleanup}!Sphere\+Object@{Sphere\+Object}}
\subsubsection[{cleanup}]{\setlength{\rightskip}{0pt plus 5cm}void Sphere\+Object\+::cleanup (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01209_a3e9285abd49267000d6c96563e8f45e4}


Reset current object, including all related nodes. 

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

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



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

\hypertarget{a01209_ad84f415073d2762ef713d7a970e9df68}{\index{Sphere\+Object@{Sphere\+Object}!copy@{copy}}
\index{copy@{copy}!Sphere\+Object@{Sphere\+Object}}
\subsubsection[{copy}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Base\+Object} $\ast$ Sphere\+Object\+::copy (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01209_ad84f415073d2762ef713d7a970e9df68}
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{a00329_aa914502976b64d3048fe068cd0097e67}{Base\+Object}.



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

\hypertarget{a01209_a24ddbd76805c17a0565cc5610a663519}{\index{Sphere\+Object@{Sphere\+Object}!get\+Objectinfo@{get\+Objectinfo}}
\index{get\+Objectinfo@{get\+Objectinfo}!Sphere\+Object@{Sphere\+Object}}
\subsubsection[{get\+Objectinfo}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Sphere\+Object\+::get\+Objectinfo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01209_a24ddbd76805c17a0565cc5610a663519}


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{a00329_a16966c1c32af694839bc4d31eed8759b}{Base\+Object\+Data\+::get\+Objectinfo}

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


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



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

\hypertarget{a01209_a9e5c03308b5f2a746c3a2ae7ada8dfe6}{\index{Sphere\+Object@{Sphere\+Object}!init@{init}}
\index{init@{init}!Sphere\+Object@{Sphere\+Object}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void Sphere\+Object\+::init (
\begin{DoxyParamCaption}
\item[{{\bf Sphere\+Node} $\ast$}]{\+\_\+sphere = {\ttfamily 0}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{a01209_a9e5c03308b5f2a746c3a2ae7ada8dfe6}


Initialise current object, including all related nodes. 

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

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

\hypertarget{a01209_ad1a937c464d77351bb5e72b9d2e8db01}{\index{Sphere\+Object@{Sphere\+Object}!picked@{picked}}
\index{picked@{picked}!Sphere\+Object@{Sphere\+Object}}
\subsubsection[{picked}]{\setlength{\rightskip}{0pt plus 5cm}bool Sphere\+Object\+::picked (
\begin{DoxyParamCaption}
\item[{uint}]{\+\_\+node\+\_\+idx}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01209_ad1a937c464d77351bb5e72b9d2e8db01}


detect if the node has been picked 

Given an node index from \hyperlink{a03393_a0ae515c8553f9e7f671bd2627bbecf6a}{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{a00330_afdb0f57814b92dd4ad19c81b1601857c}{Base\+Object\+Data}.



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

\hypertarget{a01209_a3dc215b54049ab936ef569d976ef269b}{\index{Sphere\+Object@{Sphere\+Object}!set\+Name@{set\+Name}}
\index{set\+Name@{set\+Name}!Sphere\+Object@{Sphere\+Object}}
\subsubsection[{set\+Name}]{\setlength{\rightskip}{0pt plus 5cm}void Sphere\+Object\+::set\+Name (
\begin{DoxyParamCaption}
\item[{Q\+String}]{\+\_\+name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01209_a3dc215b54049ab936ef569d976ef269b}


Set the name of the Object. 

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

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



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



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