\hypertarget{classACG_1_1SceneGraph_1_1PickAction}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Pick\+Action Class Reference}
\label{classACG_1_1SceneGraph_1_1PickAction}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action@{A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action}}


{\ttfamily \#include $<$Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/\+Scene\+Graph.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1PickAction_a40d4b9479c60acbcb312e9af501477fd}\label{classACG_1_1SceneGraph_1_1PickAction_a40d4b9479c60acbcb312e9af501477fd}} 
\hyperlink{classACG_1_1SceneGraph_1_1PickAction_a40d4b9479c60acbcb312e9af501477fd}{Pick\+Action} (\hyperlink{classACG_1_1GLState}{G\+L\+State} \&\+\_\+state, \hyperlink{namespaceACG_1_1SceneGraph_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} \+\_\+target, const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+drawmode)
\begin{DoxyCompactList}\small\item\em constructor\+: what picking target to use \end{DoxyCompactList}\item 
bool \hyperlink{classACG_1_1SceneGraph_1_1PickAction_ace90382274402e5fe6ec6b2992250bf7}{operator()} (\hyperlink{classACG_1_1SceneGraph_1_1BaseNode}{Base\+Node} $\ast$\+\_\+node)
\item 
bool \hyperlink{classACG_1_1SceneGraph_1_1PickAction_a7a7e935c727f8ffaf366d42ef4fe7582}{operator()} (\hyperlink{classACG_1_1SceneGraph_1_1BaseNode}{Base\+Node} $\ast$\+\_\+node, \hyperlink{classACG_1_1GLState}{G\+L\+State} \&\+\_\+state)
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1PickAction_afe4efeba1798d242eba8a7fae616601a}\label{classACG_1_1SceneGraph_1_1PickAction_afe4efeba1798d242eba8a7fae616601a}} 
void {\bfseries enter} (\hyperlink{classACG_1_1SceneGraph_1_1BaseNode}{Base\+Node} $\ast$\+\_\+node)
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1PickAction_aefe930ee1e43a0e536fbc8cc1e971430}\label{classACG_1_1SceneGraph_1_1PickAction_aefe930ee1e43a0e536fbc8cc1e971430}} 
void {\bfseries leave} (\hyperlink{classACG_1_1SceneGraph_1_1BaseNode}{Base\+Node} $\ast$\+\_\+node)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1PickAction_a094e93f628b8cf9bf1fdf3f91daa63e0}\label{classACG_1_1SceneGraph_1_1PickAction_a094e93f628b8cf9bf1fdf3f91daa63e0}} 
\hyperlink{classACG_1_1GLState}{G\+L\+State} \& {\bfseries state\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1PickAction_ae5b96b6328f0bd1d4e950e07eda8cbd1}\label{classACG_1_1SceneGraph_1_1PickAction_ae5b96b6328f0bd1d4e950e07eda8cbd1}} 
\hyperlink{namespaceACG_1_1SceneGraph_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} {\bfseries pick\+Target\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1PickAction_abc9d6f7fdbb909f318d38e299977e935}\label{classACG_1_1SceneGraph_1_1PickAction_abc9d6f7fdbb909f318d38e299977e935}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Modes\+::\+Draw\+Mode} {\bfseries drawmode\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This action is used to pick an object in a scene. All GL states for picking must be set before using this action. It merely draws the scene A\+ND uses the picking name stack. Needs \hyperlink{classACG_1_1GLState}{G\+L\+State}.

\begin{DoxyNote}{Note}
This class implements an action that should be used as a parameter for the \hyperlink{namespaceACG_1_1SceneGraph_af10521b6f81a7a588708218d75936f81}{traverse()} functions. 
\end{DoxyNote}


Definition at line 746 of file Scene\+Graph.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1PickAction_ace90382274402e5fe6ec6b2992250bf7}\label{classACG_1_1SceneGraph_1_1PickAction_ace90382274402e5fe6ec6b2992250bf7}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action@{A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action}!operator()@{operator()}}
\index{operator()@{operator()}!A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action@{A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action}}
\subsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action\+::operator() (\begin{DoxyParamCaption}\item[{\hyperlink{classACG_1_1SceneGraph_1_1BaseNode}{Base\+Node} $\ast$}]{\+\_\+node }\end{DoxyParamCaption})}

Action applied to the node 

Definition at line 104 of file Scene\+Graph.\+cc.

\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1PickAction_a7a7e935c727f8ffaf366d42ef4fe7582}\label{classACG_1_1SceneGraph_1_1PickAction_a7a7e935c727f8ffaf366d42ef4fe7582}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action@{A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action}!operator()@{operator()}}
\index{operator()@{operator()}!A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action@{A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action}}
\subsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action\+::operator() (\begin{DoxyParamCaption}\item[{\hyperlink{classACG_1_1SceneGraph_1_1BaseNode}{Base\+Node} $\ast$}]{\+\_\+node,  }\item[{\hyperlink{classACG_1_1GLState}{G\+L\+State} \&}]{\+\_\+state }\end{DoxyParamCaption})}

Action applied to the node Convenience operator which is used to handle calls with internal/external stack with the same operator 

Definition at line 127 of file Scene\+Graph.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/\hyperlink{SceneGraph_8hh}{Scene\+Graph.\+hh}\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/Scene\+Graph.\+cc\end{DoxyCompactItemize}
