\hypertarget{classQtWidgetObject}{}\section{Qt\+Widget\+Object Class Reference}
\label{classQtWidgetObject}\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}}
Inheritance diagram for Qt\+Widget\+Object\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.000000cm]{classQtWidgetObject}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classQtWidgetObject_a0ab51343c5d02fb1128b36ebe524dc01}\label{classQtWidgetObject_a0ab51343c5d02fb1128b36ebe524dc01}} 
\hyperlink{classQtWidgetObject_a0ab51343c5d02fb1128b36ebe524dc01}{Qt\+Widget\+Object} ()
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{classQtWidgetObject_a12da9fdc7fb90a108d8f69df976e004a}{Qt\+Widget\+Object} (const \hyperlink{classQtWidgetObject}{Qt\+Widget\+Object} \&\+\_\+object)
\begin{DoxyCompactList}\small\item\em copy constructor \end{DoxyCompactList}\item 
virtual \hyperlink{classQtWidgetObject_a3893fe92f13b9a260495aa27da403cf7}{$\sim$\+Qt\+Widget\+Object} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
virtual void \hyperlink{classQtWidgetObject_ac2281b6f1d507b468b4ce61f60bac48a}{cleanup} ()
\begin{DoxyCompactList}\small\item\em Reset current object, including all related nodes. \end{DoxyCompactList}\item 
\hyperlink{classBaseObject}{Base\+Object} $\ast$ \hyperlink{classQtWidgetObject_a5c3db082336cb5cb4149bdc1544ed904}{copy} ()
\item 
\mbox{\Hypertarget{classQtWidgetObject_af9c190888c4c22caeb6fe99827710449}\label{classQtWidgetObject_af9c190888c4c22caeb6fe99827710449}} 
virtual void \hyperlink{classQtWidgetObject_af9c190888c4c22caeb6fe99827710449}{visible} (bool \+\_\+visible)
\begin{DoxyCompactList}\small\item\em Show Node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtWidgetObject_ab61141507ef36e22dda7888e77254f52}\label{classQtWidgetObject_ab61141507ef36e22dda7888e77254f52}} 
virtual bool \hyperlink{classQtWidgetObject_ab61141507ef36e22dda7888e77254f52}{visible} ()
\begin{DoxyCompactList}\small\item\em Show Node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtWidgetObject_a75ff86fa4a1b085b61d56c59301ab46d}\label{classQtWidgetObject_a75ff86fa4a1b085b61d56c59301ab46d}} 
virtual void \hyperlink{classQtWidgetObject_a75ff86fa4a1b085b61d56c59301ab46d}{show} ()
\begin{DoxyCompactList}\small\item\em Show Node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtWidgetObject_aa2e99b314d41ea6d139ec4dc663734d3}\label{classQtWidgetObject_aa2e99b314d41ea6d139ec4dc663734d3}} 
virtual void \hyperlink{classQtWidgetObject_aa2e99b314d41ea6d139ec4dc663734d3}{hide} ()
\begin{DoxyCompactList}\small\item\em Hide Node. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}\textbf{ Name and Path handling}\par
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classQtWidgetObject_ac2deae3d80ba6ad5357ad68864f140cd}{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{ Contents}\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classQtWidgetObject_a5d61e885c9caee648af93b4bcbdb535a}\label{classQtWidgetObject_a5d61e885c9caee648af93b4bcbdb535a}} 
Q\+Widget $\ast$ {\bfseries widget} () const
\item 
\mbox{\Hypertarget{classQtWidgetObject_af3d5fb4a762e4b0ef70944535c7f0334}\label{classQtWidgetObject_af3d5fb4a762e4b0ef70944535c7f0334}} 
void {\bfseries set\+Widget} (Q\+Widget $\ast$\+\_\+widget)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ Object Information}\par
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{classQtWidgetObject_a67efff7bdc583edaa675d369afb3e4d4}{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{classQtWidgetObject_ab0483a20be146496ac5b4377d68a077d}{picked} (uint \+\_\+node\+\_\+idx)
\begin{DoxyCompactList}\small\item\em detect if the node has been picked \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtWidgetObject_a0011c5dde55ee98f857704d6230c5597}\label{classQtWidgetObject_a0011c5dde55ee98f857704d6230c5597}} 
void \hyperlink{classQtWidgetObject_a0011c5dde55ee98f857704d6230c5597}{enable\+Picking} (bool \+\_\+enable)
\begin{DoxyCompactList}\small\item\em Enable or disable picking for this Object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtWidgetObject_a17c1e4142a3d35a602e9c143adcd9e2b}\label{classQtWidgetObject_a17c1e4142a3d35a602e9c143adcd9e2b}} 
bool \hyperlink{classQtWidgetObject_a17c1e4142a3d35a602e9c143adcd9e2b}{picking\+Enabled} ()
\begin{DoxyCompactList}\small\item\em Check if picking is enabled for this Object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtWidgetObject_a9e029dbfc0222083e9a4d64f9459cc4c}\label{classQtWidgetObject_a9e029dbfc0222083e9a4d64f9459cc4c}} 
void \hyperlink{classQtWidgetObject_a9e029dbfc0222083e9a4d64f9459cc4c}{mouse\+Event} (Q\+Mouse\+Event $\ast$\+\_\+event)
\begin{DoxyCompactList}\small\item\em send a special Mouse event to the widget \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classQtWidgetObject_a3fc6a5a51c4a78b1e0891947ba31a6fb}{init} (Q\+Widget $\ast$\+\_\+widget)
\begin{DoxyCompactList}\small\item\em Initialize 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 
void \hyperlink{classQtWidgetObject_aa4105a7aecf16da63dae87b70610fd24}{update} (\hyperlink{classUpdateType}{Update\+Type} \+\_\+type=\hyperlink{group__DefaultUpdateTypes_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL})
\begin{DoxyCompactList}\small\item\em This function is called to update the object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classQtWidgetObject_a14cc2e38d09ba331fde3bf910fabccdf}\label{classQtWidgetObject_a14cc2e38d09ba331fde3bf910fabccdf}} 
class {\bfseries Type\+Qt\+Widget\+Plugin}
\end{DoxyCompactItemize}
\subsection*{Visualization}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classQtWidgetObject_a2d5487ee7198280d453599f260078376}\label{classQtWidgetObject_a2d5487ee7198280d453599f260078376}} 
\hyperlink{QtWidgetTypes_8hh_a3cd8c9d4c8676b1a5329cfde76682165}{Qt\+Widget\+Node} $\ast$ \hyperlink{classQtWidgetObject_a2d5487ee7198280d453599f260078376}{widget\+Node\+\_\+}
\begin{DoxyCompactList}\small\item\em Get the scenegraph Node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtWidgetObject_a55785cfe61ec4e5c808cdec67c72ec46}\label{classQtWidgetObject_a55785cfe61ec4e5c808cdec67c72ec46}} 
\hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode}{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node} $\ast$ \hyperlink{classQtWidgetObject_a55785cfe61ec4e5c808cdec67c72ec46}{qt\+Widget\+Node} ()
\begin{DoxyCompactList}\small\item\em Get the scenegraph Node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classQtWidgetObject_af93737588360b35e0c1bdb0a76932317}\label{classQtWidgetObject_af93737588360b35e0c1bdb0a76932317}} 
virtual bool \hyperlink{classQtWidgetObject_af93737588360b35e0c1bdb0a76932317}{has\+Node} (\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$\+\_\+node)
\begin{DoxyCompactList}\small\item\em Get the scenegraph Node. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 74 of file Qt\+Widget\+Object.\+hh.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classQtWidgetObject_a12da9fdc7fb90a108d8f69df976e004a}\label{classQtWidgetObject_a12da9fdc7fb90a108d8f69df976e004a}} 
\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}!Qt\+Widget\+Object@{Qt\+Widget\+Object}}
\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}!Qt\+Widget\+Object@{Qt\+Widget\+Object}}
\subsubsection{\texorpdfstring{Qt\+Widget\+Object()}{QtWidgetObject()}}
{\footnotesize\ttfamily Qt\+Widget\+Object\+::\+Qt\+Widget\+Object (\begin{DoxyParamCaption}\item[{const \hyperlink{classQtWidgetObject}{Qt\+Widget\+Object} \&}]{\+\_\+object }\end{DoxyParamCaption})}



copy constructor 

Create a copy of this object

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

Definition at line 70 of file Qt\+Widget\+Object.\+cc.

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



destructor 

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

Definition at line 81 of file Qt\+Widget\+Object.\+cc.



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



Reset current object, including all related nodes. 

Cleanup Function for Light Objects. Deletes the contents of the whole object and calls \hyperlink{classQtWidgetObject_a3fc6a5a51c4a78b1e0891947ba31a6fb}{Qt\+Widget\+Object\+::init} afterwards. 

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



Definition at line 109 of file Qt\+Widget\+Object.\+cc.

\mbox{\Hypertarget{classQtWidgetObject_a5c3db082336cb5cb4149bdc1544ed904}\label{classQtWidgetObject_a5c3db082336cb5cb4149bdc1544ed904}} 
\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}!copy@{copy}}
\index{copy@{copy}!Qt\+Widget\+Object@{Qt\+Widget\+Object}}
\subsubsection{\texorpdfstring{copy()}{copy()}}
{\footnotesize\ttfamily \hyperlink{classBaseObject}{Base\+Object} $\ast$ Qt\+Widget\+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 123 of file Qt\+Widget\+Object.\+cc.

\mbox{\Hypertarget{classQtWidgetObject_a67efff7bdc583edaa675d369afb3e4d4}\label{classQtWidgetObject_a67efff7bdc583edaa675d369afb3e4d4}} 
\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}!get\+Objectinfo@{get\+Objectinfo}}
\index{get\+Objectinfo@{get\+Objectinfo}!Qt\+Widget\+Object@{Qt\+Widget\+Object}}
\subsubsection{\texorpdfstring{get\+Objectinfo()}{getObjectinfo()}}
{\footnotesize\ttfamily Q\+String Qt\+Widget\+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 177 of file Qt\+Widget\+Object.\+cc.

\mbox{\Hypertarget{classQtWidgetObject_a3fc6a5a51c4a78b1e0891947ba31a6fb}\label{classQtWidgetObject_a3fc6a5a51c4a78b1e0891947ba31a6fb}} 
\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}!init@{init}}
\index{init@{init}!Qt\+Widget\+Object@{Qt\+Widget\+Object}}
\subsubsection{\texorpdfstring{init()}{init()}}
{\footnotesize\ttfamily void Qt\+Widget\+Object\+::init (\begin{DoxyParamCaption}\item[{Q\+Widget $\ast$}]{\+\_\+widget }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Initialize current object, including all related nodes. 

This function initializes the light object. It creates the scenegraph nodes. 

Definition at line 130 of file Qt\+Widget\+Object.\+cc.

\mbox{\Hypertarget{classQtWidgetObject_ab0483a20be146496ac5b4377d68a077d}\label{classQtWidgetObject_ab0483a20be146496ac5b4377d68a077d}} 
\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}!picked@{picked}}
\index{picked@{picked}!Qt\+Widget\+Object@{Qt\+Widget\+Object}}
\subsubsection{\texorpdfstring{picked()}{picked()}}
{\footnotesize\ttfamily bool Qt\+Widget\+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 light\+Node of the object has been picked.


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


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



Definition at line 204 of file Qt\+Widget\+Object.\+cc.

\mbox{\Hypertarget{classQtWidgetObject_ac2deae3d80ba6ad5357ad68864f140cd}\label{classQtWidgetObject_ac2deae3d80ba6ad5357ad68864f140cd}} 
\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}!set\+Name@{set\+Name}}
\index{set\+Name@{set\+Name}!Qt\+Widget\+Object@{Qt\+Widget\+Object}}
\subsubsection{\texorpdfstring{set\+Name()}{setName()}}
{\footnotesize\ttfamily void Qt\+Widget\+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 142 of file Qt\+Widget\+Object.\+cc.

\mbox{\Hypertarget{classQtWidgetObject_aa4105a7aecf16da63dae87b70610fd24}\label{classQtWidgetObject_aa4105a7aecf16da63dae87b70610fd24}} 
\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}!update@{update}}
\index{update@{update}!Qt\+Widget\+Object@{Qt\+Widget\+Object}}
\subsubsection{\texorpdfstring{update()}{update()}}
{\footnotesize\ttfamily void Qt\+Widget\+Object\+::update (\begin{DoxyParamCaption}\item[{\hyperlink{classUpdateType}{Update\+Type}}]{\+\_\+type = {\ttfamily \hyperlink{group__DefaultUpdateTypes_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+LL}} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



This function is called to update the object. 

If the object changes, the core will call this function. This function triggers an vbo update in the plane node.

\begin{DoxyNote}{Note}
Do not call this function yourself to avoid unnecessary overhead(the core will call it when it is required) 
\end{DoxyNote}


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



Definition at line 253 of file Qt\+Widget\+Object.\+cc.



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