\hypertarget{a11844}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Qt\+Widget\+Node Class Reference}
\label{a11844}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node}}
Inheritance diagram for A\+CG\+:\+:Scene\+Graph\+:\+:Qt\+Widget\+Node\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a11844}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{a11848}{Node\+Event\+Filter}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a11844_a6141e1c1dd1fc01328bf125e117922b6}{Qt\+Widget\+Node} (Q\+Widget $\ast$\+\_\+widget, \hyperlink{a07748}{Base\+Node} $\ast$\+\_\+parent=0, std\+::string \+\_\+name=\char`\"{}$<$Qt\+Widget\+Node$>$\char`\"{})
\begin{DoxyCompactList}\small\item\em Construct a Qt\+Widget Node. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_a83263f04442b27f1859951ceaa0bed8f}\label{a11844_a83263f04442b27f1859951ceaa0bed8f}} 
\hyperlink{a11844_a83263f04442b27f1859951ceaa0bed8f}{$\sim$\+Qt\+Widget\+Node} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_a58f18bdc073df5f595e23fd7b07cb120}\label{a11844_a58f18bdc073df5f595e23fd7b07cb120}} 
\hyperlink{a11844_a58f18bdc073df5f595e23fd7b07cb120}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+ME} (\hyperlink{a11844}{Qt\+Widget\+Node})
\begin{DoxyCompactList}\small\item\em static name of this class \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_a216dc4d52bacbd59ab9d572cc630d1e2}\label{a11844_a216dc4d52bacbd59ab9d572cc630d1e2}} 
\hyperlink{a07792}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \hyperlink{a11844_a216dc4d52bacbd59ab9d572cc630d1e2}{available\+Draw\+Modes} () const
\begin{DoxyCompactList}\small\item\em return available draw modes \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_a6674a641858d1215c147bd9195b4432a}\label{a11844_a6674a641858d1215c147bd9195b4432a}} 
void \hyperlink{a11844_a6674a641858d1215c147bd9195b4432a}{bounding\+Box} (\hyperlink{a08448}{A\+C\+G\+::\+Vec3d} \&\+\_\+bb\+Min, \hyperlink{a08448}{A\+C\+G\+::\+Vec3d} \&\+\_\+bb\+Max)
\begin{DoxyCompactList}\small\item\em update bounding box \end{DoxyCompactList}\item 
void \hyperlink{a11844_a0acfe4ac084ff3a5f9d57a48eec6aae7}{get\+Render\+Objects} (\hyperlink{a07468}{A\+C\+G\+::\+I\+Renderer} $\ast$\+\_\+renderer, \hyperlink{a07884}{A\+C\+G\+::\+G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode, const \hyperlink{a07828}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} $\ast$\+\_\+mat)
\begin{DoxyCompactList}\small\item\em Add the objects to the given renderer. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_a54c173213ab407d802aa33cf3b4c5fd9}\label{a11844_a54c173213ab407d802aa33cf3b4c5fd9}} 
void {\bfseries mouse\+Event} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, Q\+Mouse\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a11844_a76bec386eab7cf5a82aa30b3366c993b}\label{a11844_a76bec386eab7cf5a82aa30b3366c993b}} 
void {\bfseries mouse\+Event} (Q\+Mouse\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{a11844_adce098b799041eadc7c7ff95d886f0fd}\label{a11844_adce098b799041eadc7c7ff95d886f0fd}} 
Q\+Widget $\ast$ {\bfseries widget} () const
\item 
\mbox{\Hypertarget{a11844_a9eea592e8c6e906716eab68a72398a12}\label{a11844_a9eea592e8c6e906716eab68a72398a12}} 
void \hyperlink{a11844_a9eea592e8c6e906716eab68a72398a12}{set\+Widget} (Q\+Widget $\ast$\+\_\+w)
\begin{DoxyCompactList}\small\item\em set a new widget at the current widgets position (if last widget wasn\textquotesingle{}t zero) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11844_a589a42132a0525dfea61c17dfbed6a9f}\label{a11844_a589a42132a0525dfea61c17dfbed6a9f}} 
using {\bfseries Plane} = \hyperlink{a07264}{A\+C\+G\+::\+Geometry\+::\+Plane}
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11844_a81144c86ab3fb2671b2dfc7a2014be2c}\label{a11844_a81144c86ab3fb2671b2dfc7a2014be2c}} 
void \hyperlink{a11844_a81144c86ab3fb2671b2dfc7a2014be2c}{create\+Texture} ()
\begin{DoxyCompactList}\small\item\em create and update the widget texture \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_a075e566ed5307d3e788da6b14cd60f23}\label{a11844_a075e566ed5307d3e788da6b14cd60f23}} 
void \hyperlink{a11844_a075e566ed5307d3e788da6b14cd60f23}{create\+Geometry} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state)
\begin{DoxyCompactList}\small\item\em widgetgeometry will be screen aligned. the width/height and position is in respect to the \+\_\+state projection matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_a07f231d1cb25995bfad08066cd4b1907}\label{a11844_a07f231d1cb25995bfad08066cd4b1907}} 
void \hyperlink{a11844_a07f231d1cb25995bfad08066cd4b1907}{update\+Geometry} ()
\begin{DoxyCompactList}\small\item\em update geometry on current position with old projection/view matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_a4f4c33f43eb82b8ecd688543302041bc}\label{a11844_a4f4c33f43eb82b8ecd688543302041bc}} 
void \hyperlink{a11844_a4f4c33f43eb82b8ecd688543302041bc}{upload\+Plane} ()
\begin{DoxyCompactList}\small\item\em upload widget plane data to graphics card \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11844_ae424f199b8829864fa7f458a4ec411fe}\label{a11844_ae424f199b8829864fa7f458a4ec411fe}} 
\hyperlink{a11848}{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node\+::\+Node\+Event\+Filter} $\ast$ {\bfseries ef\+\_\+}
\item 
\mbox{\Hypertarget{a11844_ad0602c50daf4a06d035dfeb7d368c085}\label{a11844_ad0602c50daf4a06d035dfeb7d368c085}} 
unsigned int \hyperlink{a11844_ad0602c50daf4a06d035dfeb7d368c085}{vbo\+\_\+}
\begin{DoxyCompactList}\small\item\em V\+BO used to render the plane. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_a4223a926fe52eaebff8dbdd919ad9c50}\label{a11844_a4223a926fe52eaebff8dbdd919ad9c50}} 
G\+Luint {\bfseries tex\+I\+D\+\_\+}
\item 
\mbox{\Hypertarget{a11844_ae14bd4f7378ca1a46d126891953384b3}\label{a11844_ae14bd4f7378ca1a46d126891953384b3}} 
\hyperlink{a07596}{A\+C\+G\+::\+Vertex\+Declaration} {\bfseries vertex\+Decl\+\_\+}
\item 
\mbox{\Hypertarget{a11844_a996a6a9de967817641fc1bd084e252af}\label{a11844_a996a6a9de967817641fc1bd084e252af}} 
Q\+Widget $\ast$ \hyperlink{a11844_a996a6a9de967817641fc1bd084e252af}{widget\+\_\+}
\begin{DoxyCompactList}\small\item\em current widget \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_a2f155988530a505a9af9ec7dd40477d9}\label{a11844_a2f155988530a505a9af9ec7dd40477d9}} 
int \hyperlink{a11844_a2f155988530a505a9af9ec7dd40477d9}{old\+Widget\+Width\+\_\+}
\begin{DoxyCompactList}\small\item\em initial widget\+Height/\+Width. Is 0, if widget is 0 or if plane wasn\textquotesingle{}t initialized with current view/proj\+Matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_aadf77127a16f39302c27c79638b9d17a}\label{a11844_aadf77127a16f39302c27c79638b9d17a}} 
int {\bfseries old\+Widget\+Height\+\_\+}
\item 
\mbox{\Hypertarget{a11844_a79cd1168e13f2cbdc76bbf6bb407b7cc}\label{a11844_a79cd1168e13f2cbdc76bbf6bb407b7cc}} 
\hyperlink{a07264}{Plane} \hyperlink{a11844_a79cd1168e13f2cbdc76bbf6bb407b7cc}{plane\+\_\+}
\begin{DoxyCompactList}\small\item\em plane position and dimensions \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_a925f94c3813f2216af4bf71476728ccc}\label{a11844_a925f94c3813f2216af4bf71476728ccc}} 
bool {\bfseries plane\+Created\+\_\+}
\item 
\mbox{\Hypertarget{a11844_a62637e07bfa5e1811b3a94a0ed285798}\label{a11844_a62637e07bfa5e1811b3a94a0ed285798}} 
\hyperlink{a07452}{G\+L\+State} $\ast$ \hyperlink{a11844_a62637e07bfa5e1811b3a94a0ed285798}{state\+\_\+}
\begin{DoxyCompactList}\small\item\em last state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11844_adaf0b6a08566bd081fb081fee6e38cd2}\label{a11844_adaf0b6a08566bd081fb081fee6e38cd2}} 
bool {\bfseries anisotropic\+Support\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11844_aa14c058aed9b7f8cb632096b7534f393}\label{a11844_aa14c058aed9b7f8cb632096b7534f393}} 
class {\bfseries Node\+Event\+Filter}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 80 of file Qt\+Widget\+Node.\+hh.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{a11844_a6141e1c1dd1fc01328bf125e117922b6}\label{a11844_a6141e1c1dd1fc01328bf125e117922b6}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node}!Qt\+Widget\+Node@{Qt\+Widget\+Node}}
\index{Qt\+Widget\+Node@{Qt\+Widget\+Node}!A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node}}
\subsubsection{\texorpdfstring{Qt\+Widget\+Node()}{QtWidgetNode()}}
{\footnotesize\ttfamily A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node\+::\+Qt\+Widget\+Node (\begin{DoxyParamCaption}\item[{Q\+Widget $\ast$}]{\+\_\+widget,  }\item[{\hyperlink{a07748}{Base\+Node} $\ast$}]{\+\_\+parent = {\ttfamily 0},  }\item[{std\+::string}]{\+\_\+name = {\ttfamily \char`\"{}$<$QtWidgetNode$>$\char`\"{}} }\end{DoxyParamCaption})}



Construct a Qt\+Widget Node. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+widget} & The widget which will be rendered in the viewport \\
\hline
{\em \+\_\+parent} & The parent node in the scenegraph \\
\hline
{\em \+\_\+name} & The name of the new node (visible in the scenegraph dialogs) \\
\hline
\end{DoxyParams}


Definition at line 95 of file Qt\+Widget\+Node.\+cc.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a11844_a0acfe4ac084ff3a5f9d57a48eec6aae7}\label{a11844_a0acfe4ac084ff3a5f9d57a48eec6aae7}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node}!get\+Render\+Objects@{get\+Render\+Objects}}
\index{get\+Render\+Objects@{get\+Render\+Objects}!A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node}}
\subsubsection{\texorpdfstring{get\+Render\+Objects()}{getRenderObjects()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node\+::get\+Render\+Objects (\begin{DoxyParamCaption}\item[{\hyperlink{a07468}{A\+C\+G\+::\+I\+Renderer} $\ast$}]{\+\_\+renderer,  }\item[{\hyperlink{a07884}{A\+C\+G\+::\+G\+L\+State} \&}]{\+\_\+state,  }\item[{const \hyperlink{a07792}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \&}]{\+\_\+draw\+Mode,  }\item[{const \hyperlink{a07828}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} $\ast$}]{\+\_\+mat }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Add the objects to the given renderer. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+renderer} & The renderer which will be used. Add your geometry into this class \\
\hline
{\em \+\_\+state} & The current GL State when this object is called \\
\hline
{\em \+\_\+draw\+Mode} & The active draw mode \\
\hline
{\em \+\_\+mat} & Current material \\
\hline
\end{DoxyParams}


Reimplemented from \hyperlink{a07888_acb425c90def34591f6ee41e440dc7f69}{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Base\+Node}.



Definition at line 364 of file Qt\+Widget\+Node.\+cc.



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