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


{\ttfamily \#include $<$A\+C\+G/\+Scenegraph/\+Scene\+Graph.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00956_a096c81ffa6618e9ab4a3365ae01d9e70}{\hyperlink{a00956_a096c81ffa6618e9ab4a3365ae01d9e70}{Pick\+Action} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, \hyperlink{a03343_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} \+\_\+target, \hyperlink{a00509}{Draw\+Modes\+::\+Draw\+Mode} \+\_\+drawmode)}\label{a00956_a096c81ffa6618e9ab4a3365ae01d9e70}

\begin{DoxyCompactList}\small\item\em constructor\+: what picking target to use \end{DoxyCompactList}\item 
bool \hyperlink{a00956_ace90382274402e5fe6ec6b2992250bf7}{operator()} (\hyperlink{a00327}{Base\+Node} $\ast$\+\_\+node)
\item 
bool \hyperlink{a00956_a7a7e935c727f8ffaf366d42ef4fe7582}{operator()} (\hyperlink{a00327}{Base\+Node} $\ast$\+\_\+node, \hyperlink{a00643}{G\+L\+State} \&\+\_\+state)
\item 
\hypertarget{a00956_afe4efeba1798d242eba8a7fae616601a}{void {\bfseries enter} (\hyperlink{a00327}{Base\+Node} $\ast$\+\_\+node)}\label{a00956_afe4efeba1798d242eba8a7fae616601a}

\item 
\hypertarget{a00956_aefe930ee1e43a0e536fbc8cc1e971430}{void {\bfseries leave} (\hyperlink{a00327}{Base\+Node} $\ast$\+\_\+node)}\label{a00956_aefe930ee1e43a0e536fbc8cc1e971430}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00956_a094e93f628b8cf9bf1fdf3f91daa63e0}{\hyperlink{a00643}{G\+L\+State} \& {\bfseries state\+\_\+}}\label{a00956_a094e93f628b8cf9bf1fdf3f91daa63e0}

\item 
\hypertarget{a00956_ae5b96b6328f0bd1d4e950e07eda8cbd1}{\hyperlink{a03343_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} {\bfseries pick\+Target\+\_\+}}\label{a00956_ae5b96b6328f0bd1d4e950e07eda8cbd1}

\item 
\hypertarget{a00956_abc9d6f7fdbb909f318d38e299977e935}{\hyperlink{a00509}{Draw\+Modes\+::\+Draw\+Mode} {\bfseries drawmode\+\_\+}}\label{a00956_abc9d6f7fdbb909f318d38e299977e935}

\end{DoxyCompactItemize}


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

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


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



\subsection{Member Function Documentation}
\hypertarget{a00956_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[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}bool A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action\+::operator() (
\begin{DoxyParamCaption}
\item[{{\bf Base\+Node} $\ast$}]{\+\_\+node}
\end{DoxyParamCaption}
)}}\label{a00956_ace90382274402e5fe6ec6b2992250bf7}
Action applied to the node \hypertarget{a00956_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[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}bool A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action\+::operator() (
\begin{DoxyParamCaption}
\item[{{\bf Base\+Node} $\ast$}]{\+\_\+node, }
\item[{{\bf G\+L\+State} \&}]{\+\_\+state}
\end{DoxyParamCaption}
)}}\label{a00956_a7a7e935c727f8ffaf366d42ef4fe7582}
Action applied to the node Convenience operator which is used to handle calls with internal/external stack with the same operator 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Scenegraph/\hyperlink{a01700}{Scene\+Graph.\+hh}\end{DoxyCompactItemize}
