\hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Draw\+Modes Namespace Reference}
\label{namespaceACG_1_1SceneGraph_1_1DrawModes}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}
\begin{DoxyCompactList}\small\item\em Specifies a \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}. \end{DoxyCompactList}\item 
class \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawModeInternal}{Draw\+Mode\+Internal}
\begin{DoxyCompactList}\small\item\em Definition of a draw mode. \end{DoxyCompactList}\item 
class \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawModeProperties}{Draw\+Mode\+Properties}
\begin{DoxyCompactList}\small\item\em \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawModeProperties}{Draw\+Mode\+Properties} stores a set of properties that defines, how to render an object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a2fdf13e7b9993b366934dde373b6695d}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a2fdf13e7b9993b366934dde373b6695d}} 
typedef std\+::vector$<$ \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawModeInternal}{Draw\+Mode\+Internal} $>$ {\bfseries Vec\+Draw\+Modes}
\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_aee500745eaba639178be4d9bbf67bb70}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_aee500745eaba639178be4d9bbf67bb70}} 
typedef std\+::bitset$<$ 128 $>$ {\bfseries Mode\+Flag\+Set}
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceae}{Draw\+Mode\+Light\+Stage} \{ \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceaeae1d1e7dfea7e39b8c69fa4510abdc345}{L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+U\+N\+L\+IT}, 
\hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceaeaa203fc0c4ddcb8d387fcc25c543bd7de}{L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+S\+M\+O\+O\+TH}, 
\hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceaea68bcd3f22344cf6311f4b1ba4dfb6150}{L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+P\+H\+O\+NG}
 \}\begin{DoxyCompactList}\small\item\em Lighting stage of a mesh\+: unlit, smooth, phong. \end{DoxyCompactList}
\item 
enum \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_aff5214aaf6e6caba8f1a09f816d544fe}{Draw\+Mode\+Primitive} \{ \newline
{\bfseries P\+R\+I\+M\+I\+T\+I\+V\+E\+\_\+\+P\+O\+I\+NT}, 
{\bfseries P\+R\+I\+M\+I\+T\+I\+V\+E\+\_\+\+E\+D\+GE}, 
{\bfseries P\+R\+I\+M\+I\+T\+I\+V\+E\+\_\+\+H\+A\+L\+F\+E\+D\+GE}, 
{\bfseries P\+R\+I\+M\+I\+T\+I\+V\+E\+\_\+\+W\+I\+R\+E\+F\+R\+A\+ME}, 
\newline
{\bfseries P\+R\+I\+M\+I\+T\+I\+V\+E\+\_\+\+H\+I\+D\+D\+E\+N\+L\+I\+NE}, 
{\bfseries P\+R\+I\+M\+I\+T\+I\+V\+E\+\_\+\+P\+O\+L\+Y\+G\+ON}, 
{\bfseries P\+R\+I\+M\+I\+T\+I\+V\+E\+\_\+\+C\+E\+LL}
 \}\begin{DoxyCompactList}\small\item\em Primitive mode of a mesh. \end{DoxyCompactList}
\item 
enum \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479}{Draw\+Mode\+Color\+Source} \{ \newline
\hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479abbff308cc59983c5d96b2a28c46c089a}{C\+O\+L\+O\+R\+\_\+\+N\+O\+NE}, 
\hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479ac0c952f8d3c17d40b1c6d5bbb006eeaa}{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX}, 
\hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479a41c08634541fc49e5b9c1d79f4891a80}{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+E\+D\+GE}, 
\hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479a54d16afe741118717af07b285f0e845a}{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE}, 
\newline
\hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479accefeb3794cb00f3e3b65fb0a9314413}{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE}
 \}\begin{DoxyCompactList}\small\item\em Source of Primitive Colors. \end{DoxyCompactList}
\item 
enum \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5}{Draw\+Mode\+Tex\+Coord\+Source} \{ \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5aae0c92380d85135d8223e0411a2c5e73}{T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+N\+O\+NE}, 
\hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5af2583db24ae613dff8750331c7bf892b}{T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX}, 
\hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5acfd6a7e9af7192a924f0662341b1e174}{T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE}
 \}\begin{DoxyCompactList}\small\item\em Source of \hyperlink{classTexture}{Texture} Coordinates. \end{DoxyCompactList}
\item 
enum \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3}{Draw\+Mode\+Normal\+Source} \{ \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3aa95c2375311e3e2980eb9e00693c2e20}{N\+O\+R\+M\+A\+L\+\_\+\+N\+O\+NE}, 
\hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3a3f76c28daa45c2237ffd86fe1b004c48}{N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX}, 
\hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3a6e5b77959ce5c88cd34deec3c24a83a2}{N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE}, 
\hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3a1fc1db001dce1c0792ae60733ef4fdc0}{N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE}
 \}\begin{DoxyCompactList}\small\item\em Source of Normals. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_adc05a702dbfdbac29320676ae0235727}{initialize\+Default\+Draw\+Modes} (void)
\item 
const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \& \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_adc29d644e599946c994ace6f84b9e80c}{add\+Draw\+Mode} (const std\+::string \&\+\_\+name, bool \+\_\+property\+Based=false)
\begin{DoxyCompactList}\small\item\em Add a custom \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}. \end{DoxyCompactList}\item 
A\+C\+G\+D\+L\+L\+E\+X\+P\+O\+RT const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \& \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ab786ea48ebee0050fbea215b1fa26436}{add\+Draw\+Mode} (const std\+::string \&\+\_\+name, const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawModeProperties}{Draw\+Mode\+Properties} \&\+\_\+properties)
\begin{DoxyCompactList}\small\item\em Add a custom property based \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}. \end{DoxyCompactList}\item 
const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \& \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a8475ddf58f01d2d3ca4acc9941307756}{get\+Draw\+Mode} (const std\+::string \&\+\_\+name)
\begin{DoxyCompactList}\small\item\em Get a custom \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}. \end{DoxyCompactList}\item 
bool \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a503309de4b6856edae99f1ee9ba71a1e}{draw\+Mode\+Exists} (const std\+::string \&\+\_\+name)
\begin{DoxyCompactList}\small\item\em Check if the given draw mode exists. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_aa68bb2e1fc5919496cf8ec6f88f5e008}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_aa68bb2e1fc5919496cf8ec6f88f5e008}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_aa68bb2e1fc5919496cf8ec6f88f5e008}{get\+Draw\+Mode\+From\+Index} (unsigned int \+\_\+index)
\begin{DoxyCompactList}\small\item\em given an index of an atomic draw mode, return the drawmode \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_ab75ca81fb392e6fd334d689241296438}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_ab75ca81fb392e6fd334d689241296438}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ab75ca81fb392e6fd334d689241296438}{N\+O\+NE} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(0) )
\begin{DoxyCompactList}\small\item\em not a valid draw mode \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a86e2ee2cdca1cdeaf861126ce9604507}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a86e2ee2cdca1cdeaf861126ce9604507}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a86e2ee2cdca1cdeaf861126ce9604507}{D\+E\+F\+A\+U\+LT} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) )
\begin{DoxyCompactList}\small\item\em use the default (global) draw mode and not the node\textquotesingle{}s own. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a9c5f1ec0a64bebbfb0381f2a0edb34e1}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a9c5f1ec0a64bebbfb0381f2a0edb34e1}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a9c5f1ec0a64bebbfb0381f2a0edb34e1}{P\+O\+I\+N\+TS} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 1 )
\begin{DoxyCompactList}\small\item\em draw unlighted points using the default base color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a4a89d727671b57a3815a659333d8ae98}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a4a89d727671b57a3815a659333d8ae98}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a4a89d727671b57a3815a659333d8ae98}{P\+O\+I\+N\+T\+S\+\_\+\+C\+O\+L\+O\+R\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 2 )
\begin{DoxyCompactList}\small\item\em draw colored, but not lighted points (requires point colors) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_aaf32c0891b4002b61b580b44a38208f0}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_aaf32c0891b4002b61b580b44a38208f0}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_aaf32c0891b4002b61b580b44a38208f0}{P\+O\+I\+N\+T\+S\+\_\+\+S\+H\+A\+D\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 3 )
\begin{DoxyCompactList}\small\item\em draw shaded points (requires point normals) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a0d545c63e2c1d5e61744880a02496048}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a0d545c63e2c1d5e61744880a02496048}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a0d545c63e2c1d5e61744880a02496048}{E\+D\+G\+ES} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 4 )
\begin{DoxyCompactList}\small\item\em draw edges \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_ab5b51c85a6b0f3a99d8beb4a0213d508}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_ab5b51c85a6b0f3a99d8beb4a0213d508}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ab5b51c85a6b0f3a99d8beb4a0213d508}{E\+D\+G\+E\+S\+\_\+\+C\+O\+L\+O\+R\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 5 )
\begin{DoxyCompactList}\small\item\em draw edges with colors (without shading) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a87b0de55d27a5af827f277beedc5d5af}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a87b0de55d27a5af827f277beedc5d5af}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a87b0de55d27a5af827f277beedc5d5af}{W\+I\+R\+E\+F\+R\+A\+ME} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 6 )
\begin{DoxyCompactList}\small\item\em draw wireframe \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_af6e55b39543ac3c675d5cbfd499553be}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_af6e55b39543ac3c675d5cbfd499553be}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} {\bfseries F\+A\+C\+ES} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 7 )
\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a98660110d4ea8be09449966fd840e717}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a98660110d4ea8be09449966fd840e717}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a98660110d4ea8be09449966fd840e717}{H\+I\+D\+D\+E\+N\+L\+I\+NE} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 8 )
\begin{DoxyCompactList}\small\item\em draw hidden line (2 rendering passes needed) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_af3f2670dd4c43cef963aa6ca78203049}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_af3f2670dd4c43cef963aa6ca78203049}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_af3f2670dd4c43cef963aa6ca78203049}{S\+O\+L\+I\+D\+\_\+\+F\+L\+A\+T\+\_\+\+S\+H\+A\+D\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 9 )
\begin{DoxyCompactList}\small\item\em draw flat shaded faces (requires face normals) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a16ee1029ff0c1e34baaf32f6e0442b24}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a16ee1029ff0c1e34baaf32f6e0442b24}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a16ee1029ff0c1e34baaf32f6e0442b24}{S\+O\+L\+I\+D\+\_\+\+S\+M\+O\+O\+T\+H\+\_\+\+S\+H\+A\+D\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 10 )
\begin{DoxyCompactList}\small\item\em draw smooth shaded (Gouraud shaded) faces (requires halfedge normals) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a3178f45386cdc7de5ec57fa96338098a}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a3178f45386cdc7de5ec57fa96338098a}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a3178f45386cdc7de5ec57fa96338098a}{S\+O\+L\+I\+D\+\_\+\+P\+H\+O\+N\+G\+\_\+\+S\+H\+A\+D\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 11 )
\begin{DoxyCompactList}\small\item\em draw phong shaded faces \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a82803ae38af20b3c031e2f308334c758}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a82803ae38af20b3c031e2f308334c758}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a82803ae38af20b3c031e2f308334c758}{S\+O\+L\+I\+D\+\_\+\+F\+A\+C\+E\+S\+\_\+\+C\+O\+L\+O\+R\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 12 )
\begin{DoxyCompactList}\small\item\em draw colored, but not lighted faces using face colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_ac33bbfdca6acf373b32404b61563c3ee}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_ac33bbfdca6acf373b32404b61563c3ee}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ac33bbfdca6acf373b32404b61563c3ee}{S\+O\+L\+I\+D\+\_\+\+P\+O\+I\+N\+T\+S\+\_\+\+C\+O\+L\+O\+R\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 13 )
\begin{DoxyCompactList}\small\item\em draw colored, but not lighted faces using interpolated vertex colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a47205c3b3be94125ad37d3933d20f5a3}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a47205c3b3be94125ad37d3933d20f5a3}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a47205c3b3be94125ad37d3933d20f5a3}{S\+O\+L\+I\+D\+\_\+\+P\+O\+I\+N\+T\+S\+\_\+\+C\+O\+L\+O\+R\+E\+D\+\_\+\+S\+H\+A\+D\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 14 )
\begin{DoxyCompactList}\small\item\em draw faces, but use Gouraud shading to interpolate vertex colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a398596b34a0a8a7bd4d7cec8774dd31d}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a398596b34a0a8a7bd4d7cec8774dd31d}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a398596b34a0a8a7bd4d7cec8774dd31d}{S\+O\+L\+I\+D\+\_\+\+E\+N\+V\+\_\+\+M\+A\+P\+P\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 15 )
\begin{DoxyCompactList}\small\item\em draw environment mapped \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_adc877ef4e733513bbf5bfa50f21849a1}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_adc877ef4e733513bbf5bfa50f21849a1}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_adc877ef4e733513bbf5bfa50f21849a1}{S\+O\+L\+I\+D\+\_\+\+T\+E\+X\+T\+U\+R\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 16 )
\begin{DoxyCompactList}\small\item\em draw textured faces \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a7416b53706bcd303838f3b8559724005}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a7416b53706bcd303838f3b8559724005}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a7416b53706bcd303838f3b8559724005}{S\+O\+L\+I\+D\+\_\+\+T\+E\+X\+T\+U\+R\+E\+D\+\_\+\+S\+H\+A\+D\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 17 )
\begin{DoxyCompactList}\small\item\em draw smooth shaded textured faces \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_ab11a1c994abc29f0f1d8628c88fd5936}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_ab11a1c994abc29f0f1d8628c88fd5936}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ab11a1c994abc29f0f1d8628c88fd5936}{S\+O\+L\+I\+D\+\_\+1\+D\+T\+E\+X\+T\+U\+R\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 18 )
\begin{DoxyCompactList}\small\item\em draw textured faces \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_ae9c755057177f178265d8fdb21c573b5}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_ae9c755057177f178265d8fdb21c573b5}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ae9c755057177f178265d8fdb21c573b5}{S\+O\+L\+I\+D\+\_\+1\+D\+T\+E\+X\+T\+U\+R\+E\+D\+\_\+\+S\+H\+A\+D\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 19 )
\begin{DoxyCompactList}\small\item\em draw smooth shaded textured faces \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_accc21cba623344735fcd4e1298b58ec3}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_accc21cba623344735fcd4e1298b58ec3}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_accc21cba623344735fcd4e1298b58ec3}{S\+O\+L\+I\+D\+\_\+3\+D\+T\+E\+X\+T\+U\+R\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 20 )
\begin{DoxyCompactList}\small\item\em draw textured faces \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a43f1d846b8e0dd2459fcb87dfa50c1dc}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a43f1d846b8e0dd2459fcb87dfa50c1dc}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a43f1d846b8e0dd2459fcb87dfa50c1dc}{S\+O\+L\+I\+D\+\_\+3\+D\+T\+E\+X\+T\+U\+R\+E\+D\+\_\+\+S\+H\+A\+D\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 21 )
\begin{DoxyCompactList}\small\item\em draw smooth shaded textured faces \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a877d1325de55fdc2bf86c3e642e1ec53}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a877d1325de55fdc2bf86c3e642e1ec53}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a877d1325de55fdc2bf86c3e642e1ec53}{S\+O\+L\+I\+D\+\_\+\+F\+A\+C\+E\+S\+\_\+\+C\+O\+L\+O\+R\+E\+D\+\_\+\+F\+L\+A\+T\+\_\+\+S\+H\+A\+D\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 22 )
\begin{DoxyCompactList}\small\item\em draw flat shaded and colored faces (requires face normals and colors) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a487f8307e5b1eefb197dd0c586ce443a}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a487f8307e5b1eefb197dd0c586ce443a}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a487f8307e5b1eefb197dd0c586ce443a}{S\+O\+L\+I\+D\+\_\+\+F\+A\+C\+E\+S\+\_\+\+C\+O\+L\+O\+R\+E\+D\+\_\+\+S\+M\+O\+O\+T\+H\+\_\+\+S\+H\+A\+D\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 23 )
\begin{DoxyCompactList}\small\item\em draw smooth shaded and colored faces (requires vertex normals and face colors) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a773f41d4ae221c6c790c30ef019f65e5}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a773f41d4ae221c6c790c30ef019f65e5}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a773f41d4ae221c6c790c30ef019f65e5}{S\+O\+L\+I\+D\+\_\+2\+D\+T\+E\+X\+T\+U\+R\+E\+D\+\_\+\+F\+A\+CE} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 24 )
\begin{DoxyCompactList}\small\item\em draw per halfedge textured faces \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a7a2ae1320f285707fa95cc0e99f38f4c}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a7a2ae1320f285707fa95cc0e99f38f4c}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a7a2ae1320f285707fa95cc0e99f38f4c}{S\+O\+L\+I\+D\+\_\+2\+D\+T\+E\+X\+T\+U\+R\+E\+D\+\_\+\+F\+A\+C\+E\+\_\+\+S\+H\+A\+D\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 25 )
\begin{DoxyCompactList}\small\item\em draw per halfedge textured faces \end{DoxyCompactList}\item 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a883513ed394fd28c94856f9179323df3}{S\+O\+L\+I\+D\+\_\+\+S\+H\+A\+D\+ER} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 26 )
\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_acdb72173e1aa0b42ef63d655b7ed4c32}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_acdb72173e1aa0b42ef63d655b7ed4c32}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_acdb72173e1aa0b42ef63d655b7ed4c32}{S\+O\+L\+I\+D\+\_\+\+S\+M\+O\+O\+T\+H\+\_\+\+S\+H\+A\+D\+E\+D\+\_\+\+F\+E\+A\+T\+U\+R\+ES} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 27 )
\begin{DoxyCompactList}\small\item\em draw smooth shaded (Gouraud shaded) faces (requires halfedge normals) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a07f348f08fb3cfdca27701c714f3ae28}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a07f348f08fb3cfdca27701c714f3ae28}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} {\bfseries C\+E\+L\+LS} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 28 )
\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a9038863cde22f7eaee6cf0abb3a74c07}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a9038863cde22f7eaee6cf0abb3a74c07}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a9038863cde22f7eaee6cf0abb3a74c07}{C\+E\+L\+L\+S\+\_\+\+C\+O\+L\+O\+R\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 29 )
\begin{DoxyCompactList}\small\item\em draw cells with colors (without shading) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a39060d2f52497360241312ef25d51ae8}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a39060d2f52497360241312ef25d51ae8}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a39060d2f52497360241312ef25d51ae8}{H\+A\+L\+F\+E\+D\+G\+ES} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 30 )
\begin{DoxyCompactList}\small\item\em draw halfedges \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a712f4fc157f63dd4bdae157637bb28ed}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a712f4fc157f63dd4bdae157637bb28ed}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a712f4fc157f63dd4bdae157637bb28ed}{H\+A\+L\+F\+E\+D\+G\+E\+S\+\_\+\+C\+O\+L\+O\+R\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 31 )
\begin{DoxyCompactList}\small\item\em draw halfedges with colors (without shading) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a9b5aaa126731cdad23af1d7e88c6f6c7}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a9b5aaa126731cdad23af1d7e88c6f6c7}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a9b5aaa126731cdad23af1d7e88c6f6c7}{S\+O\+L\+I\+D\+\_\+\+F\+A\+C\+E\+S\+\_\+\+C\+O\+L\+O\+R\+E\+D\+\_\+2\+D\+T\+E\+X\+T\+U\+R\+E\+D\+\_\+\+F\+A\+C\+E\+\_\+\+S\+M\+O\+O\+T\+H\+\_\+\+S\+H\+A\+D\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 32 )
\begin{DoxyCompactList}\small\item\em draw per halfedge texture faces modulated with face colors with smooth shading \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a2fc1332dcf5ee5ac5e6509845d18174d}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a2fc1332dcf5ee5ac5e6509845d18174d}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a2fc1332dcf5ee5ac5e6509845d18174d}{U\+N\+U\+S\+ED} = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 33 )
\begin{DoxyCompactList}\small\item\em marks the last used ID \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This namespace consists of the definition of all available draw modes, function to get their name (description()) and to include them in a Q\+Popup\+Menu. 

\subsection{Enumeration Type Documentation}
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!Draw\+Mode\+Color\+Source@{Draw\+Mode\+Color\+Source}}
\index{Draw\+Mode\+Color\+Source@{Draw\+Mode\+Color\+Source}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}
\subsubsection{\texorpdfstring{Draw\+Mode\+Color\+Source}{DrawModeColorSource}}
{\footnotesize\ttfamily enum \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode\+Color\+Source}}



Source of Primitive Colors. 

This is interpreted as a per vertex diffuse and ambient color and multiplied with the material diffuse/ambient colors. \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{C\+O\+L\+O\+R\+\_\+\+N\+O\+NE@{C\+O\+L\+O\+R\+\_\+\+N\+O\+NE}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!C\+O\+L\+O\+R\+\_\+\+N\+O\+NE@{C\+O\+L\+O\+R\+\_\+\+N\+O\+NE}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479abbff308cc59983c5d96b2a28c46c089a}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479abbff308cc59983c5d96b2a28c46c089a}} 
C\+O\+L\+O\+R\+\_\+\+N\+O\+NE&Use material colors only \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX@{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX@{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479ac0c952f8d3c17d40b1c6d5bbb006eeaa}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479ac0c952f8d3c17d40b1c6d5bbb006eeaa}} 
C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX&Load per vertex colors and modulate with material color \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+E\+D\+GE@{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+E\+D\+GE}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+E\+D\+GE@{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+E\+D\+GE}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479a41c08634541fc49e5b9c1d79f4891a80}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479a41c08634541fc49e5b9c1d79f4891a80}} 
C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+E\+D\+GE&Load per edge colors and modulate with material color \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE@{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE@{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479a54d16afe741118717af07b285f0e845a}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479a54d16afe741118717af07b285f0e845a}} 
C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE&Load per halfedge colors and modulate with material color \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE@{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE@{C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479accefeb3794cb00f3e3b65fb0a9314413}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a874611037c39fcd3319a8c1af73ab479accefeb3794cb00f3e3b65fb0a9314413}} 
C\+O\+L\+O\+R\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE&Load per face colors and modulate with material color \\
\hline

\end{DoxyEnumFields}


Definition at line 134 of file Draw\+Modes.\+hh.

\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceae}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceae}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!Draw\+Mode\+Light\+Stage@{Draw\+Mode\+Light\+Stage}}
\index{Draw\+Mode\+Light\+Stage@{Draw\+Mode\+Light\+Stage}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}
\subsubsection{\texorpdfstring{Draw\+Mode\+Light\+Stage}{DrawModeLightStage}}
{\footnotesize\ttfamily enum \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceae}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode\+Light\+Stage}}



Lighting stage of a mesh\+: unlit, smooth, phong. 

Don\textquotesingle{}t confuse this with the interpolation mode of vertex attributes. This only says where to apply lighting, and nothing else.

Instead the interpolation mode is customizable for each attribute, making \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawModeProperties}{Draw\+Mode\+Properties} more flexible.

flat shading can be achieved by using L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+S\+M\+O\+O\+TH and setting the normal source to N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+U\+N\+L\+IT@{L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+U\+N\+L\+IT}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+U\+N\+L\+IT@{L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+U\+N\+L\+IT}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceaeae1d1e7dfea7e39b8c69fa4510abdc345}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceaeae1d1e7dfea7e39b8c69fa4510abdc345}} 
L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+U\+N\+L\+IT&No lighting, normals may be used by user defined shaders \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+S\+M\+O\+O\+TH@{L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+S\+M\+O\+O\+TH}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+S\+M\+O\+O\+TH@{L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+S\+M\+O\+O\+TH}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceaeaa203fc0c4ddcb8d387fcc25c543bd7de}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceaeaa203fc0c4ddcb8d387fcc25c543bd7de}} 
L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+S\+M\+O\+O\+TH&Perform lighting in vertex shader \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+P\+H\+O\+NG@{L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+P\+H\+O\+NG}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+P\+H\+O\+NG@{L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+P\+H\+O\+NG}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceaea68bcd3f22344cf6311f4b1ba4dfb6150}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a225c5d9c693ecbcae541b84b4e1cceaea68bcd3f22344cf6311f4b1ba4dfb6150}} 
L\+I\+G\+H\+T\+S\+T\+A\+G\+E\+\_\+\+P\+H\+O\+NG&Perform lighting in fragment shader \\
\hline

\end{DoxyEnumFields}


Definition at line 107 of file Draw\+Modes.\+hh.

\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!Draw\+Mode\+Normal\+Source@{Draw\+Mode\+Normal\+Source}}
\index{Draw\+Mode\+Normal\+Source@{Draw\+Mode\+Normal\+Source}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}
\subsubsection{\texorpdfstring{Draw\+Mode\+Normal\+Source}{DrawModeNormalSource}}
{\footnotesize\ttfamily enum \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode\+Normal\+Source}}



Source of Normals. 

This must be specified if lighting is enabled. \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{N\+O\+R\+M\+A\+L\+\_\+\+N\+O\+NE@{N\+O\+R\+M\+A\+L\+\_\+\+N\+O\+NE}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!N\+O\+R\+M\+A\+L\+\_\+\+N\+O\+NE@{N\+O\+R\+M\+A\+L\+\_\+\+N\+O\+NE}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3aa95c2375311e3e2980eb9e00693c2e20}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3aa95c2375311e3e2980eb9e00693c2e20}} 
N\+O\+R\+M\+A\+L\+\_\+\+N\+O\+NE&Disable lighting \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX@{N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX@{N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3a3f76c28daa45c2237ffd86fe1b004c48}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3a3f76c28daa45c2237ffd86fe1b004c48}} 
N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX&Use per vertex normals \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE@{N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE@{N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3a6e5b77959ce5c88cd34deec3c24a83a2}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3a6e5b77959ce5c88cd34deec3c24a83a2}} 
N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE&Use per halfedge normals \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE@{N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE@{N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3a1fc1db001dce1c0792ae60733ef4fdc0}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_ad95f643fa1956884e8f35ad6bbbcb1b3a1fc1db001dce1c0792ae60733ef4fdc0}} 
N\+O\+R\+M\+A\+L\+\_\+\+P\+E\+R\+\_\+\+F\+A\+CE&Use per face normals \begin{DoxyNote}{Note}
per face is implicitly used in S\+H\+A\+D\+E\+\_\+\+F\+L\+AT mode 
\end{DoxyNote}
\\
\hline

\end{DoxyEnumFields}


Definition at line 159 of file Draw\+Modes.\+hh.

\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_aff5214aaf6e6caba8f1a09f816d544fe}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_aff5214aaf6e6caba8f1a09f816d544fe}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!Draw\+Mode\+Primitive@{Draw\+Mode\+Primitive}}
\index{Draw\+Mode\+Primitive@{Draw\+Mode\+Primitive}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}
\subsubsection{\texorpdfstring{Draw\+Mode\+Primitive}{DrawModePrimitive}}
{\footnotesize\ttfamily enum \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_aff5214aaf6e6caba8f1a09f816d544fe}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode\+Primitive}}



Primitive mode of a mesh. 

Example\+: P\+R\+I\+M\+I\+T\+I\+V\+E\+\_\+\+E\+D\+GE on a polygon mesh renders only edges of the mesh. 

Definition at line 118 of file Draw\+Modes.\+hh.

\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!Draw\+Mode\+Tex\+Coord\+Source@{Draw\+Mode\+Tex\+Coord\+Source}}
\index{Draw\+Mode\+Tex\+Coord\+Source@{Draw\+Mode\+Tex\+Coord\+Source}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}
\subsubsection{\texorpdfstring{Draw\+Mode\+Tex\+Coord\+Source}{DrawModeTexCoordSource}}
{\footnotesize\ttfamily enum \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode\+Tex\+Coord\+Source}}



Source of \hyperlink{classACG_1_1Texture}{Texture} Coordinates. 

This must be specified for a textured draw. \begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+N\+O\+NE@{T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+N\+O\+NE}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+N\+O\+NE@{T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+N\+O\+NE}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5aae0c92380d85135d8223e0411a2c5e73}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5aae0c92380d85135d8223e0411a2c5e73}} 
T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+N\+O\+NE&Disable texture mapping \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX@{T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX@{T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5af2583db24ae613dff8750331c7bf892b}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5af2583db24ae613dff8750331c7bf892b}} 
T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+P\+E\+R\+\_\+\+V\+E\+R\+T\+EX&Use per vertex texcoords for texture mapping \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE@{T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE@{T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE}}}\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5acfd6a7e9af7192a924f0662341b1e174}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a93189412ca623f8335573682495acae5acfd6a7e9af7192a924f0662341b1e174}} 
T\+E\+X\+C\+O\+O\+R\+D\+\_\+\+P\+E\+R\+\_\+\+H\+A\+L\+F\+E\+D\+GE&Use per halfedge texcoords for texture mapping \\
\hline

\end{DoxyEnumFields}


Definition at line 147 of file Draw\+Modes.\+hh.



\subsection{Function Documentation}
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_adc29d644e599946c994ace6f84b9e80c}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_adc29d644e599946c994ace6f84b9e80c}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!add\+Draw\+Mode@{add\+Draw\+Mode}}
\index{add\+Draw\+Mode@{add\+Draw\+Mode}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}
\subsubsection{\texorpdfstring{add\+Draw\+Mode()}{addDrawMode()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily A\+C\+G\+D\+L\+L\+E\+X\+P\+O\+RT const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \& A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::add\+Draw\+Mode (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{\+\_\+name,  }\item[{bool}]{\+\_\+property\+Based = {\ttfamily false} }\end{DoxyParamCaption})}



Add a custom \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}. 

The id of the new draw mode is returned. If it already exists, the id of the existing one is returned.

Property based draw modes consist of various flags, which define which primitives and additional information are send to the gpu.


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the draw mode to add \\
\hline
{\em \+\_\+property\+Based} & If set to true a property based draw mode is created. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Id of the new draw mode 
\end{DoxyReturn}


Definition at line 765 of file Draw\+Modes.\+cc.

\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_ab786ea48ebee0050fbea215b1fa26436}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_ab786ea48ebee0050fbea215b1fa26436}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!add\+Draw\+Mode@{add\+Draw\+Mode}}
\index{add\+Draw\+Mode@{add\+Draw\+Mode}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}
\subsubsection{\texorpdfstring{add\+Draw\+Mode()}{addDrawMode()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily A\+C\+G\+D\+L\+L\+E\+X\+P\+O\+RT const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \& A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::add\+Draw\+Mode (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{\+\_\+name,  }\item[{const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawModeProperties}{Draw\+Mode\+Properties} \&}]{\+\_\+properties }\end{DoxyParamCaption})}



Add a custom property based \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}. 

The id of the new draw mode is returned. If it already exists, the id of the existing one is returned.

\begin{DoxyNote}{Note}
If the \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} already exists, the properties will be applied to the existing mode!!
\end{DoxyNote}
Property based draw modes consist of various flags, which define which primitives and additional information are send to the gpu.


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the draw mode to add \\
\hline
{\em \+\_\+properties} & \hyperlink{classProperties}{Properties} of the drawmode \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Id of the new draw mode 
\end{DoxyReturn}


Definition at line 787 of file Draw\+Modes.\+cc.

\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a503309de4b6856edae99f1ee9ba71a1e}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a503309de4b6856edae99f1ee9ba71a1e}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!draw\+Mode\+Exists@{draw\+Mode\+Exists}}
\index{draw\+Mode\+Exists@{draw\+Mode\+Exists}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}
\subsubsection{\texorpdfstring{draw\+Mode\+Exists()}{drawModeExists()}}
{\footnotesize\ttfamily A\+C\+G\+D\+L\+L\+E\+X\+P\+O\+RT bool A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::draw\+Mode\+Exists (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{\+\_\+name }\end{DoxyParamCaption})}



Check if the given draw mode exists. 



Definition at line 824 of file Draw\+Modes.\+cc.

\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a8475ddf58f01d2d3ca4acc9941307756}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a8475ddf58f01d2d3ca4acc9941307756}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!get\+Draw\+Mode@{get\+Draw\+Mode}}
\index{get\+Draw\+Mode@{get\+Draw\+Mode}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}
\subsubsection{\texorpdfstring{get\+Draw\+Mode()}{getDrawMode()}}
{\footnotesize\ttfamily A\+C\+G\+D\+L\+L\+E\+X\+P\+O\+RT const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \& A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::get\+Draw\+Mode (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{\+\_\+name }\end{DoxyParamCaption})}



Get a custom \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}. 

The id of the draw mode is returned or if it does not exist, Draw\+Mode\+::\+N\+O\+NE is returned.


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Id of the draw mode or \hyperlink{namespaceACG_1_1SceneGraph_1_1DrawModes_ab75ca81fb392e6fd334d689241296438}{Draw\+Modes\+::\+N\+O\+NE} 
\end{DoxyReturn}


Definition at line 807 of file Draw\+Modes.\+cc.

\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_adc05a702dbfdbac29320676ae0235727}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_adc05a702dbfdbac29320676ae0235727}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!initialize\+Default\+Draw\+Modes@{initialize\+Default\+Draw\+Modes}}
\index{initialize\+Default\+Draw\+Modes@{initialize\+Default\+Draw\+Modes}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}
\subsubsection{\texorpdfstring{initialize\+Default\+Draw\+Modes()}{initializeDefaultDrawModes()}}
{\footnotesize\ttfamily A\+C\+G\+D\+L\+L\+E\+X\+P\+O\+RT void A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::initialize\+Default\+Draw\+Modes (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

Initialize the default modes. This function has to be called at least once at application startup. 

Definition at line 639 of file Draw\+Modes.\+cc.



\subsection{Variable Documentation}
\mbox{\Hypertarget{namespaceACG_1_1SceneGraph_1_1DrawModes_a883513ed394fd28c94856f9179323df3}\label{namespaceACG_1_1SceneGraph_1_1DrawModes_a883513ed394fd28c94856f9179323df3}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}!S\+O\+L\+I\+D\+\_\+\+S\+H\+A\+D\+ER@{S\+O\+L\+I\+D\+\_\+\+S\+H\+A\+D\+ER}}
\index{S\+O\+L\+I\+D\+\_\+\+S\+H\+A\+D\+ER@{S\+O\+L\+I\+D\+\_\+\+S\+H\+A\+D\+ER}!A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes@{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes}}
\subsubsection{\texorpdfstring{S\+O\+L\+I\+D\+\_\+\+S\+H\+A\+D\+ER}{SOLID\_SHADER}}
{\footnotesize\ttfamily A\+C\+G\+D\+L\+L\+E\+X\+P\+O\+RT \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode} A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+S\+O\+L\+I\+D\+\_\+\+S\+H\+A\+D\+ER = \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Mode}( Mode\+Flag\+Set(1) $<$$<$ 26 )}

drawing is controlled by shaders ( Use shadernodes to set them before the actual object to render) 

Definition at line 98 of file Draw\+Modes.\+cc.

