\hypertarget{a01086}{\section{A\+C\+G\+:\+:Scene\+Graph\+:\+:Qt\+Widget\+Node Class Reference}
\label{a01086}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node}}
}
Inheritance diagram for A\+C\+G\+:\+:Scene\+Graph\+:\+:Qt\+Widget\+Node\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a01086}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{a00881}{Node\+Event\+Filter}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a01086_a6141e1c1dd1fc01328bf125e117922b6}{Qt\+Widget\+Node} (Q\+Widget $\ast$\+\_\+widget, \hyperlink{a00327}{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 
\hypertarget{a01086_a83263f04442b27f1859951ceaa0bed8f}{\hyperlink{a01086_a83263f04442b27f1859951ceaa0bed8f}{$\sim$\+Qt\+Widget\+Node} ()}\label{a01086_a83263f04442b27f1859951ceaa0bed8f}

\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\hypertarget{a01086_a58f18bdc073df5f595e23fd7b07cb120}{\hyperlink{a01086_a58f18bdc073df5f595e23fd7b07cb120}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+M\+E} (\hyperlink{a01086}{Qt\+Widget\+Node})}\label{a01086_a58f18bdc073df5f595e23fd7b07cb120}

\begin{DoxyCompactList}\small\item\em static name of this class \end{DoxyCompactList}\item 
\hypertarget{a01086_a16dd4787cdae2bd9941dc9ad5affe101}{\hyperlink{a00510}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \hyperlink{a01086_a16dd4787cdae2bd9941dc9ad5affe101}{available\+Draw\+Modes} () const }\label{a01086_a16dd4787cdae2bd9941dc9ad5affe101}

\begin{DoxyCompactList}\small\item\em return available draw modes \end{DoxyCompactList}\item 
\hypertarget{a01086_a6674a641858d1215c147bd9195b4432a}{void \hyperlink{a01086_a6674a641858d1215c147bd9195b4432a}{bounding\+Box} (\hyperlink{a01409}{A\+C\+G\+::\+Vec3d} \&\+\_\+bb\+Min, \hyperlink{a01409}{A\+C\+G\+::\+Vec3d} \&\+\_\+bb\+Max)}\label{a01086_a6674a641858d1215c147bd9195b4432a}

\begin{DoxyCompactList}\small\item\em update bounding box \end{DoxyCompactList}\item 
void \hyperlink{a01086_a0acfe4ac084ff3a5f9d57a48eec6aae7}{get\+Render\+Objects} (\hyperlink{a00737}{A\+C\+G\+::\+I\+Renderer} $\ast$\+\_\+renderer, \hyperlink{a00642}{A\+C\+G\+::\+G\+L\+State} \&\+\_\+state, const \hyperlink{a00510}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode, const \hyperlink{a00790}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} $\ast$\+\_\+mat)
\begin{DoxyCompactList}\small\item\em Add the objects to the given renderer. \end{DoxyCompactList}\item 
\hypertarget{a01086_a54c173213ab407d802aa33cf3b4c5fd9}{void {\bfseries mouse\+Event} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, Q\+Mouse\+Event $\ast$\+\_\+event)}\label{a01086_a54c173213ab407d802aa33cf3b4c5fd9}

\item 
\hypertarget{a01086_a76bec386eab7cf5a82aa30b3366c993b}{void {\bfseries mouse\+Event} (Q\+Mouse\+Event $\ast$\+\_\+event)}\label{a01086_a76bec386eab7cf5a82aa30b3366c993b}

\item 
\hypertarget{a01086_a139cbd7aef924251f16c74408f4eef1a}{Q\+Widget $\ast$ {\bfseries widget} () const }\label{a01086_a139cbd7aef924251f16c74408f4eef1a}

\item 
\hypertarget{a01086_a9eea592e8c6e906716eab68a72398a12}{void \hyperlink{a01086_a9eea592e8c6e906716eab68a72398a12}{set\+Widget} (Q\+Widget $\ast$\+\_\+w)}\label{a01086_a9eea592e8c6e906716eab68a72398a12}

\begin{DoxyCompactList}\small\item\em set a new widget at the current widgets position (if last widget wasn't zero) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01086_a81144c86ab3fb2671b2dfc7a2014be2c}{void \hyperlink{a01086_a81144c86ab3fb2671b2dfc7a2014be2c}{create\+Texture} ()}\label{a01086_a81144c86ab3fb2671b2dfc7a2014be2c}

\begin{DoxyCompactList}\small\item\em create and update the widget texture \end{DoxyCompactList}\item 
\hypertarget{a01086_a075e566ed5307d3e788da6b14cd60f23}{void \hyperlink{a01086_a075e566ed5307d3e788da6b14cd60f23}{create\+Geometry} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state)}\label{a01086_a075e566ed5307d3e788da6b14cd60f23}

\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 
\hypertarget{a01086_a07f231d1cb25995bfad08066cd4b1907}{void \hyperlink{a01086_a07f231d1cb25995bfad08066cd4b1907}{update\+Geometry} ()}\label{a01086_a07f231d1cb25995bfad08066cd4b1907}

\begin{DoxyCompactList}\small\item\em update geometry on current position with old projection/view matrix \end{DoxyCompactList}\item 
\hypertarget{a01086_a4f4c33f43eb82b8ecd688543302041bc}{void \hyperlink{a01086_a4f4c33f43eb82b8ecd688543302041bc}{upload\+Plane} ()}\label{a01086_a4f4c33f43eb82b8ecd688543302041bc}

\begin{DoxyCompactList}\small\item\em upload widget plane data to graphics card \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01086_ae424f199b8829864fa7f458a4ec411fe}{\hyperlink{a00881}{A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node\+::\+Node\+Event\+Filter} $\ast$ {\bfseries ef\+\_\+}}\label{a01086_ae424f199b8829864fa7f458a4ec411fe}

\item 
\hypertarget{a01086_ad0602c50daf4a06d035dfeb7d368c085}{unsigned int \hyperlink{a01086_ad0602c50daf4a06d035dfeb7d368c085}{vbo\+\_\+}}\label{a01086_ad0602c50daf4a06d035dfeb7d368c085}

\begin{DoxyCompactList}\small\item\em V\+B\+O used to render the plane. \end{DoxyCompactList}\item 
\hypertarget{a01086_a4223a926fe52eaebff8dbdd919ad9c50}{G\+Luint {\bfseries tex\+I\+D\+\_\+}}\label{a01086_a4223a926fe52eaebff8dbdd919ad9c50}

\item 
\hypertarget{a01086_ae14bd4f7378ca1a46d126891953384b3}{\hyperlink{a01418}{A\+C\+G\+::\+Vertex\+Declaration} {\bfseries vertex\+Decl\+\_\+}}\label{a01086_ae14bd4f7378ca1a46d126891953384b3}

\item 
\hypertarget{a01086_a996a6a9de967817641fc1bd084e252af}{Q\+Widget $\ast$ \hyperlink{a01086_a996a6a9de967817641fc1bd084e252af}{widget\+\_\+}}\label{a01086_a996a6a9de967817641fc1bd084e252af}

\begin{DoxyCompactList}\small\item\em current widget \end{DoxyCompactList}\item 
\hypertarget{a01086_a2f155988530a505a9af9ec7dd40477d9}{int \hyperlink{a01086_a2f155988530a505a9af9ec7dd40477d9}{old\+Widget\+Width\+\_\+}}\label{a01086_a2f155988530a505a9af9ec7dd40477d9}

\begin{DoxyCompactList}\small\item\em initial widget\+Height/\+Width. Is 0, if widget is 0 or if plane wasn't initialized with current view/proj\+Matrix \end{DoxyCompactList}\item 
\hypertarget{a01086_aadf77127a16f39302c27c79638b9d17a}{int {\bfseries old\+Widget\+Height\+\_\+}}\label{a01086_aadf77127a16f39302c27c79638b9d17a}

\item 
\hypertarget{a01086_a79cd1168e13f2cbdc76bbf6bb407b7cc}{\hyperlink{a00961}{Plane} \hyperlink{a01086_a79cd1168e13f2cbdc76bbf6bb407b7cc}{plane\+\_\+}}\label{a01086_a79cd1168e13f2cbdc76bbf6bb407b7cc}

\begin{DoxyCompactList}\small\item\em plane position and dimensions \end{DoxyCompactList}\item 
\hypertarget{a01086_a925f94c3813f2216af4bf71476728ccc}{bool {\bfseries plane\+Created\+\_\+}}\label{a01086_a925f94c3813f2216af4bf71476728ccc}

\item 
\hypertarget{a01086_a62637e07bfa5e1811b3a94a0ed285798}{\hyperlink{a00643}{G\+L\+State} $\ast$ \hyperlink{a01086_a62637e07bfa5e1811b3a94a0ed285798}{state\+\_\+}}\label{a01086_a62637e07bfa5e1811b3a94a0ed285798}

\begin{DoxyCompactList}\small\item\em last state \end{DoxyCompactList}\item 
\hypertarget{a01086_adaf0b6a08566bd081fb081fee6e38cd2}{bool {\bfseries anisotropic\+Support\+\_\+}}\label{a01086_adaf0b6a08566bd081fb081fee6e38cd2}

\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01086_aa14c058aed9b7f8cb632096b7534f393}{class {\bfseries Node\+Event\+Filter}}\label{a01086_aa14c058aed9b7f8cb632096b7534f393}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


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



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a01086_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[{Qt\+Widget\+Node}]{\setlength{\rightskip}{0pt plus 5cm}A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node\+::\+Qt\+Widget\+Node (
\begin{DoxyParamCaption}
\item[{Q\+Widget $\ast$}]{\+\_\+widget, }
\item[{{\bf Base\+Node} $\ast$}]{\+\_\+parent = {\ttfamily 0}, }
\item[{std\+::string}]{\+\_\+name = {\ttfamily \char`\"{}$<$QtWidgetNode$>$\char`\"{}}}
\end{DoxyParamCaption}
)}}\label{a01086_a6141e1c1dd1fc01328bf125e117922b6}


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}
\hypertarget{a01086_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[{get\+Render\+Objects}]{\setlength{\rightskip}{0pt plus 5cm}void A\+C\+G\+::\+Scene\+Graph\+::\+Qt\+Widget\+Node\+::get\+Render\+Objects (
\begin{DoxyParamCaption}
\item[{{\bf A\+C\+G\+::\+I\+Renderer} $\ast$}]{\+\_\+renderer, }
\item[{{\bf A\+C\+G\+::\+G\+L\+State} \&}]{\+\_\+state, }
\item[{const {\bf A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \&}]{\+\_\+draw\+Mode, }
\item[{const {\bf A\+C\+G\+::\+Scene\+Graph\+::\+Material} $\ast$}]{\+\_\+mat}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01086_a0acfe4ac084ff3a5f9d57a48eec6aae7}


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 G\+L 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{a00328_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 
Object\+Types/\+Qt\+Widget/Qt\+Widget\+Node.\+hh\item 
Object\+Types/\+Qt\+Widget/Qt\+Widget\+Node.\+cc\end{DoxyCompactItemize}
