\hypertarget{a11852}{}\section{Qt\+Widget\+Object Class Reference}
\label{a11852}\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}}
Inheritance diagram for Qt\+Widget\+Object\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.000000cm]{a11852}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11852_a0ab51343c5d02fb1128b36ebe524dc01}\label{a11852_a0ab51343c5d02fb1128b36ebe524dc01}} 
\hyperlink{a11852_a0ab51343c5d02fb1128b36ebe524dc01}{Qt\+Widget\+Object} ()
\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{a11852_a12da9fdc7fb90a108d8f69df976e004a}{Qt\+Widget\+Object} (const \hyperlink{a11852}{Qt\+Widget\+Object} \&\+\_\+object)
\begin{DoxyCompactList}\small\item\em copy constructor \end{DoxyCompactList}\item 
virtual \hyperlink{a11852_a3893fe92f13b9a260495aa27da403cf7}{$\sim$\+Qt\+Widget\+Object} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
virtual void \hyperlink{a11852_ac2281b6f1d507b468b4ce61f60bac48a}{cleanup} ()
\begin{DoxyCompactList}\small\item\em Reset current object, including all related nodes. \end{DoxyCompactList}\item 
\hyperlink{a07036}{Base\+Object} $\ast$ \hyperlink{a11852_a5c3db082336cb5cb4149bdc1544ed904}{copy} ()
\item 
\mbox{\Hypertarget{a11852_af9c190888c4c22caeb6fe99827710449}\label{a11852_af9c190888c4c22caeb6fe99827710449}} 
virtual void \hyperlink{a11852_af9c190888c4c22caeb6fe99827710449}{visible} (bool \+\_\+visible)
\begin{DoxyCompactList}\small\item\em Show Node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11852_ab61141507ef36e22dda7888e77254f52}\label{a11852_ab61141507ef36e22dda7888e77254f52}} 
virtual bool \hyperlink{a11852_ab61141507ef36e22dda7888e77254f52}{visible} ()
\begin{DoxyCompactList}\small\item\em Show Node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11852_a75ff86fa4a1b085b61d56c59301ab46d}\label{a11852_a75ff86fa4a1b085b61d56c59301ab46d}} 
virtual void \hyperlink{a11852_a75ff86fa4a1b085b61d56c59301ab46d}{show} ()
\begin{DoxyCompactList}\small\item\em Show Node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11852_aa2e99b314d41ea6d139ec4dc663734d3}\label{a11852_aa2e99b314d41ea6d139ec4dc663734d3}} 
virtual void \hyperlink{a11852_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{a11852_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{a11852_a5d61e885c9caee648af93b4bcbdb535a}\label{a11852_a5d61e885c9caee648af93b4bcbdb535a}} 
Q\+Widget $\ast$ {\bfseries widget} () const
\item 
\mbox{\Hypertarget{a11852_af3d5fb4a762e4b0ef70944535c7f0334}\label{a11852_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{a11852_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{a11852_ab0483a20be146496ac5b4377d68a077d}{picked} (uint \+\_\+node\+\_\+idx)
\begin{DoxyCompactList}\small\item\em detect if the node has been picked \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11852_a0011c5dde55ee98f857704d6230c5597}\label{a11852_a0011c5dde55ee98f857704d6230c5597}} 
void \hyperlink{a11852_a0011c5dde55ee98f857704d6230c5597}{enable\+Picking} (bool \+\_\+enable)
\begin{DoxyCompactList}\small\item\em Enable or disable picking for this Object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11852_a17c1e4142a3d35a602e9c143adcd9e2b}\label{a11852_a17c1e4142a3d35a602e9c143adcd9e2b}} 
bool \hyperlink{a11852_a17c1e4142a3d35a602e9c143adcd9e2b}{picking\+Enabled} ()
\begin{DoxyCompactList}\small\item\em Check if picking is enabled for this Object. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11852_a9e029dbfc0222083e9a4d64f9459cc4c}\label{a11852_a9e029dbfc0222083e9a4d64f9459cc4c}} 
void \hyperlink{a11852_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{a11852_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{a11852_aa4105a7aecf16da63dae87b70610fd24}{update} (\hyperlink{a07096}{Update\+Type} \+\_\+type=\hyperlink{a06166_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{a11852_a14cc2e38d09ba331fde3bf910fabccdf}\label{a11852_a14cc2e38d09ba331fde3bf910fabccdf}} 
class {\bfseries Type\+Qt\+Widget\+Plugin}
\end{DoxyCompactItemize}
\subsection*{Visualization}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11852_a2d5487ee7198280d453599f260078376}\label{a11852_a2d5487ee7198280d453599f260078376}} 
\hyperlink{a05486_a3cd8c9d4c8676b1a5329cfde76682165}{Qt\+Widget\+Node} $\ast$ \hyperlink{a11852_a2d5487ee7198280d453599f260078376}{widget\+Node\+\_\+}
\begin{DoxyCompactList}\small\item\em Get the scenegraph Node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11852_a55785cfe61ec4e5c808cdec67c72ec46}\label{a11852_a55785cfe61ec4e5c808cdec67c72ec46}} 
\hyperlink{a11844}{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node} $\ast$ \hyperlink{a11852_a55785cfe61ec4e5c808cdec67c72ec46}{qt\+Widget\+Node} ()
\begin{DoxyCompactList}\small\item\em Get the scenegraph Node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11852_af93737588360b35e0c1bdb0a76932317}\label{a11852_af93737588360b35e0c1bdb0a76932317}} 
virtual bool \hyperlink{a11852_af93737588360b35e0c1bdb0a76932317}{has\+Node} (\hyperlink{a00182_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{a11852_a12da9fdc7fb90a108d8f69df976e004a}\label{a11852_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{a11852}{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{a11852_a3893fe92f13b9a260495aa27da403cf7}\label{a11852_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{a11852_ac2281b6f1d507b468b4ce61f60bac48a}\label{a11852_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{a11852_a3fc6a5a51c4a78b1e0891947ba31a6fb}{Qt\+Widget\+Object\+::init} afterwards. 

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



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

\mbox{\Hypertarget{a11852_a5c3db082336cb5cb4149bdc1544ed904}\label{a11852_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{a07036}{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{a07036_aa914502976b64d3048fe068cd0097e67}{Base\+Object}.



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

\mbox{\Hypertarget{a11852_a67efff7bdc583edaa675d369afb3e4d4}\label{a11852_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{a07036_a16966c1c32af694839bc4d31eed8759b}{Base\+Object\+Data\+::get\+Objectinfo}

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


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



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

\mbox{\Hypertarget{a11852_a3fc6a5a51c4a78b1e0891947ba31a6fb}\label{a11852_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{a11852_ab0483a20be146496ac5b4377d68a077d}\label{a11852_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{a06173_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{a07044_afdb0f57814b92dd4ad19c81b1601857c}{Base\+Object\+Data}.



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

\mbox{\Hypertarget{a11852_ac2deae3d80ba6ad5357ad68864f140cd}\label{a11852_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{a07044_a625a358192b886259eec57f134f0b363}{Base\+Object\+Data\+::set\+Name}. 

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



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

\mbox{\Hypertarget{a11852_aa4105a7aecf16da63dae87b70610fd24}\label{a11852_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{a07096}{Update\+Type}}]{\+\_\+type = {\ttfamily \hyperlink{a06166_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{a07044_a26063c9234d22ec1306e4f163e3f88be}{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{a05483}{Qt\+Widget\+Object.\+hh}\item 
Type-\/\+Qt\+Widget/\+Object\+Types/\+Qt\+Widget/Qt\+Widget\+Object.\+cc\end{DoxyCompactItemize}
