\hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Qt\+Widget\+Node Class Reference}
\label{classACG_1_1SceneGraph_1_1QtWidgetNode}\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]{classACG_1_1SceneGraph_1_1QtWidgetNode}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_1_1NodeEventFilter}{Node\+Event\+Filter}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_a6141e1c1dd1fc01328bf125e117922b6}{Qt\+Widget\+Node} (Q\+Widget $\ast$\+\_\+widget, \hyperlink{classACG_1_1SceneGraph_1_1BaseNode}{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{classACG_1_1SceneGraph_1_1QtWidgetNode_a83263f04442b27f1859951ceaa0bed8f}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a83263f04442b27f1859951ceaa0bed8f}} 
\hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_a83263f04442b27f1859951ceaa0bed8f}{$\sim$\+Qt\+Widget\+Node} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a58f18bdc073df5f595e23fd7b07cb120}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a58f18bdc073df5f595e23fd7b07cb120}} 
\hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_a58f18bdc073df5f595e23fd7b07cb120}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+ME} (\hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode}{Qt\+Widget\+Node})
\begin{DoxyCompactList}\small\item\em static name of this class \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a0168a29abec30a6b3ab9dd2e302c92ca}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a0168a29abec30a6b3ab9dd2e302c92ca}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_a0168a29abec30a6b3ab9dd2e302c92ca}{available\+Draw\+Modes} () const override
\begin{DoxyCompactList}\small\item\em return available draw modes \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_ad62d8a320132c48fb68b64bc7441c6ee}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_ad62d8a320132c48fb68b64bc7441c6ee}} 
void \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_ad62d8a320132c48fb68b64bc7441c6ee}{bounding\+Box} (\hyperlink{classOpenMesh_1_1VectorT}{A\+C\+G\+::\+Vec3d} \&\+\_\+bb\+Min, \hyperlink{classOpenMesh_1_1VectorT}{A\+C\+G\+::\+Vec3d} \&\+\_\+bb\+Max) override
\begin{DoxyCompactList}\small\item\em update bounding box \end{DoxyCompactList}\item 
void \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_a2b2eb847068f928fade017a7df8dbb64}{get\+Render\+Objects} (\hyperlink{classACG_1_1IRenderer}{A\+C\+G\+::\+I\+Renderer} $\ast$\+\_\+renderer, \hyperlink{classACG_1_1SceneGraph_1_1ACG_1_1GLState}{A\+C\+G\+::\+G\+L\+State} \&\+\_\+state, const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode, const \hyperlink{classACG_1_1SceneGraph_1_1Material}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} $\ast$\+\_\+mat) override
\begin{DoxyCompactList}\small\item\em Add the objects to the given renderer. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a15203a3fe331a5e8ebe0b76adf7991dd}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a15203a3fe331a5e8ebe0b76adf7991dd}} 
void {\bfseries mouse\+Event} (\hyperlink{classACG_1_1GLState}{G\+L\+State} \&\+\_\+state, Q\+Mouse\+Event $\ast$\+\_\+event) override
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a76bec386eab7cf5a82aa30b3366c993b}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a76bec386eab7cf5a82aa30b3366c993b}} 
void {\bfseries mouse\+Event} (Q\+Mouse\+Event $\ast$\+\_\+event)
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_adce098b799041eadc7c7ff95d886f0fd}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_adce098b799041eadc7c7ff95d886f0fd}} 
Q\+Widget $\ast$ {\bfseries widget} () const
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a9eea592e8c6e906716eab68a72398a12}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a9eea592e8c6e906716eab68a72398a12}} 
void \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_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{classACG_1_1SceneGraph_1_1QtWidgetNode_a589a42132a0525dfea61c17dfbed6a9f}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a589a42132a0525dfea61c17dfbed6a9f}} 
using {\bfseries Plane} = \hyperlink{classACG_1_1Geometry_1_1Plane}{A\+C\+G\+::\+Geometry\+::\+Plane}
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a81144c86ab3fb2671b2dfc7a2014be2c}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a81144c86ab3fb2671b2dfc7a2014be2c}} 
void \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_a81144c86ab3fb2671b2dfc7a2014be2c}{create\+Texture} ()
\begin{DoxyCompactList}\small\item\em create and update the widget texture \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a075e566ed5307d3e788da6b14cd60f23}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a075e566ed5307d3e788da6b14cd60f23}} 
void \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_a075e566ed5307d3e788da6b14cd60f23}{create\+Geometry} (\hyperlink{classACG_1_1GLState}{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{classACG_1_1SceneGraph_1_1QtWidgetNode_a07f231d1cb25995bfad08066cd4b1907}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a07f231d1cb25995bfad08066cd4b1907}} 
void \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_a07f231d1cb25995bfad08066cd4b1907}{update\+Geometry} ()
\begin{DoxyCompactList}\small\item\em update geometry on current position with old projection/view matrix \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a4f4c33f43eb82b8ecd688543302041bc}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a4f4c33f43eb82b8ecd688543302041bc}} 
void \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_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{classACG_1_1SceneGraph_1_1QtWidgetNode_ae424f199b8829864fa7f458a4ec411fe}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_ae424f199b8829864fa7f458a4ec411fe}} 
\hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_1_1NodeEventFilter}{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node\+::\+Node\+Event\+Filter} $\ast$ {\bfseries ef\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_ad0602c50daf4a06d035dfeb7d368c085}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_ad0602c50daf4a06d035dfeb7d368c085}} 
unsigned int \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_ad0602c50daf4a06d035dfeb7d368c085}{vbo\+\_\+}
\begin{DoxyCompactList}\small\item\em V\+BO used to render the plane. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a4223a926fe52eaebff8dbdd919ad9c50}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a4223a926fe52eaebff8dbdd919ad9c50}} 
G\+Luint {\bfseries tex\+I\+D\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_ae14bd4f7378ca1a46d126891953384b3}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_ae14bd4f7378ca1a46d126891953384b3}} 
\hyperlink{classACG_1_1VertexDeclaration}{A\+C\+G\+::\+Vertex\+Declaration} {\bfseries vertex\+Decl\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a996a6a9de967817641fc1bd084e252af}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a996a6a9de967817641fc1bd084e252af}} 
Q\+Widget $\ast$ \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_a996a6a9de967817641fc1bd084e252af}{widget\+\_\+}
\begin{DoxyCompactList}\small\item\em current widget \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a2f155988530a505a9af9ec7dd40477d9}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a2f155988530a505a9af9ec7dd40477d9}} 
int \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_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{classACG_1_1SceneGraph_1_1QtWidgetNode_aadf77127a16f39302c27c79638b9d17a}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_aadf77127a16f39302c27c79638b9d17a}} 
int {\bfseries old\+Widget\+Height\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a79cd1168e13f2cbdc76bbf6bb407b7cc}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a79cd1168e13f2cbdc76bbf6bb407b7cc}} 
\hyperlink{classACG_1_1Geometry_1_1Plane}{Plane} \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_a79cd1168e13f2cbdc76bbf6bb407b7cc}{plane\+\_\+}
\begin{DoxyCompactList}\small\item\em plane position and dimensions \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a925f94c3813f2216af4bf71476728ccc}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a925f94c3813f2216af4bf71476728ccc}} 
bool {\bfseries plane\+Created\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_a62637e07bfa5e1811b3a94a0ed285798}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a62637e07bfa5e1811b3a94a0ed285798}} 
\hyperlink{classACG_1_1GLState}{G\+L\+State} $\ast$ \hyperlink{classACG_1_1SceneGraph_1_1QtWidgetNode_a62637e07bfa5e1811b3a94a0ed285798}{state\+\_\+}
\begin{DoxyCompactList}\small\item\em last state \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_adaf0b6a08566bd081fb081fee6e38cd2}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_adaf0b6a08566bd081fb081fee6e38cd2}} 
bool {\bfseries anisotropic\+Support\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1QtWidgetNode_aa14c058aed9b7f8cb632096b7534f393}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_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{classACG_1_1SceneGraph_1_1QtWidgetNode_a6141e1c1dd1fc01328bf125e117922b6}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_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{classACG_1_1SceneGraph_1_1BaseNode}{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{classACG_1_1SceneGraph_1_1QtWidgetNode_a2b2eb847068f928fade017a7df8dbb64}\label{classACG_1_1SceneGraph_1_1QtWidgetNode_a2b2eb847068f928fade017a7df8dbb64}} 
\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{classACG_1_1IRenderer}{A\+C\+G\+::\+I\+Renderer} $\ast$}]{\+\_\+renderer,  }\item[{\hyperlink{classACG_1_1SceneGraph_1_1ACG_1_1GLState}{A\+C\+G\+::\+G\+L\+State} \&}]{\+\_\+state,  }\item[{const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \&}]{\+\_\+draw\+Mode,  }\item[{const \hyperlink{classACG_1_1SceneGraph_1_1Material}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} $\ast$}]{\+\_\+mat }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\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{classACG_1_1SceneGraph_1_1ACG_1_1SceneGraph_1_1BaseNode_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}
