\hypertarget{SceneGraph_8hh}{}\section{Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/\+Scene\+Graph.hh File Reference}
\label{SceneGraph_8hh}\index{Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/\+Scene\+Graph.\+hh@{Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/\+Scene\+Graph.\+hh}}
{\ttfamily \#include \char`\"{}Base\+Node.\+hh\char`\"{}}\newline
{\ttfamily \#include \char`\"{}Draw\+Modes.\+hh\char`\"{}}\newline
{\ttfamily \#include \char`\"{}../\+Math/\+Vector\+T.\+hh\char`\"{}}\newline
{\ttfamily \#include $<$cfloat$>$}\newline
{\ttfamily \#include $<$Q\+Mouse\+Event$>$}\newline
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structACG_1_1SceneGraph_1_1enable__if}{A\+C\+G\+::\+Scene\+Graph\+::enable\+\_\+if$<$ C, T $>$}
\item 
struct \hyperlink{structACG_1_1SceneGraph_1_1enable__if_3_01false_00_01T_01_4}{A\+C\+G\+::\+Scene\+Graph\+::enable\+\_\+if$<$ false, T $>$}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1BoundingBoxAction}{A\+C\+G\+::\+Scene\+Graph\+::\+Bounding\+Box\+Action}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1MultiPassInfoAction}{A\+C\+G\+::\+Scene\+Graph\+::\+Multi\+Pass\+Info\+Action}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1FindNodeAction}{A\+C\+G\+::\+Scene\+Graph\+::\+Find\+Node\+Action}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1CollectDrawModesAction}{A\+C\+G\+::\+Scene\+Graph\+::\+Collect\+Draw\+Modes\+Action}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1CollectActiveDrawModesAction}{A\+C\+G\+::\+Scene\+Graph\+::\+Collect\+Active\+Draw\+Modes\+Action}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1SetDrawModesAction}{A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1DrawAction}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Action}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1PickAction}{A\+C\+G\+::\+Scene\+Graph\+::\+Pick\+Action}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1MouseEventAction}{A\+C\+G\+::\+Scene\+Graph\+::\+Mouse\+Event\+Action}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1CheckDirtyAction}{A\+C\+G\+::\+Scene\+Graph\+::\+Check\+Dirty\+Action}
\end{DoxyCompactItemize}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \hyperlink{namespaceACG}{A\+CG}
\begin{DoxyCompactList}\small\item\em Namespace providing different geometric functions concerning angles. \end{DoxyCompactList}\item 
 \hyperlink{namespaceACG_1_1SceneGraph}{A\+C\+G\+::\+Scene\+Graph}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bfseries H\+A\+S\+\_\+\+M\+E\+M\+\_\+\+F\+U\+NC}(func)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_a1561ba4965dbcd56447336c2ff846c2a}\label{namespaceACG_1_1SceneGraph_a1561ba4965dbcd56447336c2ff846c2a}} 
{\footnotesize template$<$typename Action $>$ }\\enable\+\_\+if$<$ has\+\_\+enter$<$ Action, void(Action\+::$\ast$)(\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$) $>$\+::value, void $>$\+::type {\bfseries A\+C\+G\+::\+Scene\+Graph\+::if\+\_\+has\+\_\+enter} (Action \&\+\_\+action, \hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$\+\_\+node)
\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_af9da042711482a3fb2b2935154a64bac}\label{namespaceACG_1_1SceneGraph_af9da042711482a3fb2b2935154a64bac}} 
{\footnotesize template$<$typename Action $>$ }\\enable\+\_\+if$<$!has\+\_\+enter$<$ Action, void(Action\+::$\ast$)(\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$) $>$\+::value, void $>$\+::type {\bfseries A\+C\+G\+::\+Scene\+Graph\+::if\+\_\+has\+\_\+enter} (Action \&, \hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$)
\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_ad057a5dccf37ee828dc60451f2e800bf}\label{namespaceACG_1_1SceneGraph_ad057a5dccf37ee828dc60451f2e800bf}} 
{\footnotesize template$<$typename Action $>$ }\\enable\+\_\+if$<$ has\+\_\+leave$<$ Action, void(Action\+::$\ast$)(\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$) $>$\+::value, void $>$\+::type {\bfseries A\+C\+G\+::\+Scene\+Graph\+::if\+\_\+has\+\_\+leave} (Action \&\+\_\+action, \hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$\+\_\+node)
\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_a08a7c856c27f42757b89fe53628d1826}\label{namespaceACG_1_1SceneGraph_a08a7c856c27f42757b89fe53628d1826}} 
{\footnotesize template$<$typename Action $>$ }\\enable\+\_\+if$<$!has\+\_\+enter$<$ Action, void(Action\+::$\ast$)(\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$) $>$\+::value, void $>$\+::type {\bfseries A\+C\+G\+::\+Scene\+Graph\+::if\+\_\+has\+\_\+leave} (Action \&, \hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$)
\item 
{\footnotesize template$<$class Action $>$ }\\void \hyperlink{namespaceACG_1_1SceneGraph_af10521b6f81a7a588708218d75936f81}{A\+C\+G\+::\+Scene\+Graph\+::traverse} (\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$\+\_\+node, Action \&\+\_\+action)
\item 
{\footnotesize template$<$class Action $>$ }\\void \hyperlink{namespaceACG_1_1SceneGraph_a334bbeb5b340547913d31f7cf17f9872}{A\+C\+G\+::\+Scene\+Graph\+::traverse\+\_\+all} (\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$\+\_\+node, Action \&\+\_\+action)
\item 
{\footnotesize template$<$class Action $>$ }\\void \hyperlink{namespaceACG_1_1SceneGraph_a7a6bc81c886119388cc6efe0fd7c8c85}{A\+C\+G\+::\+Scene\+Graph\+::traverse\+\_\+multipass} (\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$\+\_\+node, Action \&\+\_\+action, const unsigned int \&\+\_\+pass)
\item 
{\footnotesize template$<$class Action $>$ }\\void \hyperlink{namespaceACG_1_1SceneGraph_a43edcdd142eacba808a327fbc942a85c}{A\+C\+G\+::\+Scene\+Graph\+::traverse\+\_\+multipass} (\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$\+\_\+node, Action \&\+\_\+action, G\+L\+State \&\+\_\+state, Draw\+Modes\+::\+Draw\+Mode=Draw\+Modes\+::\+D\+E\+F\+A\+U\+LT)
\item 
\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$ \hyperlink{namespaceACG_1_1SceneGraph_a1299f77548fd1f3541aeb9096c4b4b22}{A\+C\+G\+::\+Scene\+Graph\+::find\+\_\+node} (\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$\+\_\+root, unsigned int \+\_\+node\+\_\+idx)
\begin{DoxyCompactList}\small\item\em Find a node in the scene graph. \end{DoxyCompactList}\item 
\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$ \hyperlink{namespaceACG_1_1SceneGraph_a677575bee2f37781b1a43e235037d5d6}{A\+C\+G\+::\+Scene\+Graph\+::find\+\_\+hidden\+\_\+node} (\hyperlink{BaseObjectData_8hh_a5bfac87fd7e6d7cd056e34dbb133de0d}{Base\+Node} $\ast$\+\_\+root, unsigned int \+\_\+node\+\_\+idx)
\begin{DoxyCompactList}\small\item\em Find a node in the scene graph. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This file contains the traversal functions used to apply actions to the Scene\+Graph. 

\subsection{Macro Definition Documentation}
\mbox{\Hypertarget{SceneGraph_8hh_a8fc9ce15d1f493dac458e328111288f9}\label{SceneGraph_8hh_a8fc9ce15d1f493dac458e328111288f9}} 
\index{Scene\+Graph.\+hh@{Scene\+Graph.\+hh}!H\+A\+S\+\_\+\+M\+E\+M\+\_\+\+F\+U\+NC@{H\+A\+S\+\_\+\+M\+E\+M\+\_\+\+F\+U\+NC}}
\index{H\+A\+S\+\_\+\+M\+E\+M\+\_\+\+F\+U\+NC@{H\+A\+S\+\_\+\+M\+E\+M\+\_\+\+F\+U\+NC}!Scene\+Graph.\+hh@{Scene\+Graph.\+hh}}
\subsubsection{\texorpdfstring{H\+A\+S\+\_\+\+M\+E\+M\+\_\+\+F\+U\+NC}{HAS\_MEM\_FUNC}}
{\footnotesize\ttfamily \#define H\+A\+S\+\_\+\+M\+E\+M\+\_\+\+F\+U\+NC(\begin{DoxyParamCaption}\item[{}]{func }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}
\textcolor{keyword}{template}<\textcolor{keyword}{typename} T, \textcolor{keyword}{typename} Sign>                                               \(\backslash\)
    struct has\_##func \{                                                               \(\backslash\)
        template <typename U, U> \textcolor{keyword}{struct }type\_check;                                   \(\backslash\)
        template <typename \_1> \textcolor{keyword}{static} char (& chk(type\_check<Sign, &\_1::func> *))[1]; \(\backslash\)
        template <typename   > \textcolor{keyword}{static} char (& chk(...))[2];                           \(\backslash\)
        static \textcolor{keywordtype}{bool} \textcolor{keyword}{const} value = \textcolor{keyword}{sizeof}(chk<T>(0)) == 1;                             \(\backslash\)
    \};
\end{DoxyCode}


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

