\hypertarget{a00793}{\section{A\+C\+G\+:\+:Scene\+Graph\+:\+:A\+C\+G\+:\+:Scene\+Graph\+:\+:Material\+Node Class Reference}
\label{a00793}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}
}


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

Inheritance diagram for A\+C\+G\+:\+:Scene\+Graph\+:\+:A\+C\+G\+:\+:Scene\+Graph\+:\+:Material\+Node\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=0.677966cm]{a00793}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5}{Apply\+Properties} \{ \\*
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5a81d36fef8c701d7b715ac6235f6c14e5}{None} =0, 
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5a704f87c06fc7afee790de73e3865b186}{All} =0xffff, 
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5a5d493e00fb85deadc932f9bf2482750d}{Base\+Color} =1, 
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5a44120225a7a59ec7099a64ce139cfd28}{Material} =2, 
\\*
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5a7de50e680d35c9eafc259bc135e0b22a}{Point\+Size} =4, 
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5a539e41470c8486d28504fa68d78ef956}{Line\+Width} =8, 
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5ab7ed9c52581b6e6b7a9587e5f9d258d8}{Round\+Points} =16, 
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5a2b8c0333c9c82f5a945246da226067a4}{Line\+Smooth} =32, 
\\*
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5abaf5e119d59fe982a6c6f05948a26b38}{Alpha\+Test} =64, 
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5aca831f4791333edf5e93af0905f9b4c3}{Blending} =128, 
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5a203ed4ae82b5f5d2731b23e9bc945bb3}{Back\+Face\+Culling} =256, 
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5a844d17621c18ae81cb64146881324ec2}{Color\+Material} =512, 
\\*
\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5af720a54ac09abe5702f382f88461229c}{Multi\+Sampling} =1024
 \}
\begin{DoxyCompactList}\small\item\em Apply which properties? Others will be ignored. Values may be O\+R'ed. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00793_a2d418139423fb63b1527c43f77e1c2b1}{\hyperlink{a00793_a2d418139423fb63b1527c43f77e1c2b1}{Material\+Node} (\hyperlink{a00328}{Base\+Node} $\ast$\+\_\+parent=0, const std\+::string \&\+\_\+name=\char`\"{}$<$Material\+Node$>$\char`\"{}, unsigned int \+\_\+apply\+Properties=(\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5a704f87c06fc7afee790de73e3865b186}{All} \&$\sim$\hyperlink{a00793_a69499bd50536d3587303f1c879db5cf5a203ed4ae82b5f5d2731b23e9bc945bb3}{Back\+Face\+Culling}))}\label{a00793_a2d418139423fb63b1527c43f77e1c2b1}

\begin{DoxyCompactList}\small\item\em Default constructor. Applies all properties. \end{DoxyCompactList}\item 
\hypertarget{a00793_a22275f6b5ddd8ddfa953b6eeedeeb756}{virtual \hyperlink{a00793_a22275f6b5ddd8ddfa953b6eeedeeb756}{$\sim$\+Material\+Node} ()}\label{a00793_a22275f6b5ddd8ddfa953b6eeedeeb756}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\hypertarget{a00793_a6b811bb499b6da4bc08dfb9b5f5eabec}{void \hyperlink{a00793_a6b811bb499b6da4bc08dfb9b5f5eabec}{read} (std\+::istream \&\+\_\+is)}\label{a00793_a6b811bb499b6da4bc08dfb9b5f5eabec}

\begin{DoxyCompactList}\small\item\em read Material\+File \end{DoxyCompactList}\item 
\hypertarget{a00793_a0edb3d44fa4e307f1cf81ca76372a9a0}{float \hyperlink{a00793_a0edb3d44fa4e307f1cf81ca76372a9a0}{alpha\+\_\+value} ()}\label{a00793_a0edb3d44fa4e307f1cf81ca76372a9a0}

\begin{DoxyCompactList}\small\item\em get current alpha value for alpha\+\_\+test \end{DoxyCompactList}\item 
\hypertarget{a00793_a5680ec56585d7b65fce8fe1a925f36bb}{bool {\bfseries blending} ()}\label{a00793_a5680ec56585d7b65fce8fe1a925f36bb}

\item 
\hypertarget{a00793_a2d1e175f1abc0cf5b8069dcd258b152f}{G\+Lenum {\bfseries blending\+\_\+param1} ()}\label{a00793_a2d1e175f1abc0cf5b8069dcd258b152f}

\item 
\hypertarget{a00793_a8b1aecec4b233c4d5d090654cae2a895}{G\+Lenum {\bfseries blending\+\_\+param2} ()}\label{a00793_a8b1aecec4b233c4d5d090654cae2a895}

\item 
\hypertarget{a00793_ac9c570a31b9e73d837a6cf29be26879a}{void \hyperlink{a00793_ac9c570a31b9e73d837a6cf29be26879a}{enable\+\_\+blending} (G\+Lenum \+\_\+p1=G\+L\+\_\+\+S\+R\+C\+\_\+\+A\+L\+P\+H\+A, G\+Lenum \+\_\+p2=G\+L\+\_\+\+O\+N\+E\+\_\+\+M\+I\+N\+U\+S\+\_\+\+S\+R\+C\+\_\+\+A\+L\+P\+H\+A)}\label{a00793_ac9c570a31b9e73d837a6cf29be26879a}

\begin{DoxyCompactList}\small\item\em enable blending with Parameters (\+\_\+p1, \+\_\+p2) \end{DoxyCompactList}\item 
\hypertarget{a00793_a6000c5d21634ec1799e358e810acff03}{void \hyperlink{a00793_a6000c5d21634ec1799e358e810acff03}{disable\+\_\+blending} ()}\label{a00793_a6000c5d21634ec1799e358e810acff03}

\begin{DoxyCompactList}\small\item\em disable blending \end{DoxyCompactList}\item 
\hypertarget{a00793_a83b90598ff32285a295854c284939203}{bool {\bfseries backface\+\_\+culling} ()}\label{a00793_a83b90598ff32285a295854c284939203}

\item 
\hypertarget{a00793_a11ce97045d3d1962bbc3bb93b8d7e616}{void \hyperlink{a00793_a11ce97045d3d1962bbc3bb93b8d7e616}{enable\+\_\+backface\+\_\+culling} ()}\label{a00793_a11ce97045d3d1962bbc3bb93b8d7e616}

\begin{DoxyCompactList}\small\item\em enable backface culling (not active by default, see apply\+Properties) \end{DoxyCompactList}\item 
\hypertarget{a00793_a97edf6dc977cf8f78ef5da4a0646c44d}{void \hyperlink{a00793_a97edf6dc977cf8f78ef5da4a0646c44d}{disable\+\_\+backface\+\_\+culling} ()}\label{a00793_a97edf6dc977cf8f78ef5da4a0646c44d}

\begin{DoxyCompactList}\small\item\em disable backface culling (not active by default, see apply\+Properties) \end{DoxyCompactList}\item 
\hypertarget{a00793_ad8a4087827ff843bf852597c5de429eb}{unsigned int \hyperlink{a00793_ad8a4087827ff843bf852597c5de429eb}{apply\+Properties} () const }\label{a00793_ad8a4087827ff843bf852597c5de429eb}

\begin{DoxyCompactList}\small\item\em get properties that will be applied (O\+R'ed Apply\+Properties) \end{DoxyCompactList}\item 
\hypertarget{a00793_a1a6e836c57666f145f5a9c467fbc33fb}{void \hyperlink{a00793_a1a6e836c57666f145f5a9c467fbc33fb}{apply\+Properties} (unsigned int \+\_\+apply\+Properties)}\label{a00793_a1a6e836c57666f145f5a9c467fbc33fb}

\begin{DoxyCompactList}\small\item\em set properties that will be applied (O\+R'ed Apply\+Properties) \end{DoxyCompactList}\item 
\hypertarget{a00793_a00f103a49d138ac723a666bbd5c9d60b}{\hyperlink{a00790}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} \& \hyperlink{a00793_a00f103a49d138ac723a666bbd5c9d60b}{material} ()}\label{a00793_a00f103a49d138ac723a666bbd5c9d60b}

\begin{DoxyCompactList}\small\item\em Get material object reference. \end{DoxyCompactList}\item 
\hypertarget{a00793_af6332b7d27df643e2be88de41e251d8c}{void \hyperlink{a00793_af6332b7d27df643e2be88de41e251d8c}{set\+\_\+material} (const \hyperlink{a00790}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} \&\+\_\+m)}\label{a00793_af6332b7d27df643e2be88de41e251d8c}

\begin{DoxyCompactList}\small\item\em Set material object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf Scenegraph functions}\par
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00793_a06d982b8ca4080cd231289556dd95b29}{\hyperlink{a00793_a06d982b8ca4080cd231289556dd95b29}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+M\+E} (\hyperlink{a00793}{Material\+Node})}\label{a00793_a06d982b8ca4080cd231289556dd95b29}

\begin{DoxyCompactList}\small\item\em set current G\+L-\/color and G\+L-\/material \end{DoxyCompactList}\item 
\hypertarget{a00793_a920ca6f2024b8d2a6c34ebb5b1c302ec}{void \hyperlink{a00793_a920ca6f2024b8d2a6c34ebb5b1c302ec}{enter} (\hyperlink{a00642}{G\+L\+State} \&\+\_\+state, const \hyperlink{a00510}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+drawmode)}\label{a00793_a920ca6f2024b8d2a6c34ebb5b1c302ec}

\begin{DoxyCompactList}\small\item\em set current G\+L-\/color and G\+L-\/material \end{DoxyCompactList}\item 
\hypertarget{a00793_a5e3666e6f9b8c51e958e3fe7d07740f7}{void \hyperlink{a00793_a5e3666e6f9b8c51e958e3fe7d07740f7}{leave} (\hyperlink{a00642}{G\+L\+State} \&\+\_\+state, const \hyperlink{a00510}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+drawmode)}\label{a00793_a5e3666e6f9b8c51e958e3fe7d07740f7}

\begin{DoxyCompactList}\small\item\em restores original G\+L-\/color and G\+L-\/material \end{DoxyCompactList}\item 
\hypertarget{a00793_a2955de10fc7dd49a5b32bcdc1dc7dcbc}{void \hyperlink{a00793_a2955de10fc7dd49a5b32bcdc1dc7dcbc}{enter\+Pick} (\hyperlink{a00642}{G\+L\+State} \&\+\_\+state, \hyperlink{a03343_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} \+\_\+target, const \hyperlink{a00510}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode)}\label{a00793_a2955de10fc7dd49a5b32bcdc1dc7dcbc}

\begin{DoxyCompactList}\small\item\em Do nothing in picking. \end{DoxyCompactList}\item 
\hypertarget{a00793_aec88c12aeefa7194bd3d58d464996265}{void \hyperlink{a00793_aec88c12aeefa7194bd3d58d464996265}{leave\+Pick} (\hyperlink{a00642}{G\+L\+State} \&\+\_\+state, \hyperlink{a03343_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} \+\_\+target, const \hyperlink{a00510}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode)}\label{a00793_aec88c12aeefa7194bd3d58d464996265}

\begin{DoxyCompactList}\small\item\em Do nothing in picking. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Color and material settings ( Applied to all objects below this node )}\par
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00793_afce59101f5576b3a88fe9f122d945544}{void \hyperlink{a00793_afce59101f5576b3a88fe9f122d945544}{set\+\_\+color} (const \hyperlink{a01409}{Vec4f} \&\+\_\+c)}\label{a00793_afce59101f5576b3a88fe9f122d945544}

\begin{DoxyCompactList}\small\item\em set color (base, ambient, diffuse, specular) based on \+\_\+c \end{DoxyCompactList}\item 
\hypertarget{a00793_a53218d3ea5a91d45f14e807ae3e33ebd}{void \hyperlink{a00793_a53218d3ea5a91d45f14e807ae3e33ebd}{set\+\_\+random\+\_\+color} ()}\label{a00793_a53218d3ea5a91d45f14e807ae3e33ebd}

\begin{DoxyCompactList}\small\item\em Generates a random color and sets it. \end{DoxyCompactList}\item 
\hypertarget{a00793_a93ac077861ecad0396d7cb401690f6da}{void \hyperlink{a00793_a93ac077861ecad0396d7cb401690f6da}{set\+\_\+base\+\_\+color} (const \hyperlink{a01409}{Vec4f} \&\+\_\+c)}\label{a00793_a93ac077861ecad0396d7cb401690f6da}

\begin{DoxyCompactList}\small\item\em set the base color \end{DoxyCompactList}\item 
\hypertarget{a00793_a0340879e24a93e03a4c766cbad6ac877}{const \hyperlink{a01409}{Vec4f} \& \hyperlink{a00793_a0340879e24a93e03a4c766cbad6ac877}{base\+\_\+color} () const }\label{a00793_a0340879e24a93e03a4c766cbad6ac877}

\begin{DoxyCompactList}\small\item\em get the base color \end{DoxyCompactList}\item 
\hypertarget{a00793_a83dc7fba52304aa06827ccc1f3f7dbbc}{void \hyperlink{a00793_a83dc7fba52304aa06827ccc1f3f7dbbc}{set\+\_\+ambient\+\_\+color} (const \hyperlink{a01409}{Vec4f} \&\+\_\+a)}\label{a00793_a83dc7fba52304aa06827ccc1f3f7dbbc}

\begin{DoxyCompactList}\small\item\em set the ambient color. \end{DoxyCompactList}\item 
\hypertarget{a00793_a96cf2434ecbca975b560e9ceb52b047f}{const \hyperlink{a01409}{Vec4f} \& \hyperlink{a00793_a96cf2434ecbca975b560e9ceb52b047f}{ambient\+\_\+color} () const }\label{a00793_a96cf2434ecbca975b560e9ceb52b047f}

\begin{DoxyCompactList}\small\item\em get the ambient color. \end{DoxyCompactList}\item 
\hypertarget{a00793_a9702a22e05c89b36017701f9e085e05c}{void \hyperlink{a00793_a9702a22e05c89b36017701f9e085e05c}{set\+\_\+diffuse\+\_\+color} (const \hyperlink{a01409}{Vec4f} \&\+\_\+d)}\label{a00793_a9702a22e05c89b36017701f9e085e05c}

\begin{DoxyCompactList}\small\item\em set the diffuse color. \end{DoxyCompactList}\item 
\hypertarget{a00793_a142007f33ce6a9e579a3797a1d116f6f}{const \hyperlink{a01409}{Vec4f} \& \hyperlink{a00793_a142007f33ce6a9e579a3797a1d116f6f}{diffuse\+\_\+color} () const }\label{a00793_a142007f33ce6a9e579a3797a1d116f6f}

\begin{DoxyCompactList}\small\item\em get the diffuse color. \end{DoxyCompactList}\item 
\hypertarget{a00793_ac649634a93e45368d6dc6f932bd0ee5c}{void \hyperlink{a00793_ac649634a93e45368d6dc6f932bd0ee5c}{set\+\_\+specular\+\_\+color} (const \hyperlink{a01409}{Vec4f} \&\+\_\+s)}\label{a00793_ac649634a93e45368d6dc6f932bd0ee5c}

\begin{DoxyCompactList}\small\item\em set the specular color \end{DoxyCompactList}\item 
\hypertarget{a00793_ac2c06e18465bb0fb1b485f25fed02537}{const \hyperlink{a01409}{Vec4f} \& \hyperlink{a00793_ac2c06e18465bb0fb1b485f25fed02537}{specular\+\_\+color} () const }\label{a00793_ac2c06e18465bb0fb1b485f25fed02537}

\begin{DoxyCompactList}\small\item\em get the specular color \end{DoxyCompactList}\item 
\hypertarget{a00793_a91ff6f754cc7cdb91c608779f1400999}{void \hyperlink{a00793_a91ff6f754cc7cdb91c608779f1400999}{set\+\_\+overlay\+\_\+color} (const \hyperlink{a01409}{Vec4f} \&\+\_\+s)}\label{a00793_a91ff6f754cc7cdb91c608779f1400999}

\begin{DoxyCompactList}\small\item\em set the overlay color \end{DoxyCompactList}\item 
\hypertarget{a00793_a1ce7dd0c6e60779fc3ce45c9803617ed}{const \hyperlink{a01409}{Vec4f} \& \hyperlink{a00793_a1ce7dd0c6e60779fc3ce45c9803617ed}{overlay\+\_\+color} () const }\label{a00793_a1ce7dd0c6e60779fc3ce45c9803617ed}

\begin{DoxyCompactList}\small\item\em get the overlay color \end{DoxyCompactList}\item 
\hypertarget{a00793_ad831c7982c93aeb31a3c71252442a641}{void \hyperlink{a00793_ad831c7982c93aeb31a3c71252442a641}{color\+Material} (const bool \+\_\+cm)}\label{a00793_ad831c7982c93aeb31a3c71252442a641}

\begin{DoxyCompactList}\small\item\em Set color\+Material. \end{DoxyCompactList}\item 
\hypertarget{a00793_a6434cb032abb3f5c0a038a3f8efb5ac4}{void \hyperlink{a00793_a6434cb032abb3f5c0a038a3f8efb5ac4}{enable\+\_\+color\+\_\+material} ()}\label{a00793_a6434cb032abb3f5c0a038a3f8efb5ac4}

\begin{DoxyCompactList}\small\item\em Enable Color \hyperlink{a00790}{Material}. \end{DoxyCompactList}\item 
\hypertarget{a00793_a1d161b63408095bcb3a9486a8dd89022}{void \hyperlink{a00793_a1d161b63408095bcb3a9486a8dd89022}{disable\+\_\+color\+\_\+material} ()}\label{a00793_a1d161b63408095bcb3a9486a8dd89022}

\begin{DoxyCompactList}\small\item\em Disable Color \hyperlink{a00790}{Material}. \end{DoxyCompactList}\item 
\hypertarget{a00793_a0e91af66ee4ca606ad6024a778f20bd9}{bool \hyperlink{a00793_a0e91af66ee4ca606ad6024a778f20bd9}{color\+Material} ()}\label{a00793_a0e91af66ee4ca606ad6024a778f20bd9}

\begin{DoxyCompactList}\small\item\em get color\+Material state \end{DoxyCompactList}\item 
\hypertarget{a00793_aaa0a10d72b1fe919955e67173417eb91}{void \hyperlink{a00793_aaa0a10d72b1fe919955e67173417eb91}{set\+\_\+shininess} (float \+\_\+s)}\label{a00793_aaa0a10d72b1fe919955e67173417eb91}

\begin{DoxyCompactList}\small\item\em set shininess \end{DoxyCompactList}\item 
\hypertarget{a00793_a9a023e390dcbfefa448f1baeb2c74c79}{float \hyperlink{a00793_a9a023e390dcbfefa448f1baeb2c74c79}{shininess} () const }\label{a00793_a9a023e390dcbfefa448f1baeb2c74c79}

\begin{DoxyCompactList}\small\item\em get shininess \end{DoxyCompactList}\item 
\hypertarget{a00793_a80bedfc8b807b2db1cd583b6f40c8e2a}{void \hyperlink{a00793_a80bedfc8b807b2db1cd583b6f40c8e2a}{set\+\_\+reflectance} (double \+\_\+m)}\label{a00793_a80bedfc8b807b2db1cd583b6f40c8e2a}

\begin{DoxyCompactList}\small\item\em set reflectance \end{DoxyCompactList}\item 
\hypertarget{a00793_a05cb778201627865222275cf74b6db79}{double \hyperlink{a00793_a05cb778201627865222275cf74b6db79}{reflectance} () const }\label{a00793_a05cb778201627865222275cf74b6db79}

\begin{DoxyCompactList}\small\item\em get reflectance \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Point/\+Line controls}\par
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00793_a99b81fa78143c6e3a8ab7eb49b02a6f7}{void \hyperlink{a00793_a99b81fa78143c6e3a8ab7eb49b02a6f7}{set\+\_\+point\+\_\+size} (float \+\_\+sz)}\label{a00793_a99b81fa78143c6e3a8ab7eb49b02a6f7}

\begin{DoxyCompactList}\small\item\em set point size (default\+: 1.\+0) \end{DoxyCompactList}\item 
\hypertarget{a00793_a94b08cac3bf36c33b4e1b4c748db07d2}{float \hyperlink{a00793_a94b08cac3bf36c33b4e1b4c748db07d2}{point\+\_\+size} () const }\label{a00793_a94b08cac3bf36c33b4e1b4c748db07d2}

\begin{DoxyCompactList}\small\item\em get point size \end{DoxyCompactList}\item 
\hypertarget{a00793_ac2907314fc0a8fda7b01e7be44893e5d}{void \hyperlink{a00793_ac2907314fc0a8fda7b01e7be44893e5d}{set\+\_\+line\+\_\+width} (float \+\_\+sz)}\label{a00793_ac2907314fc0a8fda7b01e7be44893e5d}

\begin{DoxyCompactList}\small\item\em set line width (default\+: 1.\+0) \end{DoxyCompactList}\item 
\hypertarget{a00793_a179d1e55ecd843753a36fad0526ec71a}{float \hyperlink{a00793_a179d1e55ecd843753a36fad0526ec71a}{line\+\_\+width} () const }\label{a00793_a179d1e55ecd843753a36fad0526ec71a}

\begin{DoxyCompactList}\small\item\em get line width \end{DoxyCompactList}\item 
\hypertarget{a00793_a27015288eee162e16db5416be204d7aa}{void \hyperlink{a00793_a27015288eee162e16db5416be204d7aa}{set\+\_\+round\+\_\+points} (bool \+\_\+b)}\label{a00793_a27015288eee162e16db5416be204d7aa}

\begin{DoxyCompactList}\small\item\em set round points enabled \end{DoxyCompactList}\item 
\hypertarget{a00793_adfd770c3eddfcb3621678b8e9f13e272}{bool \hyperlink{a00793_adfd770c3eddfcb3621678b8e9f13e272}{round\+\_\+points} () const }\label{a00793_adfd770c3eddfcb3621678b8e9f13e272}

\begin{DoxyCompactList}\small\item\em get round points enabled \end{DoxyCompactList}\item 
\hypertarget{a00793_adcf7f75727f460fd88d3ca8c24757c19}{void \hyperlink{a00793_adcf7f75727f460fd88d3ca8c24757c19}{set\+\_\+line\+\_\+smooth} (bool \+\_\+b)}\label{a00793_adcf7f75727f460fd88d3ca8c24757c19}

\begin{DoxyCompactList}\small\item\em set\+: smooth lines enabled \end{DoxyCompactList}\item 
\hypertarget{a00793_ad2be646942fa1ea04f45a6d817cc9b2b}{bool \hyperlink{a00793_ad2be646942fa1ea04f45a6d817cc9b2b}{line\+\_\+smooth} () const }\label{a00793_ad2be646942fa1ea04f45a6d817cc9b2b}

\begin{DoxyCompactList}\small\item\em get\+: rsmooth lines enabled \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Tests}\par
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00793_ab127974562c5c94c91fe4fcb0be1dddc}{void \hyperlink{a00793_ab127974562c5c94c91fe4fcb0be1dddc}{enable\+\_\+alpha\+\_\+test} (float \+\_\+clip)}\label{a00793_ab127974562c5c94c91fe4fcb0be1dddc}

\begin{DoxyCompactList}\small\item\em enable alpha test (draw pixels if alpha $>$= \+\_\+clip) \end{DoxyCompactList}\item 
\hypertarget{a00793_a6fc0e665c3a6b90d6a9026bab42a2b82}{void \hyperlink{a00793_a6fc0e665c3a6b90d6a9026bab42a2b82}{disable\+\_\+alpha\+\_\+test} ()}\label{a00793_a6fc0e665c3a6b90d6a9026bab42a2b82}

\begin{DoxyCompactList}\small\item\em disable alpha test \end{DoxyCompactList}\item 
\hypertarget{a00793_abdeeb94745319fbbcc12e56499eb97bd}{bool \hyperlink{a00793_abdeeb94745319fbbcc12e56499eb97bd}{alpha\+\_\+test} ()}\label{a00793_abdeeb94745319fbbcc12e56499eb97bd}

\begin{DoxyCompactList}\small\item\em Return state of Alpha test. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Other Rendering options}\par
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00793_af5264887774567db1a054de2910832e0}{void \hyperlink{a00793_af5264887774567db1a054de2910832e0}{enable\+\_\+multisampling} ()}\label{a00793_af5264887774567db1a054de2910832e0}

\begin{DoxyCompactList}\small\item\em Enable Multisampling. \end{DoxyCompactList}\item 
\hypertarget{a00793_a03975f162abc1f29faf79dd4da89769a}{void \hyperlink{a00793_a03975f162abc1f29faf79dd4da89769a}{disable\+\_\+multisampling} ()}\label{a00793_a03975f162abc1f29faf79dd4da89769a}

\begin{DoxyCompactList}\small\item\em enable alpha test (draw pixels if alpha $>$= \+\_\+clip) \end{DoxyCompactList}\item 
\hypertarget{a00793_ac9541cc2a156d33213a51f99b61578cb}{bool \hyperlink{a00793_ac9541cc2a156d33213a51f99b61578cb}{multi\+Sampling} ()}\label{a00793_ac9541cc2a156d33213a51f99b61578cb}

\begin{DoxyCompactList}\small\item\em Get state of multisampling. \end{DoxyCompactList}\item 
\hypertarget{a00793_a0cfc0d3f2c62f50f17c6b5b1406888a5}{void \hyperlink{a00793_a0cfc0d3f2c62f50f17c6b5b1406888a5}{set\+\_\+multisampling} (bool \+\_\+state)}\label{a00793_a0cfc0d3f2c62f50f17c6b5b1406888a5}

\begin{DoxyCompactList}\small\item\em Set state of multisampling. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00793_a1cbcfc8cb4375f3bb9fdca715bfa6ab2}{int \hyperlink{a00793_a1cbcfc8cb4375f3bb9fdca715bfa6ab2}{apply\+Properties\+\_\+}}\label{a00793_a1cbcfc8cb4375f3bb9fdca715bfa6ab2}

\begin{DoxyCompactList}\small\item\em O\+R'ed Apply\+Properties. \end{DoxyCompactList}\item 
\hypertarget{a00793_a577fdcc3a9468173cf83cf9d6caf13bd}{\hyperlink{a00790}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} \hyperlink{a00793_a577fdcc3a9468173cf83cf9d6caf13bd}{material\+\_\+}}\label{a00793_a577fdcc3a9468173cf83cf9d6caf13bd}

\begin{DoxyCompactList}\small\item\em Local material class that actually stores the properties. \end{DoxyCompactList}\item 
\hypertarget{a00793_a9b2d879b06fe90508a3af88cb48b4706}{\hyperlink{a00790}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} \hyperlink{a00793_a9b2d879b06fe90508a3af88cb48b4706}{material\+Backup\+\_\+}}\label{a00793_a9b2d879b06fe90508a3af88cb48b4706}

\begin{DoxyCompactList}\small\item\em \hyperlink{a00790}{Material} Backup. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Set material and some other stuff like alphatest and blending for this node and all its children. All changes will be done in the \hyperlink{a00793_a920ca6f2024b8d2a6c34ebb5b1c302ec}{enter()} method undone in the \hyperlink{a00793_a5e3666e6f9b8c51e958e3fe7d07740f7}{leave()} method. 

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



\subsection{Member Enumeration Documentation}
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!Apply\+Properties@{Apply\+Properties}}
\index{Apply\+Properties@{Apply\+Properties}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}
\subsubsection[{Apply\+Properties}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node\+::\+Apply\+Properties}}}\label{a00793_a69499bd50536d3587303f1c879db5cf5}


Apply which properties? Others will be ignored. Values may be O\+R'ed. 

\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{None@{None}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!None@{None}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5a81d36fef8c701d7b715ac6235f6c14e5}{None}\label{a00793_a69499bd50536d3587303f1c879db5cf5a81d36fef8c701d7b715ac6235f6c14e5}
}]apply nothing \index{All@{All}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!All@{All}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5a704f87c06fc7afee790de73e3865b186}{All}\label{a00793_a69499bd50536d3587303f1c879db5cf5a704f87c06fc7afee790de73e3865b186}
}]apply all properites \index{Base\+Color@{Base\+Color}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!Base\+Color@{Base\+Color}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5a5d493e00fb85deadc932f9bf2482750d}{Base\+Color}\label{a00793_a69499bd50536d3587303f1c879db5cf5a5d493e00fb85deadc932f9bf2482750d}
}]apply base color \index{Material@{Material}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!Material@{Material}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5a44120225a7a59ec7099a64ce139cfd28}{Material}\label{a00793_a69499bd50536d3587303f1c879db5cf5a44120225a7a59ec7099a64ce139cfd28}
}]apply material (ambient, diffuse, specular, shininess) \index{Point\+Size@{Point\+Size}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!Point\+Size@{Point\+Size}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5a7de50e680d35c9eafc259bc135e0b22a}{Point\+Size}\label{a00793_a69499bd50536d3587303f1c879db5cf5a7de50e680d35c9eafc259bc135e0b22a}
}]apply point size \index{Line\+Width@{Line\+Width}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!Line\+Width@{Line\+Width}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5a539e41470c8486d28504fa68d78ef956}{Line\+Width}\label{a00793_a69499bd50536d3587303f1c879db5cf5a539e41470c8486d28504fa68d78ef956}
}]apply line width \index{Round\+Points@{Round\+Points}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!Round\+Points@{Round\+Points}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5ab7ed9c52581b6e6b7a9587e5f9d258d8}{Round\+Points}\label{a00793_a69499bd50536d3587303f1c879db5cf5ab7ed9c52581b6e6b7a9587e5f9d258d8}
}]draw smooth (round) points using gl\+Point() \index{Line\+Smooth@{Line\+Smooth}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!Line\+Smooth@{Line\+Smooth}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5a2b8c0333c9c82f5a945246da226067a4}{Line\+Smooth}\label{a00793_a69499bd50536d3587303f1c879db5cf5a2b8c0333c9c82f5a945246da226067a4}
}]draw smooth lines using gl\+Line() \index{Alpha\+Test@{Alpha\+Test}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!Alpha\+Test@{Alpha\+Test}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5abaf5e119d59fe982a6c6f05948a26b38}{Alpha\+Test}\label{a00793_a69499bd50536d3587303f1c879db5cf5abaf5e119d59fe982a6c6f05948a26b38}
}]use alpha test \index{Blending@{Blending}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!Blending@{Blending}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5aca831f4791333edf5e93af0905f9b4c3}{Blending}\label{a00793_a69499bd50536d3587303f1c879db5cf5aca831f4791333edf5e93af0905f9b4c3}
}]use blending \index{Back\+Face\+Culling@{Back\+Face\+Culling}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!Back\+Face\+Culling@{Back\+Face\+Culling}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5a203ed4ae82b5f5d2731b23e9bc945bb3}{Back\+Face\+Culling}\label{a00793_a69499bd50536d3587303f1c879db5cf5a203ed4ae82b5f5d2731b23e9bc945bb3}
}]backface culling \index{Color\+Material@{Color\+Material}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!Color\+Material@{Color\+Material}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5a844d17621c18ae81cb64146881324ec2}{Color\+Material}\label{a00793_a69499bd50536d3587303f1c879db5cf5a844d17621c18ae81cb64146881324ec2}
}]Color \hyperlink{a00790}{Material} ( Only when a drawmode using shading and lighting is enabled ) \index{Multi\+Sampling@{Multi\+Sampling}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}}\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Scene\+Graph\+::\+Material\+Node}!Multi\+Sampling@{Multi\+Sampling}}\item[{\em 
\hypertarget{a00793_a69499bd50536d3587303f1c879db5cf5af720a54ac09abe5702f382f88461229c}{Multi\+Sampling}\label{a00793_a69499bd50536d3587303f1c879db5cf5af720a54ac09abe5702f382f88461229c}
}]Multi\+Sampling. \end{description}
\end{Desc}


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



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