\hypertarget{classToonRenderer}{}\section{Toon\+Renderer Class Reference}
\label{classToonRenderer}\index{Toon\+Renderer@{Toon\+Renderer}}
Inheritance diagram for Toon\+Renderer\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classToonRenderer}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structToonRenderer_1_1ViewerResources}{Viewer\+Resources}
\begin{DoxyCompactList}\small\item\em Collection of fbos for each viewport. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classToonRenderer_ab53e4b9b6f902ef08e40de91c0a8ce2b}\label{classToonRenderer_ab53e4b9b6f902ef08e40de91c0a8ce2b}} 
Q\+String {\bfseries version} ()
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{classToonRenderer_a6435954b9b8d3360f539c8e033d2452d}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{classToonRenderer_a3a4e234ad6de13fadd4bc0af10eef36b}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\item 
Q\+String \hyperlink{classToonRenderer_a264a9655b7ae7280784eeb166ab49758}{render\+Objects\+Info} (bool \+\_\+output\+Shader\+Info)
\begin{DoxyCompactList}\small\item\em Return a qstring of the current render objects. \end{DoxyCompactList}\item 
Q\+Action $\ast$ \hyperlink{classToonRenderer_a300acde915a6d0ccc084191daa58caaf}{options\+Action} ()
\begin{DoxyCompactList}\small\item\em Return options menu. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classToonRenderer_a9cd8d7faa6170bc2c7814294bd24c23c}\label{classToonRenderer_a9cd8d7faa6170bc2c7814294bd24c23c}} 
void {\bfseries initialize\+Plugin} ()
\item 
\mbox{\Hypertarget{classToonRenderer_ae493aaad8671bd4fbb0ba0af2e36e7a2}\label{classToonRenderer_ae493aaad8671bd4fbb0ba0af2e36e7a2}} 
void {\bfseries exit} ()
\item 
\mbox{\Hypertarget{classToonRenderer_a3d7de8b603b975cfde3db383f280a9a6}\label{classToonRenderer_a3d7de8b603b975cfde3db383f280a9a6}} 
void {\bfseries render} (\hyperlink{classACG_1_1GLState}{A\+C\+G\+::\+G\+L\+State} $\ast$\+\_\+gl\+State, \hyperlink{classViewer_1_1ViewerProperties}{Viewer\+::\+Viewer\+Properties} \&\+\_\+properties)
\item 
\mbox{\Hypertarget{classToonRenderer_a3176cbee023ec77645d24231c8adc7be}\label{classToonRenderer_a3176cbee023ec77645d24231c8adc7be}} 
Q\+String {\bfseries renderer\+Name} ()
\item 
\mbox{\Hypertarget{classToonRenderer_a6a8f99fb399a8831781e507141cc8589}\label{classToonRenderer_a6a8f99fb399a8831781e507141cc8589}} 
void {\bfseries supported\+Draw\+Modes} (\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+mode)
\item 
\mbox{\Hypertarget{classToonRenderer_a030fa2f153978fe5aa63d63b12315245}\label{classToonRenderer_a030fa2f153978fe5aa63d63b12315245}} 
Q\+String {\bfseries check\+Open\+GL} ()
\item 
\mbox{\Hypertarget{classToonRenderer_a80d742989524880e058ce140552d4a7d}\label{classToonRenderer_a80d742989524880e058ce140552d4a7d}} 
void {\bfseries action\+Dialog} (bool)
\item 
\mbox{\Hypertarget{classToonRenderer_ae286f2a86a0bf9b991e3b4781cab8e4b}\label{classToonRenderer_ae286f2a86a0bf9b991e3b4781cab8e4b}} 
void {\bfseries palette\+Size\+Changed} (int)
\item 
\mbox{\Hypertarget{classToonRenderer_a84581f989434df48aa12dbd9b0f2b63f}\label{classToonRenderer_a84581f989434df48aa12dbd9b0f2b63f}} 
void {\bfseries outline\+Color\+Changed} (Q\+Color)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classToonRenderer_a37234c7f9b784464cc29b51832180b65}\label{classToonRenderer_a37234c7f9b784464cc29b51832180b65}} 
void {\bfseries load\+Shader} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classToonRenderer_a370dec7e1a7039f1f046fbd3e68011a9}\label{classToonRenderer_a370dec7e1a7039f1f046fbd3e68011a9}} 
\hyperlink{classGLSL_1_1Program}{G\+L\+S\+L\+::\+Program} $\ast$ \hyperlink{classToonRenderer_a370dec7e1a7039f1f046fbd3e68011a9}{prog\+Outline\+\_\+}
\begin{DoxyCompactList}\small\item\em outline shader\+: multiply scene color with edge factor derived from edges in depth buffer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classToonRenderer_ae9015604b42eb6c403b1834fbf78be01}\label{classToonRenderer_ae9015604b42eb6c403b1834fbf78be01}} 
float \hyperlink{classToonRenderer_ae9015604b42eb6c403b1834fbf78be01}{palette\+Size\+\_\+}
\begin{DoxyCompactList}\small\item\em size of cel shading palette \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classToonRenderer_afd790990a4bdc5cc02d43811505719b0}\label{classToonRenderer_afd790990a4bdc5cc02d43811505719b0}} 
\hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{A\+C\+G\+::\+Vec3f} \hyperlink{classToonRenderer_afd790990a4bdc5cc02d43811505719b0}{outline\+Col\+\_\+}
\begin{DoxyCompactList}\small\item\em outline color \end{DoxyCompactList}\item 
std\+::map$<$ int, \hyperlink{structToonRenderer_1_1ViewerResources}{Viewer\+Resources} $>$ \hyperlink{classToonRenderer_ad844665d0da195a4e4754d4fd8e337c2}{viewer\+Res\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 54 of file Toon\+Renderer.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classToonRenderer_a3a4e234ad6de13fadd4bc0af10eef36b}\label{classToonRenderer_a3a4e234ad6de13fadd4bc0af10eef36b}} 
\index{Toon\+Renderer@{Toon\+Renderer}!description@{description}}
\index{description@{description}!Toon\+Renderer@{Toon\+Renderer}}
\subsubsection{\texorpdfstring{description()}{description()}}
{\footnotesize\ttfamily Q\+String Toon\+Renderer\+::description (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Return a description of what the plugin is doing. 

This function has to return a basic description of the plugin 

Implements \hyperlink{classBaseInterface_a43f0d3612695b53c848c14f48fea9a7a}{Base\+Interface}.



Definition at line 67 of file Toon\+Renderer.\+hh.

\mbox{\Hypertarget{classToonRenderer_a6435954b9b8d3360f539c8e033d2452d}\label{classToonRenderer_a6435954b9b8d3360f539c8e033d2452d}} 
\index{Toon\+Renderer@{Toon\+Renderer}!name@{name}}
\index{name@{name}!Toon\+Renderer@{Toon\+Renderer}}
\subsubsection{\texorpdfstring{name()}{name()}}
{\footnotesize\ttfamily Q\+String Toon\+Renderer\+::name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Return a name for the plugin. 

This Function has to return the name of the plugin. 

Implements \hyperlink{classBaseInterface_a2b351aa6ef0eb368bce735e243235958}{Base\+Interface}.



Definition at line 66 of file Toon\+Renderer.\+hh.

\mbox{\Hypertarget{classToonRenderer_a300acde915a6d0ccc084191daa58caaf}\label{classToonRenderer_a300acde915a6d0ccc084191daa58caaf}} 
\index{Toon\+Renderer@{Toon\+Renderer}!options\+Action@{options\+Action}}
\index{options\+Action@{options\+Action}!Toon\+Renderer@{Toon\+Renderer}}
\subsubsection{\texorpdfstring{options\+Action()}{optionsAction()}}
{\footnotesize\ttfamily Q\+Action $\ast$ Toon\+Renderer\+::options\+Action (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Return options menu. 

If you want an options \hyperlink{classMenu}{Menu} or menu entry, you can return your action here. It will be shown on top of the renderer list in the options menu.

\begin{DoxyReturn}{Returns}
Action for a menu or menu entry 
\end{DoxyReturn}


Reimplemented from \hyperlink{classRenderInterface_ade77e083ab999d29a3bec9d2b815aaea}{Render\+Interface}.



Definition at line 295 of file Toon\+Renderer.\+cc.

\mbox{\Hypertarget{classToonRenderer_a264a9655b7ae7280784eeb166ab49758}\label{classToonRenderer_a264a9655b7ae7280784eeb166ab49758}} 
\index{Toon\+Renderer@{Toon\+Renderer}!render\+Objects\+Info@{render\+Objects\+Info}}
\index{render\+Objects\+Info@{render\+Objects\+Info}!Toon\+Renderer@{Toon\+Renderer}}
\subsubsection{\texorpdfstring{render\+Objects\+Info()}{renderObjectsInfo()}}
{\footnotesize\ttfamily Q\+String Toon\+Renderer\+::render\+Objects\+Info (\begin{DoxyParamCaption}\item[{bool}]{\+\_\+output\+Shader\+Info }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Return a qstring of the current render objects. 

In this function your plugin should return a list of the render objects (possibly with additional information). It can be used for debugging purposes.

The I\+Renderer class already has a function called \hyperlink{classACG_1_1IRenderer_ad6553af076266eaecb48b59dc968897e}{dump\+Current\+Render\+Objects\+To\+String()} which can be used to implement this function.


\begin{DoxyParams}{Parameters}
{\em \+\_\+output\+Shader\+Info} & Output shader code along with the render objects \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
string of render objects 
\end{DoxyReturn}


Reimplemented from \hyperlink{classRenderInterface_aeb8df2a3aeee771a5e3a3616796d9cab}{Render\+Interface}.



Definition at line 169 of file Toon\+Renderer.\+cc.



\subsection{Member Data Documentation}
\mbox{\Hypertarget{classToonRenderer_ad844665d0da195a4e4754d4fd8e337c2}\label{classToonRenderer_ad844665d0da195a4e4754d4fd8e337c2}} 
\index{Toon\+Renderer@{Toon\+Renderer}!viewer\+Res\+\_\+@{viewer\+Res\+\_\+}}
\index{viewer\+Res\+\_\+@{viewer\+Res\+\_\+}!Toon\+Renderer@{Toon\+Renderer}}
\subsubsection{\texorpdfstring{viewer\+Res\+\_\+}{viewerRes\_}}
{\footnotesize\ttfamily std\+::map$<$int, \hyperlink{structToonRenderer_1_1ViewerResources}{Viewer\+Resources}$>$ Toon\+Renderer\+::viewer\+Res\+\_\+\hspace{0.3cm}{\ttfamily [private]}}

Stores fbo resources for each viewport. Mapping\+: viewer\+ID -\/$>$ \hyperlink{structToonRenderer_1_1ViewerResources}{Viewer\+Resources} 

Definition at line 121 of file Toon\+Renderer.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin\+Collection-\/\+Renderers/\+Plugin-\/\+Render-\/\+Toon/Toon\+Renderer.\+hh\item 
Plugin\+Collection-\/\+Renderers/\+Plugin-\/\+Render-\/\+Toon/Toon\+Renderer.\+cc\item 
Plugin\+Collection-\/\+Renderers/\+Plugin-\/\+Render-\/\+Toon/\hyperlink{ToonRenderer__qt_8cc}{Toon\+Renderer\+\_\+qt.\+cc}\end{DoxyCompactItemize}
