\hypertarget{a01152}{\section{A\+C\+G\+:\+:Scene\+Graph\+:\+:A\+C\+G\+:\+:Scene\+Graph\+:\+:Set\+Draw\+Modes\+Action Class Reference}
\label{a01152}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a01152_adcdc7abee40e22704357c5c06eb64805}{Set\+Draw\+Modes\+Action} (\hyperlink{a00510}{Draw\+Modes\+::\+Draw\+Mode} \+\_\+mode, bool \+\_\+force=false)
\begin{DoxyCompactList}\small\item\em Set draw modes for all nodes traversed with this action. \end{DoxyCompactList}\item 
\hypertarget{a01152_abc498655f68d93aac7583218b188b644}{bool {\bfseries operator()} (\hyperlink{a00328}{Base\+Node} $\ast$\+\_\+node)}\label{a01152_abc498655f68d93aac7583218b188b644}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01152_a1feb26c6defb478d9f6f67ec0968060a}{\hyperlink{a00510}{Draw\+Modes\+::\+Draw\+Mode} {\bfseries new\+Modes\+\_\+}}\label{a01152_a1feb26c6defb478d9f6f67ec0968060a}

\item 
\hypertarget{a01152_aec8be86fade1a937a11578dd71b8ef84}{bool {\bfseries force\+\_\+}}\label{a01152_aec8be86fade1a937a11578dd71b8ef84}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
This action sets the draw mode on all nodes in a scenegraph. If the draw\+Mode is not supported by the node, it will set it to default draw mode. If the given mode is the default mode it will be set on all nodes.

\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 638 of file Mesh\+Node2\+T.\+cc.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a01152_adcdc7abee40e22704357c5c06eb64805}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action}!Set\+Draw\+Modes\+Action@{Set\+Draw\+Modes\+Action}}
\index{Set\+Draw\+Modes\+Action@{Set\+Draw\+Modes\+Action}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action}}
\subsubsection[{Set\+Draw\+Modes\+Action}]{\setlength{\rightskip}{0pt plus 5cm}A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Set\+Draw\+Modes\+Action\+::\+Set\+Draw\+Modes\+Action (
\begin{DoxyParamCaption}
\item[{{\bf Draw\+Modes\+::\+Draw\+Mode}}]{\+\_\+mode, }
\item[{bool}]{\+\_\+force = {\ttfamily false}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{a01152_adcdc7abee40e22704357c5c06eb64805}


Set draw modes for all nodes traversed with this action. 

This action can be used to set the drawmodes for all nodes which are traversed using this action.


\begin{DoxyParams}{Parameters}
{\em \+\_\+mode} & The draw mode set for the traversed nodes \\
\hline
{\em \+\_\+force} & If true, the mode is set ignoring if its supported by the nodes \\
\hline
\end{DoxyParams}


Definition at line 650 of file Mesh\+Node2\+T.\+cc.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Scenegraph/Mesh\+Node2\+T.\+cc\end{DoxyCompactItemize}
