\hypertarget{a07976}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Pick\+Action Class Reference}
\label{a07976}\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{a07976_a40d4b9479c60acbcb312e9af501477fd}\label{a07976_a40d4b9479c60acbcb312e9af501477fd}} 
\hyperlink{a07976_a40d4b9479c60acbcb312e9af501477fd}{Pick\+Action} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, \hyperlink{a06177_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} \+\_\+target, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+drawmode)
\begin{DoxyCompactList}\small\item\em constructor\+: what picking target to use \end{DoxyCompactList}\item 
bool \hyperlink{a07976_ace90382274402e5fe6ec6b2992250bf7}{operator()} (\hyperlink{a07748}{Base\+Node} $\ast$\+\_\+node)
\item 
bool \hyperlink{a07976_a7a7e935c727f8ffaf366d42ef4fe7582}{operator()} (\hyperlink{a07748}{Base\+Node} $\ast$\+\_\+node, \hyperlink{a07452}{G\+L\+State} \&\+\_\+state)
\item 
\mbox{\Hypertarget{a07976_afe4efeba1798d242eba8a7fae616601a}\label{a07976_afe4efeba1798d242eba8a7fae616601a}} 
void {\bfseries enter} (\hyperlink{a07748}{Base\+Node} $\ast$\+\_\+node)
\item 
\mbox{\Hypertarget{a07976_aefe930ee1e43a0e536fbc8cc1e971430}\label{a07976_aefe930ee1e43a0e536fbc8cc1e971430}} 
void {\bfseries leave} (\hyperlink{a07748}{Base\+Node} $\ast$\+\_\+node)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07976_a094e93f628b8cf9bf1fdf3f91daa63e0}\label{a07976_a094e93f628b8cf9bf1fdf3f91daa63e0}} 
\hyperlink{a07452}{G\+L\+State} \& {\bfseries state\+\_\+}
\item 
\mbox{\Hypertarget{a07976_ae5b96b6328f0bd1d4e950e07eda8cbd1}\label{a07976_ae5b96b6328f0bd1d4e950e07eda8cbd1}} 
\hyperlink{a06177_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} {\bfseries pick\+Target\+\_\+}
\item 
\mbox{\Hypertarget{a07976_abc9d6f7fdbb909f318d38e299977e935}\label{a07976_abc9d6f7fdbb909f318d38e299977e935}} 
\hyperlink{a07792}{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{a07452}{G\+L\+State}.

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


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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a07976_ace90382274402e5fe6ec6b2992250bf7}\label{a07976_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{a07748}{Base\+Node} $\ast$}]{\+\_\+node }\end{DoxyParamCaption})}

Action applied to the node 

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

\mbox{\Hypertarget{a07976_a7a7e935c727f8ffaf366d42ef4fe7582}\label{a07976_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{a07748}{Base\+Node} $\ast$}]{\+\_\+node,  }\item[{\hyperlink{a07452}{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{a01094}{Scene\+Graph.\+hh}\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/Scene\+Graph.\+cc\end{DoxyCompactItemize}
