\hypertarget{a00428}{\section{Color\+Plugin Class Reference}
\label{a00428}\index{Color\+Plugin@{Color\+Plugin}}
}
Inheritance diagram for Color\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=9.000000cm]{a00428}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{Indent}{\bf Scriptable functions to set colors}\par
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00428_a69b843873a895440046e57d7504d2731}{set\+Default\+Color} ()
\begin{DoxyCompactList}\small\item\em set the default\+Color preset \end{DoxyCompactList}\item 
void \hyperlink{a00428_a0024771aee2382d750917f284ce8d741}{set\+Presentation\+Color} ()
\begin{DoxyCompactList}\small\item\em Set the presentation color preset. \end{DoxyCompactList}\item 
void \hyperlink{a00428_a966425fa482a794f1d906f689bd4608c}{set\+Paper\+Color} ()
\begin{DoxyCompactList}\small\item\em set the paper\+Color Preset \end{DoxyCompactList}\item 
void \hyperlink{a00428_af074ad81fae694ac6e43998401463d1d}{set\+Background\+Color} (\hyperlink{a02488_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \+\_\+color)
\begin{DoxyCompactList}\small\item\em Set the background\+Color. \end{DoxyCompactList}\item 
void \hyperlink{a00428_ab9fa833546875f5882f00b0f3dedab3f}{set\+Object\+Emissive\+Color} (int \+\_\+object\+Id, \hyperlink{a02488_a705986e3da99b7e8e4e6bddf781558e7}{Vector4} \+\_\+color)
\item 
void \hyperlink{a00428_a2c5230714a5fc6e3655406f58f7f75d2}{set\+Object\+Ambient\+Color} (int \+\_\+object\+Id, \hyperlink{a02488_a705986e3da99b7e8e4e6bddf781558e7}{Vector4} \+\_\+color)
\item 
void \hyperlink{a00428_a1c3e01d1cd3ae2e26698143dec48e171}{set\+Object\+Diffuse\+Color} (int \+\_\+object\+Id, \hyperlink{a02488_a705986e3da99b7e8e4e6bddf781558e7}{Vector4} \+\_\+color)
\item 
void \hyperlink{a00428_ac7815432b392008e9936b5253140c928}{set\+Object\+Specular\+Color} (int \+\_\+object\+Id, \hyperlink{a02488_a705986e3da99b7e8e4e6bddf781558e7}{Vector4} \+\_\+color)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Other scriptable functions}\par
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{a00428_a44190a6948a768cd58d44949a0fe5a6b}{version} ()
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00428_a01e15eb8baed7035dbe744ea1811a561}{void {\bfseries update\+View} ()}\label{a00428_a01e15eb8baed7035dbe744ea1811a561}

\item 
\hypertarget{a00428_a87ea72bfcb24d24f276095318cc66d76}{void {\bfseries script\+Info} (Q\+String \+\_\+function\+Name)}\label{a00428_a87ea72bfcb24d24f276095318cc66d76}

\item 
\hypertarget{a00428_a97468e58367ebdc763fc2550421602d5}{void {\bfseries add\+Menubar\+Action} (Q\+Action $\ast$\+\_\+action, Q\+String \+\_\+type)}\label{a00428_a97468e58367ebdc763fc2550421602d5}

\item 
\hypertarget{a00428_a10c08027930918aaff90b628543764b3}{void {\bfseries add\+Toolbar} (Q\+Tool\+Bar $\ast$\+\_\+toolbar)}\label{a00428_a10c08027930918aaff90b628543764b3}

\item 
\hypertarget{a00428_a1f69df9782b37a2f58c5d704a68bd6e9}{void {\bfseries remove\+Toolbar} (Q\+Tool\+Bar $\ast$\+\_\+toolbar)}\label{a00428_a1f69df9782b37a2f58c5d704a68bd6e9}

\item 
\hypertarget{a00428_aec6bdb1392723f4ced9a2ec84e5a4ec8}{void {\bfseries show\+Status\+Message} (Q\+String \+\_\+message, int \+\_\+timeout=0)}\label{a00428_aec6bdb1392723f4ced9a2ec84e5a4ec8}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a00428_a252a00f42aeabd4e2370c1510a090134}{initialize\+Options\+Widget} (Q\+Widget $\ast$\&\+\_\+widget)
\begin{DoxyCompactList}\small\item\em generate an options\+Widget to change color presets \end{DoxyCompactList}\item 
Q\+String \hyperlink{a00428_aa3eb4661b6c9e1725f0b2f34cfc92893}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a00428_a913356537242ee7609a4902483a9d35e}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\item 
\hyperlink{a00428_a5b6264a0783eb1f9137eeab976a4e511}{Color\+Plugin} ()
\begin{DoxyCompactList}\small\item\em Constructor\+Options\+Interface. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00428_aa4af61145bc38a7ff38a869255d32e86}{plugins\+Initialized} ()
\begin{DoxyCompactList}\small\item\em initialize the toolbar and menubar \end{DoxyCompactList}\item 
void \hyperlink{a00428_a4b404b098189f6ae84e0debefe6b33cf}{apply\+Options} ()
\begin{DoxyCompactList}\small\item\em Store the changed color presets when the apply Button was hit. \end{DoxyCompactList}\item 
void \hyperlink{a00428_a39d8b072da2e42acffed651831be25b6}{load\+Ini\+File\+Options} (\hyperlink{a00726}{I\+N\+I\+File} \&\+\_\+ini)
\begin{DoxyCompactList}\small\item\em read color preset from ini file \end{DoxyCompactList}\item 
void \hyperlink{a00428_a006a5417d1bc58130113285d3dcc6523}{save\+Ini\+File\+Options} (\hyperlink{a00726}{I\+N\+I\+File} \&\+\_\+ini)
\begin{DoxyCompactList}\small\item\em Store current color preset to an ini file. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Show Colors in Options and Store them in I\+N\+I files}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00428_a697abe528adae1a89a97f7aa0b5b6ec5}{\hyperlink{a00427}{Color\+Options} $\ast$ \hyperlink{a00428_a697abe528adae1a89a97f7aa0b5b6ec5}{options\+Widget\+\_\+}}\label{a00428_a697abe528adae1a89a97f7aa0b5b6ec5}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\hypertarget{a00428_a7367cd003720ba3cf499b810c3671471}{\hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{a00428_a7367cd003720ba3cf499b810c3671471}{background\+Color\+Default\+\_\+}}\label{a00428_a7367cd003720ba3cf499b810c3671471}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\hypertarget{a00428_a7edb67344984756fa65d40d5afb6fdcd}{\hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{a00428_a7edb67344984756fa65d40d5afb6fdcd}{background\+Color\+Paper\+\_\+}}\label{a00428_a7edb67344984756fa65d40d5afb6fdcd}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\hypertarget{a00428_aeaa6ceb322f0025c4b4c0d213eacc321}{\hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{a00428_aeaa6ceb322f0025c4b4c0d213eacc321}{background\+Color\+Presentation\+\_\+}}\label{a00428_aeaa6ceb322f0025c4b4c0d213eacc321}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\hypertarget{a00428_a92652a2dc55a90700ef3b7be6026b332}{\hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{a00428_a92652a2dc55a90700ef3b7be6026b332}{base\+Color\+Default\+\_\+}}\label{a00428_a92652a2dc55a90700ef3b7be6026b332}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\hypertarget{a00428_a5246be7da872b993600fb2b58468c117}{\hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{a00428_a5246be7da872b993600fb2b58468c117}{base\+Color\+Paper\+\_\+}}\label{a00428_a5246be7da872b993600fb2b58468c117}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\hypertarget{a00428_a8936e6743eeccf90c439fb64eb9a4c21}{\hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{a00428_a8936e6743eeccf90c439fb64eb9a4c21}{base\+Color\+Presentation\+\_\+}}\label{a00428_a8936e6743eeccf90c439fb64eb9a4c21}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\hypertarget{a00428_a5cc3c406c9416ba0d8d564cb36bc91fc}{\hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{a00428_a5cc3c406c9416ba0d8d564cb36bc91fc}{material\+Color\+Default\+\_\+}}\label{a00428_a5cc3c406c9416ba0d8d564cb36bc91fc}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\hypertarget{a00428_ac252f87e2405f669a0aad0fccb984761}{\hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{a00428_ac252f87e2405f669a0aad0fccb984761}{material\+Color\+Paper\+\_\+}}\label{a00428_ac252f87e2405f669a0aad0fccb984761}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\hypertarget{a00428_a3d8753be79493f09b9a26489d8e194db}{\hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{a00428_a3d8753be79493f09b9a26489d8e194db}{material\+Color\+Presentation\+\_\+}}\label{a00428_a3d8753be79493f09b9a26489d8e194db}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\hypertarget{a00428_a6be3f536413fec4a1297c13ff25d559d}{double \hyperlink{a00428_a6be3f536413fec4a1297c13ff25d559d}{line\+Width\+Default\+\_\+}}\label{a00428_a6be3f536413fec4a1297c13ff25d559d}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\hypertarget{a00428_a38eac76d59ff71c5cee7a318818f9dea}{double \hyperlink{a00428_a38eac76d59ff71c5cee7a318818f9dea}{line\+Width\+Paper\+\_\+}}\label{a00428_a38eac76d59ff71c5cee7a318818f9dea}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\hypertarget{a00428_a786b501751b180dab58f37d2a0dee392}{double \hyperlink{a00428_a786b501751b180dab58f37d2a0dee392}{line\+Width\+Presentation\+\_\+}}\label{a00428_a786b501751b180dab58f37d2a0dee392}

\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
void \hyperlink{a00428_a0ff4202b901f06d76673aba23b7af6c7}{get\+Color\+Dialog} ()
\begin{DoxyCompactList}\small\item\em display a color dialog \end{DoxyCompactList}\item 
Q\+Icon \hyperlink{a00428_afd0d1752108a0c06fcf8b6a54bba2b85}{generate\+Icon} (Q\+Rgb \+\_\+color)
\begin{DoxyCompactList}\small\item\em generate an icon from a given color \end{DoxyCompactList}\item 
Q\+Icon \hyperlink{a00428_a33d74381e51c1ce3421ea6721c23f176}{generate\+Icon} (\hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \+\_\+color)
\begin{DoxyCompactList}\small\item\em generate an icon from a given color \end{DoxyCompactList}\item 
Q\+Rgb \hyperlink{a00428_a9689fbf57575a9bf52e57a1a34c47165}{get\+Icon\+Color} (Q\+Icon \+\_\+icon)
\begin{DoxyCompactList}\small\item\em get the color from a given icon \end{DoxyCompactList}\item 
void \hyperlink{a00428_ad773b77bad61ee311c5aef86f2dd4fa1}{set\+New\+Color} (Q\+Icon \+\_\+icon, \hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \&\+\_\+color)
\begin{DoxyCompactList}\small\item\em set the color of a color vector to the one in the given icon \end{DoxyCompactList}\item 
void \hyperlink{a00428_a109e7620c759a5af2121d9f2c97de67d}{convert\+Color} (uint \+\_\+color, \hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \&\+\_\+vector)
\begin{DoxyCompactList}\small\item\em convert betweeen uint and Vec4f \end{DoxyCompactList}\item 
uint \hyperlink{a00428_a8226f8dedf660cdbdbab828005d58409}{convert\+Color} (\hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \&\+\_\+vector)
\begin{DoxyCompactList}\small\item\em convert betweeen uint and Vec4f \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 70 of file Color\+Plugin.\+hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00428_a5b6264a0783eb1f9137eeab976a4e511}{\index{Color\+Plugin@{Color\+Plugin}!Color\+Plugin@{Color\+Plugin}}
\index{Color\+Plugin@{Color\+Plugin}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{Color\+Plugin}]{\setlength{\rightskip}{0pt plus 5cm}Color\+Plugin\+::\+Color\+Plugin (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{a00428_a5b6264a0783eb1f9137eeab976a4e511}


Constructor\+Options\+Interface. 

Constructor.

Definition at line 66 of file Color\+Plugin.\+cc.



\subsection{Member Function Documentation}
\hypertarget{a00428_a4b404b098189f6ae84e0debefe6b33cf}{\index{Color\+Plugin@{Color\+Plugin}!apply\+Options@{apply\+Options}}
\index{apply\+Options@{apply\+Options}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{apply\+Options}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::apply\+Options (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}}\label{a00428_a4b404b098189f6ae84e0debefe6b33cf}


Store the changed color presets when the apply Button was hit. 



Definition at line 515 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a109e7620c759a5af2121d9f2c97de67d}{\index{Color\+Plugin@{Color\+Plugin}!convert\+Color@{convert\+Color}}
\index{convert\+Color@{convert\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{convert\+Color}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::convert\+Color (
\begin{DoxyParamCaption}
\item[{uint}]{\+\_\+color, }
\item[{{\bf Open\+Mesh\+::\+Vec4f} \&}]{\+\_\+vector}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{a00428_a109e7620c759a5af2121d9f2c97de67d}


convert betweeen uint and Vec4f 

convert between uint and Vec4f


\begin{DoxyParams}{Parameters}
{\em \+\_\+color} & given color \\
\hline
{\em \+\_\+vector} & color vector to convert to \\
\hline
\end{DoxyParams}


Definition at line 542 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a8226f8dedf660cdbdbab828005d58409}{\index{Color\+Plugin@{Color\+Plugin}!convert\+Color@{convert\+Color}}
\index{convert\+Color@{convert\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{convert\+Color}]{\setlength{\rightskip}{0pt plus 5cm}uint Color\+Plugin\+::convert\+Color (
\begin{DoxyParamCaption}
\item[{{\bf Open\+Mesh\+::\+Vec4f} \&}]{\+\_\+vector}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{a00428_a8226f8dedf660cdbdbab828005d58409}


convert betweeen uint and Vec4f 

convert between uint and Vec4f


\begin{DoxyParams}{Parameters}
{\em \+\_\+vector} & reference to a color vector \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
same color as uint 
\end{DoxyReturn}


Definition at line 561 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a913356537242ee7609a4902483a9d35e}{\index{Color\+Plugin@{Color\+Plugin}!description@{description}}
\index{description@{description}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{description}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Color\+Plugin\+::description (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00428_a913356537242ee7609a4902483a9d35e}


Return a description of what the plugin is doing. 

This function has to return a basic description of the plugin 

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



Definition at line 123 of file Color\+Plugin.\+hh.

\hypertarget{a00428_afd0d1752108a0c06fcf8b6a54bba2b85}{\index{Color\+Plugin@{Color\+Plugin}!generate\+Icon@{generate\+Icon}}
\index{generate\+Icon@{generate\+Icon}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{generate\+Icon}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Icon Color\+Plugin\+::generate\+Icon (
\begin{DoxyParamCaption}
\item[{Q\+Rgb}]{\+\_\+color}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{a00428_afd0d1752108a0c06fcf8b6a54bba2b85}


generate an icon from a given color 

Generate an icon with given color.


\begin{DoxyParams}{Parameters}
{\em \+\_\+color} & a color \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the icon 
\end{DoxyReturn}


Definition at line 395 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a33d74381e51c1ce3421ea6721c23f176}{\index{Color\+Plugin@{Color\+Plugin}!generate\+Icon@{generate\+Icon}}
\index{generate\+Icon@{generate\+Icon}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{generate\+Icon}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Icon Color\+Plugin\+::generate\+Icon (
\begin{DoxyParamCaption}
\item[{{\bf Open\+Mesh\+::\+Vec4f}}]{\+\_\+color}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{a00428_a33d74381e51c1ce3421ea6721c23f176}


generate an icon from a given color 

Generate an icon with given color.


\begin{DoxyParams}{Parameters}
{\em \+\_\+color} & a color vector \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
an icon 
\end{DoxyReturn}


Definition at line 376 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a0ff4202b901f06d76673aba23b7af6c7}{\index{Color\+Plugin@{Color\+Plugin}!get\+Color\+Dialog@{get\+Color\+Dialog}}
\index{get\+Color\+Dialog@{get\+Color\+Dialog}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{get\+Color\+Dialog}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::get\+Color\+Dialog (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}}\label{a00428_a0ff4202b901f06d76673aba23b7af6c7}


display a color dialog 

show a color\+Dialog and store the chosen value in the icon of the sender()

Definition at line 443 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a9689fbf57575a9bf52e57a1a34c47165}{\index{Color\+Plugin@{Color\+Plugin}!get\+Icon\+Color@{get\+Icon\+Color}}
\index{get\+Icon\+Color@{get\+Icon\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{get\+Icon\+Color}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Rgb Color\+Plugin\+::get\+Icon\+Color (
\begin{DoxyParamCaption}
\item[{Q\+Icon}]{\+\_\+icon}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{a00428_a9689fbf57575a9bf52e57a1a34c47165}


get the color from a given icon 

Get the color of an icon.


\begin{DoxyParams}{Parameters}
{\em \+\_\+icon} & an icon \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
its color 
\end{DoxyReturn}


Definition at line 413 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a252a00f42aeabd4e2370c1510a090134}{\index{Color\+Plugin@{Color\+Plugin}!initialize\+Options\+Widget@{initialize\+Options\+Widget}}
\index{initialize\+Options\+Widget@{initialize\+Options\+Widget}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{initialize\+Options\+Widget}]{\setlength{\rightskip}{0pt plus 5cm}bool Color\+Plugin\+::initialize\+Options\+Widget (
\begin{DoxyParamCaption}
\item[{Q\+Widget $\ast$\&}]{\+\_\+widget}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00428_a252a00f42aeabd4e2370c1510a090134}


generate an options\+Widget to change color presets 


\begin{DoxyParams}{Parameters}
{\em \+\_\+widget} & reference to the generated widget \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
return true if the widget was successfully generated 
\end{DoxyReturn}


Implements \hyperlink{a00943_a2c3792590a9eecb6a76e6cba5de731a6}{Options\+Interface}.



Definition at line 467 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a39d8b072da2e42acffed651831be25b6}{\index{Color\+Plugin@{Color\+Plugin}!load\+Ini\+File\+Options@{load\+Ini\+File\+Options}}
\index{load\+Ini\+File\+Options@{load\+Ini\+File\+Options}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{load\+Ini\+File\+Options}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::load\+Ini\+File\+Options (
\begin{DoxyParamCaption}
\item[{{\bf I\+N\+I\+File} \&}]{\+\_\+ini}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}}\label{a00428_a39d8b072da2e42acffed651831be25b6}


read color preset from ini file 


\begin{DoxyParams}{Parameters}
{\em \+\_\+ini} & file to read from \\
\hline
\end{DoxyParams}


Definition at line 576 of file Color\+Plugin.\+cc.

\hypertarget{a00428_aa3eb4661b6c9e1725f0b2f34cfc92893}{\index{Color\+Plugin@{Color\+Plugin}!name@{name}}
\index{name@{name}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Color\+Plugin\+::name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00428_aa3eb4661b6c9e1725f0b2f34cfc92893}


Return a name for the plugin. 

This Function has to return the name of the plugin. 

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



Definition at line 122 of file Color\+Plugin.\+hh.

\hypertarget{a00428_aa4af61145bc38a7ff38a869255d32e86}{\index{Color\+Plugin@{Color\+Plugin}!plugins\+Initialized@{plugins\+Initialized}}
\index{plugins\+Initialized@{plugins\+Initialized}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{plugins\+Initialized}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::plugins\+Initialized (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}}\label{a00428_aa4af61145bc38a7ff38a869255d32e86}


initialize the toolbar and menubar 



Definition at line 93 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a006a5417d1bc58130113285d3dcc6523}{\index{Color\+Plugin@{Color\+Plugin}!save\+Ini\+File\+Options@{save\+Ini\+File\+Options}}
\index{save\+Ini\+File\+Options@{save\+Ini\+File\+Options}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{save\+Ini\+File\+Options}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::save\+Ini\+File\+Options (
\begin{DoxyParamCaption}
\item[{{\bf I\+N\+I\+File} \&}]{\+\_\+ini}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}}\label{a00428_a006a5417d1bc58130113285d3dcc6523}


Store current color preset to an ini file. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+ini} & file to store color presets in \\
\hline
\end{DoxyParams}


Definition at line 622 of file Color\+Plugin.\+cc.

\hypertarget{a00428_af074ad81fae694ac6e43998401463d1d}{\index{Color\+Plugin@{Color\+Plugin}!set\+Background\+Color@{set\+Background\+Color}}
\index{set\+Background\+Color@{set\+Background\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{set\+Background\+Color}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::set\+Background\+Color (
\begin{DoxyParamCaption}
\item[{{\bf Vector}}]{\+\_\+color}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [slot]}}}\label{a00428_af074ad81fae694ac6e43998401463d1d}


Set the background\+Color. 

Sets the background color of the scene


\begin{DoxyParams}{Parameters}
{\em \+\_\+color} & a color \\
\hline
\end{DoxyParams}


Definition at line 286 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a69b843873a895440046e57d7504d2731}{\index{Color\+Plugin@{Color\+Plugin}!set\+Default\+Color@{set\+Default\+Color}}
\index{set\+Default\+Color@{set\+Default\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{set\+Default\+Color}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::set\+Default\+Color (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [slot]}}}\label{a00428_a69b843873a895440046e57d7504d2731}


set the default\+Color preset 

Applies Default colors to the whole scene

Definition at line 147 of file Color\+Plugin.\+cc.

\hypertarget{a00428_ad773b77bad61ee311c5aef86f2dd4fa1}{\index{Color\+Plugin@{Color\+Plugin}!set\+New\+Color@{set\+New\+Color}}
\index{set\+New\+Color@{set\+New\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{set\+New\+Color}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::set\+New\+Color (
\begin{DoxyParamCaption}
\item[{Q\+Icon}]{\+\_\+icon, }
\item[{{\bf Open\+Mesh\+::\+Vec4f} \&}]{\+\_\+color}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{a00428_ad773b77bad61ee311c5aef86f2dd4fa1}


set the color of a color vector to the one in the given icon 

convert an icons color to a Vec4f


\begin{DoxyParams}{Parameters}
{\em \+\_\+icon} & an icon \\
\hline
{\em \+\_\+color} & reference to a color vector \\
\hline
\end{DoxyParams}


Definition at line 428 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a2c5230714a5fc6e3655406f58f7f75d2}{\index{Color\+Plugin@{Color\+Plugin}!set\+Object\+Ambient\+Color@{set\+Object\+Ambient\+Color}}
\index{set\+Object\+Ambient\+Color@{set\+Object\+Ambient\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{set\+Object\+Ambient\+Color}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::set\+Object\+Ambient\+Color (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+object\+Id, }
\item[{{\bf Vector4}}]{\+\_\+color}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [slot]}}}\label{a00428_a2c5230714a5fc6e3655406f58f7f75d2}
Sets the ambient color of an object

Sets the ambient color of an object


\begin{DoxyParams}{Parameters}
{\em \+\_\+object\+Id} & Id of an Object \\
\hline
{\em \+\_\+color} & Color to be set \\
\hline
\end{DoxyParams}


Definition at line 325 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a1c3e01d1cd3ae2e26698143dec48e171}{\index{Color\+Plugin@{Color\+Plugin}!set\+Object\+Diffuse\+Color@{set\+Object\+Diffuse\+Color}}
\index{set\+Object\+Diffuse\+Color@{set\+Object\+Diffuse\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{set\+Object\+Diffuse\+Color}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::set\+Object\+Diffuse\+Color (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+object\+Id, }
\item[{{\bf Vector4}}]{\+\_\+color}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [slot]}}}\label{a00428_a1c3e01d1cd3ae2e26698143dec48e171}
Sets the diffuse color of an object

Sets the diffuse color of an object


\begin{DoxyParams}{Parameters}
{\em \+\_\+object\+Id} & Id of an Object \\
\hline
{\em \+\_\+color} & Color to be set \\
\hline
\end{DoxyParams}


Definition at line 342 of file Color\+Plugin.\+cc.

\hypertarget{a00428_ab9fa833546875f5882f00b0f3dedab3f}{\index{Color\+Plugin@{Color\+Plugin}!set\+Object\+Emissive\+Color@{set\+Object\+Emissive\+Color}}
\index{set\+Object\+Emissive\+Color@{set\+Object\+Emissive\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{set\+Object\+Emissive\+Color}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::set\+Object\+Emissive\+Color (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+object\+Id, }
\item[{{\bf Vector4}}]{\+\_\+color}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [slot]}}}\label{a00428_ab9fa833546875f5882f00b0f3dedab3f}
Sets the emissive color of an object

Sets the emissive color of an object


\begin{DoxyParams}{Parameters}
{\em \+\_\+object\+Id} & Id of an Object \\
\hline
{\em \+\_\+color} & Color to be set \\
\hline
\end{DoxyParams}


Definition at line 306 of file Color\+Plugin.\+cc.

\hypertarget{a00428_ac7815432b392008e9936b5253140c928}{\index{Color\+Plugin@{Color\+Plugin}!set\+Object\+Specular\+Color@{set\+Object\+Specular\+Color}}
\index{set\+Object\+Specular\+Color@{set\+Object\+Specular\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{set\+Object\+Specular\+Color}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::set\+Object\+Specular\+Color (
\begin{DoxyParamCaption}
\item[{int}]{\+\_\+object\+Id, }
\item[{{\bf Vector4}}]{\+\_\+color}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [slot]}}}\label{a00428_ac7815432b392008e9936b5253140c928}
Sets the specular color of an object

Sets the specular color of an object


\begin{DoxyParams}{Parameters}
{\em \+\_\+object\+Id} & Id of an Object \\
\hline
{\em \+\_\+color} & Color to be set \\
\hline
\end{DoxyParams}


Definition at line 359 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a966425fa482a794f1d906f689bd4608c}{\index{Color\+Plugin@{Color\+Plugin}!set\+Paper\+Color@{set\+Paper\+Color}}
\index{set\+Paper\+Color@{set\+Paper\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{set\+Paper\+Color}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::set\+Paper\+Color (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [slot]}}}\label{a00428_a966425fa482a794f1d906f689bd4608c}


set the paper\+Color Preset 

Applies colors for papers

Definition at line 239 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a0024771aee2382d750917f284ce8d741}{\index{Color\+Plugin@{Color\+Plugin}!set\+Presentation\+Color@{set\+Presentation\+Color}}
\index{set\+Presentation\+Color@{set\+Presentation\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{set\+Presentation\+Color}]{\setlength{\rightskip}{0pt plus 5cm}void Color\+Plugin\+::set\+Presentation\+Color (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [slot]}}}\label{a00428_a0024771aee2382d750917f284ce8d741}


Set the presentation color preset. 

Applies colors for presentations to the scene

Definition at line 193 of file Color\+Plugin.\+cc.

\hypertarget{a00428_a44190a6948a768cd58d44949a0fe5a6b}{\index{Color\+Plugin@{Color\+Plugin}!version@{version}}
\index{version@{version}!Color\+Plugin@{Color\+Plugin}}
\subsubsection[{version}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Color\+Plugin\+::version (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [slot]}}}\label{a00428_a44190a6948a768cd58d44949a0fe5a6b}
Version info of the color plugin 

Definition at line 227 of file Color\+Plugin.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin-\/\+Color/Color\+Plugin.\+hh\item 
Plugin-\/\+Color/Color\+Plugin.\+cc\end{DoxyCompactItemize}
