\hypertarget{a01087}{\section{Qt\+Widget\+Object Class Reference}
\label{a01087}\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}}
}
Inheritance diagram for Qt\+Widget\+Object\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.000000cm]{a01087}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01087_a0ab51343c5d02fb1128b36ebe524dc01}{\hyperlink{a01087_a0ab51343c5d02fb1128b36ebe524dc01}{Qt\+Widget\+Object} ()}\label{a01087_a0ab51343c5d02fb1128b36ebe524dc01}

\begin{DoxyCompactList}\small\item\em constructor \end{DoxyCompactList}\item 
\hyperlink{a01087_a12da9fdc7fb90a108d8f69df976e004a}{Qt\+Widget\+Object} (const \hyperlink{a01087}{Qt\+Widget\+Object} \&\+\_\+object)
\begin{DoxyCompactList}\small\item\em copy constructor \end{DoxyCompactList}\item 
virtual \hyperlink{a01087_a3893fe92f13b9a260495aa27da403cf7}{$\sim$\+Qt\+Widget\+Object} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
virtual void \hyperlink{a01087_ac2281b6f1d507b468b4ce61f60bac48a}{cleanup} ()
\begin{DoxyCompactList}\small\item\em Reset current object, including all related nodes. \end{DoxyCompactList}\item 
\hyperlink{a00329}{Base\+Object} $\ast$ \hyperlink{a01087_a5c3db082336cb5cb4149bdc1544ed904}{copy} ()
\item 
\hypertarget{a01087_af9c190888c4c22caeb6fe99827710449}{virtual void \hyperlink{a01087_af9c190888c4c22caeb6fe99827710449}{visible} (bool \+\_\+visible)}\label{a01087_af9c190888c4c22caeb6fe99827710449}

\begin{DoxyCompactList}\small\item\em Show Node. \end{DoxyCompactList}\item 
\hypertarget{a01087_ab61141507ef36e22dda7888e77254f52}{virtual bool \hyperlink{a01087_ab61141507ef36e22dda7888e77254f52}{visible} ()}\label{a01087_ab61141507ef36e22dda7888e77254f52}

\begin{DoxyCompactList}\small\item\em Show Node. \end{DoxyCompactList}\item 
\hypertarget{a01087_a75ff86fa4a1b085b61d56c59301ab46d}{virtual void \hyperlink{a01087_a75ff86fa4a1b085b61d56c59301ab46d}{show} ()}\label{a01087_a75ff86fa4a1b085b61d56c59301ab46d}

\begin{DoxyCompactList}\small\item\em Show Node. \end{DoxyCompactList}\item 
\hypertarget{a01087_aa2e99b314d41ea6d139ec4dc663734d3}{virtual void \hyperlink{a01087_aa2e99b314d41ea6d139ec4dc663734d3}{hide} ()}\label{a01087_aa2e99b314d41ea6d139ec4dc663734d3}

\begin{DoxyCompactList}\small\item\em Hide Node. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf Name and Path handling}\par
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a01087_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}{\bf Contents}\par
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01087_ad9bdd928a2b18b5d01c45e70c9f7b9a0}{Q\+Widget $\ast$ {\bfseries widget} () const }\label{a01087_ad9bdd928a2b18b5d01c45e70c9f7b9a0}

\item 
\hypertarget{a01087_af3d5fb4a762e4b0ef70944535c7f0334}{void {\bfseries set\+Widget} (Q\+Widget $\ast$\+\_\+widget)}\label{a01087_af3d5fb4a762e4b0ef70944535c7f0334}

\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Object Information}\par
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{a01087_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}{\bf Picking}\par
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a01087_ab0483a20be146496ac5b4377d68a077d}{picked} (uint \+\_\+node\+\_\+idx)
\begin{DoxyCompactList}\small\item\em detect if the node has been picked \end{DoxyCompactList}\item 
\hypertarget{a01087_a0011c5dde55ee98f857704d6230c5597}{void \hyperlink{a01087_a0011c5dde55ee98f857704d6230c5597}{enable\+Picking} (bool \+\_\+enable)}\label{a01087_a0011c5dde55ee98f857704d6230c5597}

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

\begin{DoxyCompactList}\small\item\em Check if picking is enabled for this Object. \end{DoxyCompactList}\item 
\hypertarget{a01087_a9e029dbfc0222083e9a4d64f9459cc4c}{void \hyperlink{a01087_a9e029dbfc0222083e9a4d64f9459cc4c}{mouse\+Event} (Q\+Mouse\+Event $\ast$\+\_\+event)}\label{a01087_a9e029dbfc0222083e9a4d64f9459cc4c}

\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{a01087_a3fc6a5a51c4a78b1e0891947ba31a6fb}{init} (Q\+Widget $\ast$\+\_\+widget)
\begin{DoxyCompactList}\small\item\em Initialize 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 
void \hyperlink{a01087_aa4105a7aecf16da63dae87b70610fd24}{update} (\hyperlink{a01393}{Update\+Type} \+\_\+type=\hyperlink{a03407_ga4ce39b8d60eb78ada5080d032c9463a8}{U\+P\+D\+A\+T\+E\+\_\+\+A\+L\+L})
\begin{DoxyCompactList}\small\item\em This function is called to update the object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01087_a14cc2e38d09ba331fde3bf910fabccdf}{class {\bfseries Type\+Qt\+Widget\+Plugin}}\label{a01087_a14cc2e38d09ba331fde3bf910fabccdf}

\end{DoxyCompactItemize}
\subsection*{Visualization}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01087_a2d5487ee7198280d453599f260078376}{\hyperlink{a02356_a3cd8c9d4c8676b1a5329cfde76682165}{Qt\+Widget\+Node} $\ast$ \hyperlink{a01087_a2d5487ee7198280d453599f260078376}{widget\+Node\+\_\+}}\label{a01087_a2d5487ee7198280d453599f260078376}

\begin{DoxyCompactList}\small\item\em Get the scenegraph Node. \end{DoxyCompactList}\item 
\hypertarget{a01087_a55785cfe61ec4e5c808cdec67c72ec46}{\hyperlink{a01086}{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node} $\ast$ \hyperlink{a01087_a55785cfe61ec4e5c808cdec67c72ec46}{qt\+Widget\+Node} ()}\label{a01087_a55785cfe61ec4e5c808cdec67c72ec46}

\begin{DoxyCompactList}\small\item\em Get the scenegraph Node. \end{DoxyCompactList}\item 
\hypertarget{a01087_af93737588360b35e0c1bdb0a76932317}{virtual bool \hyperlink{a01087_af93737588360b35e0c1bdb0a76932317}{has\+Node} (\hyperlink{a02486_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$\+\_\+node)}\label{a01087_af93737588360b35e0c1bdb0a76932317}

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


\subsection{Detailed Description}


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



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a01087_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[{Qt\+Widget\+Object}]{\setlength{\rightskip}{0pt plus 5cm}Qt\+Widget\+Object\+::\+Qt\+Widget\+Object (
\begin{DoxyParamCaption}
\item[{const {\bf Qt\+Widget\+Object} \&}]{\+\_\+object}
\end{DoxyParamCaption}
)}}\label{a01087_a12da9fdc7fb90a108d8f69df976e004a}


copy constructor 

Create a copy of this object

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

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

\hypertarget{a01087_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[{$\sim$\+Qt\+Widget\+Object}]{\setlength{\rightskip}{0pt plus 5cm}Qt\+Widget\+Object\+::$\sim$\+Qt\+Widget\+Object (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01087_a3893fe92f13b9a260495aa27da403cf7}


destructor 

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

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



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


Reset current object, including all related nodes. 

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

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



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

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

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


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 183 of file Qt\+Widget\+Object.\+cc.

\hypertarget{a01087_a3fc6a5a51c4a78b1e0891947ba31a6fb}{\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}!init@{init}}
\index{init@{init}!Qt\+Widget\+Object@{Qt\+Widget\+Object}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}void Qt\+Widget\+Object\+::init (
\begin{DoxyParamCaption}
\item[{Q\+Widget $\ast$}]{\+\_\+widget}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{a01087_a3fc6a5a51c4a78b1e0891947ba31a6fb}


Initialize current object, including all related nodes. 

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

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

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


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 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{a00330_afdb0f57814b92dd4ad19c81b1601857c}{Base\+Object\+Data}.



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

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


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 148 of file Qt\+Widget\+Object.\+cc.

\hypertarget{a01087_aa4105a7aecf16da63dae87b70610fd24}{\index{Qt\+Widget\+Object@{Qt\+Widget\+Object}!update@{update}}
\index{update@{update}!Qt\+Widget\+Object@{Qt\+Widget\+Object}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void Qt\+Widget\+Object\+::update (
\begin{DoxyParamCaption}
\item[{{\bf Update\+Type}}]{\+\_\+type = {\ttfamily {\bf U\+P\+D\+A\+T\+E\+\_\+\+A\+L\+L}}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{a01087_aa4105a7aecf16da63dae87b70610fd24}


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{a00330_a26063c9234d22ec1306e4f163e3f88be}{Base\+Object\+Data}.



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



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