\hypertarget{a01108}{\section{Render\+Manager Class Reference}
\label{a01108}\index{Render\+Manager@{Render\+Manager}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a01108_aab943f2660a09791809a1dd819d02110}{renderer\+Exists} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Check if a renderer with the given name exists. \end{DoxyCompactList}\item 
\hyperlink{a01105}{Renderer\+Info} $\ast$ \hyperlink{a01108_a4ac9c1ac5e1fc3642d0e462a46da2722}{new\+Renderer} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em Get a new renderer Instance. \end{DoxyCompactList}\item 
int \hyperlink{a01108_a6324c30c4022378e95798a46e9bcd714}{get\+Renderer\+Id} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em get renderer id with the given name \end{DoxyCompactList}\item 
\hyperlink{a01105}{Renderer\+Info} $\ast$ \hyperlink{a01108_ad12efd61a5f7ad065310628a38315701}{get\+Renderer} (Q\+String \+\_\+name)
\begin{DoxyCompactList}\small\item\em get renderer with the given name \end{DoxyCompactList}\item 
int \hyperlink{a01108_a0309abfbc23cbcf4a5cf881c18d80548}{count\+Renderers} (\hyperlink{a00509}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \+\_\+mode)
\begin{DoxyCompactList}\small\item\em count renderers for a Draw\+Mode (excluding the default renderer) \end{DoxyCompactList}\item 
\hyperlink{a01105}{Renderer\+Info} $\ast$ \hyperlink{a01108_a774ae5d5307c6119ce86a8f99843c9b1}{operator\mbox{[}$\,$\mbox{]}} (unsigned int \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get the renderer with the given id. \end{DoxyCompactList}\item 
unsigned int \hyperlink{a01108_a05d99fdd99bde2e5138c388fcb256d15}{available} ()
\begin{DoxyCompactList}\small\item\em number of available renderers \end{DoxyCompactList}\item 
void \hyperlink{a01108_a18ef9bdab1420763787d56a619fd92c5}{set\+Active} (unsigned int \+\_\+active, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em set the active renderer \end{DoxyCompactList}\item 
void \hyperlink{a01108_a2228cc6b3df64293e6916a3757e6ba9c}{set\+Active} (Q\+String \+\_\+active, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em set the active renderer \end{DoxyCompactList}\item 
\hyperlink{a01105}{Renderer\+Info} $\ast$ \hyperlink{a01108_a1ee611767534af1d451d9d5239625cc3}{active} (int \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get the current active renderer. \end{DoxyCompactList}\item 
unsigned int \hyperlink{a01108_a9c0b8ef7ee5cc489256e17ace4c814c1}{active\+Id} (int \+\_\+id)
\begin{DoxyCompactList}\small\item\em Get the id of the active renderer. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01108_aefc567aca672a036280ff4f5bd0becb6}{std\+::vector$<$ \hyperlink{a01105}{Renderer\+Info} $>$ \hyperlink{a01108_aefc567aca672a036280ff4f5bd0becb6}{available\+Renderers\+\_\+}}\label{a01108_aefc567aca672a036280ff4f5bd0becb6}

\begin{DoxyCompactList}\small\item\em Vector holding all available renderers. \end{DoxyCompactList}\item 
\hypertarget{a01108_a4fea61f2b4444817136892d0367af1a4}{std\+::vector$<$ unsigned int $>$ \hyperlink{a01108_a4fea61f2b4444817136892d0367af1a4}{active\+Renderers\+\_\+}}\label{a01108_a4fea61f2b4444817136892d0367af1a4}

\begin{DoxyCompactList}\small\item\em The currently active renderer ids. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 93 of file Renderer\+Info.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a01108_a1ee611767534af1d451d9d5239625cc3}{\index{Render\+Manager@{Render\+Manager}!active@{active}}
\index{active@{active}!Render\+Manager@{Render\+Manager}}
\subsubsection[{active}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Renderer\+Info} $\ast$ Render\+Manager\+::active (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+id}
\end{DoxyParamCaption}
)}}\label{a01108_a1ee611767534af1d451d9d5239625cc3}


Get the current active renderer. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & viewer id \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{a01103}{Renderer} 
\end{DoxyReturn}


Definition at line 191 of file Renderer\+Info.\+cc.

\hypertarget{a01108_a9c0b8ef7ee5cc489256e17ace4c814c1}{\index{Render\+Manager@{Render\+Manager}!active\+Id@{active\+Id}}
\index{active\+Id@{active\+Id}!Render\+Manager@{Render\+Manager}}
\subsubsection[{active\+Id}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int Render\+Manager\+::active\+Id (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+id}
\end{DoxyParamCaption}
)}}\label{a01108_a9c0b8ef7ee5cc489256e17ace4c814c1}


Get the id of the active renderer. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & viewer id \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
renderer id 
\end{DoxyReturn}


Definition at line 204 of file Renderer\+Info.\+cc.

\hypertarget{a01108_a05d99fdd99bde2e5138c388fcb256d15}{\index{Render\+Manager@{Render\+Manager}!available@{available}}
\index{available@{available}!Render\+Manager@{Render\+Manager}}
\subsubsection[{available}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int Render\+Manager\+::available (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{a01108_a05d99fdd99bde2e5138c388fcb256d15}


number of available renderers 

\begin{DoxyReturn}{Returns}
number of available renderers 
\end{DoxyReturn}


Definition at line 149 of file Renderer\+Info.\+cc.

\hypertarget{a01108_a0309abfbc23cbcf4a5cf881c18d80548}{\index{Render\+Manager@{Render\+Manager}!count\+Renderers@{count\+Renderers}}
\index{count\+Renderers@{count\+Renderers}!Render\+Manager@{Render\+Manager}}
\subsubsection[{count\+Renderers}]{\setlength{\rightskip}{0pt plus 5cm}int Render\+Manager\+::count\+Renderers (
\begin{DoxyParamCaption}
\item[{{\bf A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode}}]{\+\_\+mode}
\end{DoxyParamCaption}
)}}\label{a01108_a0309abfbc23cbcf4a5cf881c18d80548}


count renderers for a Draw\+Mode (excluding the default renderer) 

Checks in the list of renderers how many support the given draw mode combination. The combination is checked as one complete block.


\begin{DoxyParams}{Parameters}
{\em \+\_\+mode} & The mode that should be checked. \\
\hline
\end{DoxyParams}


Definition at line 128 of file Renderer\+Info.\+cc.

\hypertarget{a01108_ad12efd61a5f7ad065310628a38315701}{\index{Render\+Manager@{Render\+Manager}!get\+Renderer@{get\+Renderer}}
\index{get\+Renderer@{get\+Renderer}!Render\+Manager@{Render\+Manager}}
\subsubsection[{get\+Renderer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Renderer\+Info} $\ast$ Render\+Manager\+::get\+Renderer (
\begin{DoxyParamCaption}
\item[{Q\+String}]{\+\_\+name}
\end{DoxyParamCaption}
)}}\label{a01108_ad12efd61a5f7ad065310628a38315701}


get renderer with the given name 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the renderer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
pointer or 0 if it does not exist 
\end{DoxyReturn}


Definition at line 110 of file Renderer\+Info.\+cc.

\hypertarget{a01108_a6324c30c4022378e95798a46e9bcd714}{\index{Render\+Manager@{Render\+Manager}!get\+Renderer\+Id@{get\+Renderer\+Id}}
\index{get\+Renderer\+Id@{get\+Renderer\+Id}!Render\+Manager@{Render\+Manager}}
\subsubsection[{get\+Renderer\+Id}]{\setlength{\rightskip}{0pt plus 5cm}int Render\+Manager\+::get\+Renderer\+Id (
\begin{DoxyParamCaption}
\item[{Q\+String}]{\+\_\+name}
\end{DoxyParamCaption}
)}}\label{a01108_a6324c30c4022378e95798a46e9bcd714}


get renderer id with the given name 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the renderer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Id of the renderer or -\/1 if it does not exist 
\end{DoxyReturn}


Definition at line 119 of file Renderer\+Info.\+cc.

\hypertarget{a01108_a4ac9c1ac5e1fc3642d0e462a46da2722}{\index{Render\+Manager@{Render\+Manager}!new\+Renderer@{new\+Renderer}}
\index{new\+Renderer@{new\+Renderer}!Render\+Manager@{Render\+Manager}}
\subsubsection[{new\+Renderer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Renderer\+Info} $\ast$ Render\+Manager\+::new\+Renderer (
\begin{DoxyParamCaption}
\item[{Q\+String}]{\+\_\+name}
\end{DoxyParamCaption}
)}}\label{a01108_a4ac9c1ac5e1fc3642d0e462a46da2722}


Get a new renderer Instance. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the new renderer\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Pointer to renderer. If it exists, the existing one is returned! 
\end{DoxyReturn}


Definition at line 98 of file Renderer\+Info.\+cc.

\hypertarget{a01108_a774ae5d5307c6119ce86a8f99843c9b1}{\index{Render\+Manager@{Render\+Manager}!operator\mbox{[}$\,$\mbox{]}@{operator[]}}
\index{operator\mbox{[}$\,$\mbox{]}@{operator[]}!Render\+Manager@{Render\+Manager}}
\subsubsection[{operator[]}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Renderer\+Info} $\ast$ Render\+Manager\+::operator\mbox{[}$\,$\mbox{]} (
\begin{DoxyParamCaption}
\item[{unsigned int}]{\+\_\+id}
\end{DoxyParamCaption}
)}}\label{a01108_a774ae5d5307c6119ce86a8f99843c9b1}


Get the renderer with the given id. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the renderer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 140 of file Renderer\+Info.\+cc.

\hypertarget{a01108_aab943f2660a09791809a1dd819d02110}{\index{Render\+Manager@{Render\+Manager}!renderer\+Exists@{renderer\+Exists}}
\index{renderer\+Exists@{renderer\+Exists}!Render\+Manager@{Render\+Manager}}
\subsubsection[{renderer\+Exists}]{\setlength{\rightskip}{0pt plus 5cm}bool Render\+Manager\+::renderer\+Exists (
\begin{DoxyParamCaption}
\item[{Q\+String}]{\+\_\+name}
\end{DoxyParamCaption}
)}}\label{a01108_aab943f2660a09791809a1dd819d02110}


Check if a renderer with the given name exists. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the renderer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
exists or not 
\end{DoxyReturn}


Definition at line 88 of file Renderer\+Info.\+cc.

\hypertarget{a01108_a18ef9bdab1420763787d56a619fd92c5}{\index{Render\+Manager@{Render\+Manager}!set\+Active@{set\+Active}}
\index{set\+Active@{set\+Active}!Render\+Manager@{Render\+Manager}}
\subsubsection[{set\+Active}]{\setlength{\rightskip}{0pt plus 5cm}void Render\+Manager\+::set\+Active (
\begin{DoxyParamCaption}
\item[{unsigned int}]{\+\_\+active, }
\item[{int}]{\+\_\+id}
\end{DoxyParamCaption}
)}}\label{a01108_a18ef9bdab1420763787d56a619fd92c5}


set the active renderer 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & viewer id \\
\hline
{\em \+\_\+active} & id of the renderer \\
\hline
\end{DoxyParams}


Definition at line 154 of file Renderer\+Info.\+cc.

\hypertarget{a01108_a2228cc6b3df64293e6916a3757e6ba9c}{\index{Render\+Manager@{Render\+Manager}!set\+Active@{set\+Active}}
\index{set\+Active@{set\+Active}!Render\+Manager@{Render\+Manager}}
\subsubsection[{set\+Active}]{\setlength{\rightskip}{0pt plus 5cm}void Render\+Manager\+::set\+Active (
\begin{DoxyParamCaption}
\item[{Q\+String}]{\+\_\+active, }
\item[{int}]{\+\_\+id}
\end{DoxyParamCaption}
)}}\label{a01108_a2228cc6b3df64293e6916a3757e6ba9c}


set the active renderer 


\begin{DoxyParams}{Parameters}
{\em \+\_\+active} & name of the renderer \\
\hline
{\em \+\_\+id} & viewer id \\
\hline
\end{DoxyParams}


Definition at line 171 of file Renderer\+Info.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/common/Renderer\+Info.\+hh\item 
Open\+Flipper/common/Renderer\+Info.\+cc\end{DoxyCompactItemize}
