\hypertarget{classColorPlugin}{}\section{Color\+Plugin Class Reference}
\label{classColorPlugin}\index{Color\+Plugin@{Color\+Plugin}}
Inheritance diagram for Color\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=9.000000cm]{classColorPlugin}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{Indent}\textbf{ Scriptable functions to set colors}\par
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classColorPlugin_a69b843873a895440046e57d7504d2731}{set\+Default\+Color} ()
\begin{DoxyCompactList}\small\item\em set the default\+Color preset \end{DoxyCompactList}\item 
void \hyperlink{classColorPlugin_a0024771aee2382d750917f284ce8d741}{set\+Presentation\+Color} ()
\begin{DoxyCompactList}\small\item\em Set the presentation color preset. \end{DoxyCompactList}\item 
void \hyperlink{classColorPlugin_a966425fa482a794f1d906f689bd4608c}{set\+Paper\+Color} ()
\begin{DoxyCompactList}\small\item\em set the paper\+Color Preset \end{DoxyCompactList}\item 
void \hyperlink{classColorPlugin_af074ad81fae694ac6e43998401463d1d}{set\+Background\+Color} (\hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector} \+\_\+color)
\begin{DoxyCompactList}\small\item\em Set the background\+Color. \end{DoxyCompactList}\item 
void \hyperlink{classColorPlugin_ab9fa833546875f5882f00b0f3dedab3f}{set\+Object\+Emissive\+Color} (int \+\_\+object\+Id, \hyperlink{DataTypes_8hh_a705986e3da99b7e8e4e6bddf781558e7}{Vector4} \+\_\+color)
\item 
void \hyperlink{classColorPlugin_a2c5230714a5fc6e3655406f58f7f75d2}{set\+Object\+Ambient\+Color} (int \+\_\+object\+Id, \hyperlink{DataTypes_8hh_a705986e3da99b7e8e4e6bddf781558e7}{Vector4} \+\_\+color)
\item 
void \hyperlink{classColorPlugin_a1c3e01d1cd3ae2e26698143dec48e171}{set\+Object\+Diffuse\+Color} (int \+\_\+object\+Id, \hyperlink{DataTypes_8hh_a705986e3da99b7e8e4e6bddf781558e7}{Vector4} \+\_\+color)
\item 
void \hyperlink{classColorPlugin_ac7815432b392008e9936b5253140c928}{set\+Object\+Specular\+Color} (int \+\_\+object\+Id, \hyperlink{DataTypes_8hh_a705986e3da99b7e8e4e6bddf781558e7}{Vector4} \+\_\+color)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ Other scriptable functions}\par
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{classColorPlugin_a44190a6948a768cd58d44949a0fe5a6b}{version} ()
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classColorPlugin_a01e15eb8baed7035dbe744ea1811a561}\label{classColorPlugin_a01e15eb8baed7035dbe744ea1811a561}} 
void {\bfseries update\+View} ()
\item 
\mbox{\Hypertarget{classColorPlugin_a87ea72bfcb24d24f276095318cc66d76}\label{classColorPlugin_a87ea72bfcb24d24f276095318cc66d76}} 
void {\bfseries script\+Info} (Q\+String \+\_\+function\+Name)
\item 
\mbox{\Hypertarget{classColorPlugin_a97468e58367ebdc763fc2550421602d5}\label{classColorPlugin_a97468e58367ebdc763fc2550421602d5}} 
void {\bfseries add\+Menubar\+Action} (Q\+Action $\ast$\+\_\+action, Q\+String \+\_\+type)
\item 
\mbox{\Hypertarget{classColorPlugin_a10c08027930918aaff90b628543764b3}\label{classColorPlugin_a10c08027930918aaff90b628543764b3}} 
void {\bfseries add\+Toolbar} (Q\+Tool\+Bar $\ast$\+\_\+toolbar)
\item 
\mbox{\Hypertarget{classColorPlugin_a1f69df9782b37a2f58c5d704a68bd6e9}\label{classColorPlugin_a1f69df9782b37a2f58c5d704a68bd6e9}} 
void {\bfseries remove\+Toolbar} (Q\+Tool\+Bar $\ast$\+\_\+toolbar)
\item 
\mbox{\Hypertarget{classColorPlugin_aec6bdb1392723f4ced9a2ec84e5a4ec8}\label{classColorPlugin_aec6bdb1392723f4ced9a2ec84e5a4ec8}} 
void {\bfseries show\+Status\+Message} (Q\+String \+\_\+message, int \+\_\+timeout=0)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{classColorPlugin_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{classColorPlugin_aa3eb4661b6c9e1725f0b2f34cfc92893}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{classColorPlugin_a913356537242ee7609a4902483a9d35e}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\item 
\hyperlink{classColorPlugin_a5b6264a0783eb1f9137eeab976a4e511}{Color\+Plugin} ()
\begin{DoxyCompactList}\small\item\em Constructor\+Options\+Interface. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classColorPlugin_aa4af61145bc38a7ff38a869255d32e86}{plugins\+Initialized} ()
\begin{DoxyCompactList}\small\item\em initialize the toolbar and menubar \end{DoxyCompactList}\item 
void \hyperlink{classColorPlugin_a4b404b098189f6ae84e0debefe6b33cf}{apply\+Options} ()
\begin{DoxyCompactList}\small\item\em Store the changed color presets when the apply Button was hit. \end{DoxyCompactList}\item 
void \hyperlink{classColorPlugin_a39d8b072da2e42acffed651831be25b6}{load\+Ini\+File\+Options} (\hyperlink{classINIFile}{I\+N\+I\+File} \&\+\_\+ini)
\begin{DoxyCompactList}\small\item\em read color preset from ini file \end{DoxyCompactList}\item 
void \hyperlink{classColorPlugin_a006a5417d1bc58130113285d3dcc6523}{save\+Ini\+File\+Options} (\hyperlink{classINIFile}{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\+NI files}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classColorPlugin_a697abe528adae1a89a97f7aa0b5b6ec5}\label{classColorPlugin_a697abe528adae1a89a97f7aa0b5b6ec5}} 
\hyperlink{classColorOptions}{Color\+Options} $\ast$ \hyperlink{classColorPlugin_a697abe528adae1a89a97f7aa0b5b6ec5}{options\+Widget\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classColorPlugin_a7367cd003720ba3cf499b810c3671471}\label{classColorPlugin_a7367cd003720ba3cf499b810c3671471}} 
\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{classColorPlugin_a7367cd003720ba3cf499b810c3671471}{background\+Color\+Default\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classColorPlugin_a7edb67344984756fa65d40d5afb6fdcd}\label{classColorPlugin_a7edb67344984756fa65d40d5afb6fdcd}} 
\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{classColorPlugin_a7edb67344984756fa65d40d5afb6fdcd}{background\+Color\+Paper\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classColorPlugin_aeaa6ceb322f0025c4b4c0d213eacc321}\label{classColorPlugin_aeaa6ceb322f0025c4b4c0d213eacc321}} 
\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{classColorPlugin_aeaa6ceb322f0025c4b4c0d213eacc321}{background\+Color\+Presentation\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classColorPlugin_a92652a2dc55a90700ef3b7be6026b332}\label{classColorPlugin_a92652a2dc55a90700ef3b7be6026b332}} 
\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{classColorPlugin_a92652a2dc55a90700ef3b7be6026b332}{base\+Color\+Default\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classColorPlugin_a5246be7da872b993600fb2b58468c117}\label{classColorPlugin_a5246be7da872b993600fb2b58468c117}} 
\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{classColorPlugin_a5246be7da872b993600fb2b58468c117}{base\+Color\+Paper\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classColorPlugin_a8936e6743eeccf90c439fb64eb9a4c21}\label{classColorPlugin_a8936e6743eeccf90c439fb64eb9a4c21}} 
\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{classColorPlugin_a8936e6743eeccf90c439fb64eb9a4c21}{base\+Color\+Presentation\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classColorPlugin_a5cc3c406c9416ba0d8d564cb36bc91fc}\label{classColorPlugin_a5cc3c406c9416ba0d8d564cb36bc91fc}} 
\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{classColorPlugin_a5cc3c406c9416ba0d8d564cb36bc91fc}{material\+Color\+Default\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classColorPlugin_ac252f87e2405f669a0aad0fccb984761}\label{classColorPlugin_ac252f87e2405f669a0aad0fccb984761}} 
\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{classColorPlugin_ac252f87e2405f669a0aad0fccb984761}{material\+Color\+Paper\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classColorPlugin_a3d8753be79493f09b9a26489d8e194db}\label{classColorPlugin_a3d8753be79493f09b9a26489d8e194db}} 
\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \hyperlink{classColorPlugin_a3d8753be79493f09b9a26489d8e194db}{material\+Color\+Presentation\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classColorPlugin_a6be3f536413fec4a1297c13ff25d559d}\label{classColorPlugin_a6be3f536413fec4a1297c13ff25d559d}} 
double \hyperlink{classColorPlugin_a6be3f536413fec4a1297c13ff25d559d}{line\+Width\+Default\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classColorPlugin_a38eac76d59ff71c5cee7a318818f9dea}\label{classColorPlugin_a38eac76d59ff71c5cee7a318818f9dea}} 
double \hyperlink{classColorPlugin_a38eac76d59ff71c5cee7a318818f9dea}{line\+Width\+Paper\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classColorPlugin_a786b501751b180dab58f37d2a0dee392}\label{classColorPlugin_a786b501751b180dab58f37d2a0dee392}} 
double \hyperlink{classColorPlugin_a786b501751b180dab58f37d2a0dee392}{line\+Width\+Presentation\+\_\+}
\begin{DoxyCompactList}\small\item\em the options widget to set colors \end{DoxyCompactList}\item 
void \hyperlink{classColorPlugin_a0ff4202b901f06d76673aba23b7af6c7}{get\+Color\+Dialog} ()
\begin{DoxyCompactList}\small\item\em display a color dialog \end{DoxyCompactList}\item 
Q\+Icon \hyperlink{classColorPlugin_afd0d1752108a0c06fcf8b6a54bba2b85}{generate\+Icon} (Q\+Rgb \+\_\+color)
\begin{DoxyCompactList}\small\item\em generate an icon from a given color \end{DoxyCompactList}\item 
Q\+Icon \hyperlink{classColorPlugin_a33d74381e51c1ce3421ea6721c23f176}{generate\+Icon} (\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \+\_\+color)
\begin{DoxyCompactList}\small\item\em generate an icon from a given color \end{DoxyCompactList}\item 
Q\+Rgb \hyperlink{classColorPlugin_a9689fbf57575a9bf52e57a1a34c47165}{get\+Icon\+Color} (Q\+Icon \+\_\+icon)
\begin{DoxyCompactList}\small\item\em get the color from a given icon \end{DoxyCompactList}\item 
void \hyperlink{classColorPlugin_ad773b77bad61ee311c5aef86f2dd4fa1}{set\+New\+Color} (Q\+Icon \+\_\+icon, \hyperlink{namespaceOpenMesh_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{classColorPlugin_a109e7620c759a5af2121d9f2c97de67d}{convert\+Color} (uint \+\_\+color, \hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \&\+\_\+vector)
\begin{DoxyCompactList}\small\item\em convert betweeen uint and Vec4f \end{DoxyCompactList}\item 
uint \hyperlink{classColorPlugin_a8226f8dedf660cdbdbab828005d58409}{convert\+Color} (\hyperlink{namespaceOpenMesh_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 61 of file Color\+Plugin.\+hh.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classColorPlugin_a5b6264a0783eb1f9137eeab976a4e511}\label{classColorPlugin_a5b6264a0783eb1f9137eeab976a4e511}} 
\index{Color\+Plugin@{Color\+Plugin}!Color\+Plugin@{Color\+Plugin}}
\index{Color\+Plugin@{Color\+Plugin}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{Color\+Plugin()}{ColorPlugin()}}
{\footnotesize\ttfamily Color\+Plugin\+::\+Color\+Plugin (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Constructor\+Options\+Interface. 

Constructor.

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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classColorPlugin_a4b404b098189f6ae84e0debefe6b33cf}\label{classColorPlugin_a4b404b098189f6ae84e0debefe6b33cf}} 
\index{Color\+Plugin@{Color\+Plugin}!apply\+Options@{apply\+Options}}
\index{apply\+Options@{apply\+Options}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{apply\+Options}{applyOptions}}
{\footnotesize\ttfamily void Color\+Plugin\+::apply\+Options (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



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



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

\mbox{\Hypertarget{classColorPlugin_a109e7620c759a5af2121d9f2c97de67d}\label{classColorPlugin_a109e7620c759a5af2121d9f2c97de67d}} 
\index{Color\+Plugin@{Color\+Plugin}!convert\+Color@{convert\+Color}}
\index{convert\+Color@{convert\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{convert\+Color()}{convertColor()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Color\+Plugin\+::convert\+Color (\begin{DoxyParamCaption}\item[{uint}]{\+\_\+color,  }\item[{\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \&}]{\+\_\+vector }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



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 532 of file Color\+Plugin.\+cc.

\mbox{\Hypertarget{classColorPlugin_a8226f8dedf660cdbdbab828005d58409}\label{classColorPlugin_a8226f8dedf660cdbdbab828005d58409}} 
\index{Color\+Plugin@{Color\+Plugin}!convert\+Color@{convert\+Color}}
\index{convert\+Color@{convert\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{convert\+Color()}{convertColor()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily uint Color\+Plugin\+::convert\+Color (\begin{DoxyParamCaption}\item[{\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \&}]{\+\_\+vector }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



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 551 of file Color\+Plugin.\+cc.

\mbox{\Hypertarget{classColorPlugin_a913356537242ee7609a4902483a9d35e}\label{classColorPlugin_a913356537242ee7609a4902483a9d35e}} 
\index{Color\+Plugin@{Color\+Plugin}!description@{description}}
\index{description@{description}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{description()}{description()}}
{\footnotesize\ttfamily Q\+String Color\+Plugin\+::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 112 of file Color\+Plugin.\+hh.

\mbox{\Hypertarget{classColorPlugin_afd0d1752108a0c06fcf8b6a54bba2b85}\label{classColorPlugin_afd0d1752108a0c06fcf8b6a54bba2b85}} 
\index{Color\+Plugin@{Color\+Plugin}!generate\+Icon@{generate\+Icon}}
\index{generate\+Icon@{generate\+Icon}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{generate\+Icon()}{generateIcon()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Q\+Icon Color\+Plugin\+::generate\+Icon (\begin{DoxyParamCaption}\item[{Q\+Rgb}]{\+\_\+color }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



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 385 of file Color\+Plugin.\+cc.

\mbox{\Hypertarget{classColorPlugin_a33d74381e51c1ce3421ea6721c23f176}\label{classColorPlugin_a33d74381e51c1ce3421ea6721c23f176}} 
\index{Color\+Plugin@{Color\+Plugin}!generate\+Icon@{generate\+Icon}}
\index{generate\+Icon@{generate\+Icon}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{generate\+Icon()}{generateIcon()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Q\+Icon Color\+Plugin\+::generate\+Icon (\begin{DoxyParamCaption}\item[{\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f}}]{\+\_\+color }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



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 366 of file Color\+Plugin.\+cc.

\mbox{\Hypertarget{classColorPlugin_a0ff4202b901f06d76673aba23b7af6c7}\label{classColorPlugin_a0ff4202b901f06d76673aba23b7af6c7}} 
\index{Color\+Plugin@{Color\+Plugin}!get\+Color\+Dialog@{get\+Color\+Dialog}}
\index{get\+Color\+Dialog@{get\+Color\+Dialog}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{get\+Color\+Dialog}{getColorDialog}}
{\footnotesize\ttfamily void Color\+Plugin\+::get\+Color\+Dialog (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



display a color dialog 

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

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

\mbox{\Hypertarget{classColorPlugin_a9689fbf57575a9bf52e57a1a34c47165}\label{classColorPlugin_a9689fbf57575a9bf52e57a1a34c47165}} 
\index{Color\+Plugin@{Color\+Plugin}!get\+Icon\+Color@{get\+Icon\+Color}}
\index{get\+Icon\+Color@{get\+Icon\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{get\+Icon\+Color()}{getIconColor()}}
{\footnotesize\ttfamily Q\+Rgb Color\+Plugin\+::get\+Icon\+Color (\begin{DoxyParamCaption}\item[{Q\+Icon}]{\+\_\+icon }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



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 403 of file Color\+Plugin.\+cc.

\mbox{\Hypertarget{classColorPlugin_a252a00f42aeabd4e2370c1510a090134}\label{classColorPlugin_a252a00f42aeabd4e2370c1510a090134}} 
\index{Color\+Plugin@{Color\+Plugin}!initialize\+Options\+Widget@{initialize\+Options\+Widget}}
\index{initialize\+Options\+Widget@{initialize\+Options\+Widget}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{initialize\+Options\+Widget()}{initializeOptionsWidget()}}
{\footnotesize\ttfamily bool Color\+Plugin\+::initialize\+Options\+Widget (\begin{DoxyParamCaption}\item[{Q\+Widget $\ast$\&}]{\+\_\+widget }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



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{classOptionsInterface_a2c3792590a9eecb6a76e6cba5de731a6}{Options\+Interface}.



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

\mbox{\Hypertarget{classColorPlugin_a39d8b072da2e42acffed651831be25b6}\label{classColorPlugin_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{\texorpdfstring{load\+Ini\+File\+Options}{loadIniFileOptions}}
{\footnotesize\ttfamily void Color\+Plugin\+::load\+Ini\+File\+Options (\begin{DoxyParamCaption}\item[{\hyperlink{classINIFile}{I\+N\+I\+File} \&}]{\+\_\+ini }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



read color preset from ini file 


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


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

\mbox{\Hypertarget{classColorPlugin_aa3eb4661b6c9e1725f0b2f34cfc92893}\label{classColorPlugin_aa3eb4661b6c9e1725f0b2f34cfc92893}} 
\index{Color\+Plugin@{Color\+Plugin}!name@{name}}
\index{name@{name}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{name()}{name()}}
{\footnotesize\ttfamily Q\+String Color\+Plugin\+::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 111 of file Color\+Plugin.\+hh.

\mbox{\Hypertarget{classColorPlugin_aa4af61145bc38a7ff38a869255d32e86}\label{classColorPlugin_aa4af61145bc38a7ff38a869255d32e86}} 
\index{Color\+Plugin@{Color\+Plugin}!plugins\+Initialized@{plugins\+Initialized}}
\index{plugins\+Initialized@{plugins\+Initialized}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{plugins\+Initialized}{pluginsInitialized}}
{\footnotesize\ttfamily void Color\+Plugin\+::plugins\+Initialized (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



initialize the toolbar and menubar 



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

\mbox{\Hypertarget{classColorPlugin_a006a5417d1bc58130113285d3dcc6523}\label{classColorPlugin_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{\texorpdfstring{save\+Ini\+File\+Options}{saveIniFileOptions}}
{\footnotesize\ttfamily void Color\+Plugin\+::save\+Ini\+File\+Options (\begin{DoxyParamCaption}\item[{\hyperlink{classINIFile}{I\+N\+I\+File} \&}]{\+\_\+ini }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}



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 612 of file Color\+Plugin.\+cc.

\mbox{\Hypertarget{classColorPlugin_af074ad81fae694ac6e43998401463d1d}\label{classColorPlugin_af074ad81fae694ac6e43998401463d1d}} 
\index{Color\+Plugin@{Color\+Plugin}!set\+Background\+Color@{set\+Background\+Color}}
\index{set\+Background\+Color@{set\+Background\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{set\+Background\+Color}{setBackgroundColor}}
{\footnotesize\ttfamily void Color\+Plugin\+::set\+Background\+Color (\begin{DoxyParamCaption}\item[{\hyperlink{DataTypes_8hh_a7932a926ab17fabe9f4a0ee1b498526c}{Vector}}]{\+\_\+color }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



Set the background\+Color. 

Sets the background color of the scene


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


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

\mbox{\Hypertarget{classColorPlugin_a69b843873a895440046e57d7504d2731}\label{classColorPlugin_a69b843873a895440046e57d7504d2731}} 
\index{Color\+Plugin@{Color\+Plugin}!set\+Default\+Color@{set\+Default\+Color}}
\index{set\+Default\+Color@{set\+Default\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{set\+Default\+Color}{setDefaultColor}}
{\footnotesize\ttfamily void Color\+Plugin\+::set\+Default\+Color (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



set the default\+Color preset 

Applies Default colors to the whole scene

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

\mbox{\Hypertarget{classColorPlugin_ad773b77bad61ee311c5aef86f2dd4fa1}\label{classColorPlugin_ad773b77bad61ee311c5aef86f2dd4fa1}} 
\index{Color\+Plugin@{Color\+Plugin}!set\+New\+Color@{set\+New\+Color}}
\index{set\+New\+Color@{set\+New\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{set\+New\+Color()}{setNewColor()}}
{\footnotesize\ttfamily void Color\+Plugin\+::set\+New\+Color (\begin{DoxyParamCaption}\item[{Q\+Icon}]{\+\_\+icon,  }\item[{\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \&}]{\+\_\+color }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



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 418 of file Color\+Plugin.\+cc.

\mbox{\Hypertarget{classColorPlugin_a2c5230714a5fc6e3655406f58f7f75d2}\label{classColorPlugin_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{\texorpdfstring{set\+Object\+Ambient\+Color}{setObjectAmbientColor}}
{\footnotesize\ttfamily void Color\+Plugin\+::set\+Object\+Ambient\+Color (\begin{DoxyParamCaption}\item[{int}]{\+\_\+object\+Id,  }\item[{\hyperlink{DataTypes_8hh_a705986e3da99b7e8e4e6bddf781558e7}{Vector4}}]{\+\_\+color }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}

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 315 of file Color\+Plugin.\+cc.

\mbox{\Hypertarget{classColorPlugin_a1c3e01d1cd3ae2e26698143dec48e171}\label{classColorPlugin_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{\texorpdfstring{set\+Object\+Diffuse\+Color}{setObjectDiffuseColor}}
{\footnotesize\ttfamily void Color\+Plugin\+::set\+Object\+Diffuse\+Color (\begin{DoxyParamCaption}\item[{int}]{\+\_\+object\+Id,  }\item[{\hyperlink{DataTypes_8hh_a705986e3da99b7e8e4e6bddf781558e7}{Vector4}}]{\+\_\+color }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}

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 332 of file Color\+Plugin.\+cc.

\mbox{\Hypertarget{classColorPlugin_ab9fa833546875f5882f00b0f3dedab3f}\label{classColorPlugin_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{\texorpdfstring{set\+Object\+Emissive\+Color}{setObjectEmissiveColor}}
{\footnotesize\ttfamily void Color\+Plugin\+::set\+Object\+Emissive\+Color (\begin{DoxyParamCaption}\item[{int}]{\+\_\+object\+Id,  }\item[{\hyperlink{DataTypes_8hh_a705986e3da99b7e8e4e6bddf781558e7}{Vector4}}]{\+\_\+color }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}

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 296 of file Color\+Plugin.\+cc.

\mbox{\Hypertarget{classColorPlugin_ac7815432b392008e9936b5253140c928}\label{classColorPlugin_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{\texorpdfstring{set\+Object\+Specular\+Color}{setObjectSpecularColor}}
{\footnotesize\ttfamily void Color\+Plugin\+::set\+Object\+Specular\+Color (\begin{DoxyParamCaption}\item[{int}]{\+\_\+object\+Id,  }\item[{\hyperlink{DataTypes_8hh_a705986e3da99b7e8e4e6bddf781558e7}{Vector4}}]{\+\_\+color }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}

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 349 of file Color\+Plugin.\+cc.

\mbox{\Hypertarget{classColorPlugin_a966425fa482a794f1d906f689bd4608c}\label{classColorPlugin_a966425fa482a794f1d906f689bd4608c}} 
\index{Color\+Plugin@{Color\+Plugin}!set\+Paper\+Color@{set\+Paper\+Color}}
\index{set\+Paper\+Color@{set\+Paper\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{set\+Paper\+Color}{setPaperColor}}
{\footnotesize\ttfamily void Color\+Plugin\+::set\+Paper\+Color (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



set the paper\+Color Preset 

Applies colors for papers

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

\mbox{\Hypertarget{classColorPlugin_a0024771aee2382d750917f284ce8d741}\label{classColorPlugin_a0024771aee2382d750917f284ce8d741}} 
\index{Color\+Plugin@{Color\+Plugin}!set\+Presentation\+Color@{set\+Presentation\+Color}}
\index{set\+Presentation\+Color@{set\+Presentation\+Color}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{set\+Presentation\+Color}{setPresentationColor}}
{\footnotesize\ttfamily void Color\+Plugin\+::set\+Presentation\+Color (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [slot]}}



Set the presentation color preset. 

Applies colors for presentations to the scene

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

\mbox{\Hypertarget{classColorPlugin_a44190a6948a768cd58d44949a0fe5a6b}\label{classColorPlugin_a44190a6948a768cd58d44949a0fe5a6b}} 
\index{Color\+Plugin@{Color\+Plugin}!version@{version}}
\index{version@{version}!Color\+Plugin@{Color\+Plugin}}
\subsubsection{\texorpdfstring{version}{version}}
{\footnotesize\ttfamily Q\+String Color\+Plugin\+::version (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [slot]}}

Version info of the color plugin 

Definition at line 216 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}
