\hypertarget{classTextureInterface}{}\section{Texture\+Interface Class Reference}
\label{classTextureInterface}\index{Texture\+Interface@{Texture\+Interface}}


Provide texture support for a plugin.  




{\ttfamily \#include $<$Open\+Flipper/\+Base\+Plugin/\+Texture\+Interface.\+hh$>$}

Inheritance diagram for Texture\+Interface\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.088435cm]{classTextureInterface}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classTextureInterface_a86b0f1f19e6aa3038e4698519d5f0009}{add\+Texture} (Q\+String \+\_\+name, Q\+String \+\_\+filename, uint \+\_\+dimension, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em Emit this Signal if a texture has been added (Property Name,filename,Dimension) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classTextureInterface_aba57f75076a4722dc581e70a1c19f606}{add\+Texture} (Q\+String \+\_\+name, Q\+Image \+\_\+image, uint \+\_\+dimension, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em Emit this Signal if a texture has been added (Property Name,image,Dimension) \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_ab0806792054ae243388c1be00c1348c6}{add\+Texture} (Q\+String \+\_\+name, Q\+String \+\_\+filename, uint \+\_\+dimension)
\begin{DoxyCompactList}\small\item\em Emit this Signal if a texture has been added (Property Name,filename,Dimension) \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a37120478aa227b41c2aba0c3990d3c30}{add\+Texture} (Q\+String \+\_\+name, Q\+Image \+\_\+image, uint \+\_\+dimension)
\begin{DoxyCompactList}\small\item\em Emit this Signal if a texture has been added (Property Name,image,Dimension) \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_ac053bacba1f1d85de38a169b37f14686}{add\+Multi\+Texture} (Q\+String \+\_\+texture\+Group, Q\+String \+\_\+name, Q\+String \+\_\+filename, int \+\_\+id, int \&\+\_\+texture\+Id)
\begin{DoxyCompactList}\small\item\em Emit this Signal if you want to add a texture for a multitexturing mode. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_aed46af35116b3205f3aeb2484feebb20}{add\+Multi\+Texture} (Q\+String \+\_\+texture\+Group, Q\+String \+\_\+name, Q\+Image \+\_\+image, int \+\_\+id, int \&\+\_\+texture\+Id)
\begin{DoxyCompactList}\small\item\em Emit this Signal if you want to add a texture for a multitexturing mode. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classTextureInterface_a823da66c85a5d986addb783ef279cef0}\label{classTextureInterface_a823da66c85a5d986addb783ef279cef0}} 
virtual void \hyperlink{classTextureInterface_a823da66c85a5d986addb783ef279cef0}{update\+Texture} (Q\+String \+\_\+texture\+Name, int \+\_\+identifier)
\begin{DoxyCompactList}\small\item\em Tell Plugins to update the given texture for the given identifier This signal can be called from any thread.~\newline
. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classTextureInterface_afe1b4dbd7b5c9bcb615734168796d0de}\label{classTextureInterface_afe1b4dbd7b5c9bcb615734168796d0de}} 
virtual void \hyperlink{classTextureInterface_afe1b4dbd7b5c9bcb615734168796d0de}{update\+All\+Textures} ()
\begin{DoxyCompactList}\small\item\em Tell Plugins to update all textures. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a862d7c31117a668195f14a09ba8efaf8}{updated\+Textures} (Q\+String, int)
\begin{DoxyCompactList}\small\item\em emit this signal if you updated a texture \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classTextureInterface_a3808114bad083444369c8c5924cd7512}\label{classTextureInterface_a3808114bad083444369c8c5924cd7512}} 
virtual void \hyperlink{classTextureInterface_a3808114bad083444369c8c5924cd7512}{switch\+Texture} (Q\+String \+\_\+texture\+Name, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em emit this signal if you want to switch the texture of a specific object This signal can be called from any thread.~\newline
\end{DoxyCompactList}\item 
\mbox{\Hypertarget{classTextureInterface_ab23285f4c419e5b4dfe6a87bfd3dd6cd}\label{classTextureInterface_ab23285f4c419e5b4dfe6a87bfd3dd6cd}} 
virtual void \hyperlink{classTextureInterface_ab23285f4c419e5b4dfe6a87bfd3dd6cd}{switch\+Texture} (Q\+String \+\_\+texture\+Name)
\begin{DoxyCompactList}\small\item\em emit this signal if you want to switch the global texture This signal can be called from any thread.~\newline
\end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_abd95929bad975b9f792fc1a1ec1c1fb6}{set\+Texture\+Mode} (Q\+String \+\_\+texture\+Name, Q\+String \+\_\+mode)
\begin{DoxyCompactList}\small\item\em emit this signal if you want to set a special mode for this texture (Clamping,...) \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a46a63552036deb5dac490534a6521eae}{set\+Texture\+Mode} (Q\+String \+\_\+texture\+Name, Q\+String \+\_\+mode, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em emit this signal if you want to set a special mode for this texture (Clamping,...) \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_ae9343b82af1a4dbf02019433e6f787fd}{texture\+Change\+Image} (Q\+String \+\_\+texture\+Name, Q\+Image \&\+\_\+image, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em Change the texture image of a given texture. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a21a6fcd90e201434cf38e795bec04109}{texture\+Change\+Image} (Q\+String \+\_\+texture\+Name, Q\+Image \&\+\_\+image)
\begin{DoxyCompactList}\small\item\em Change the texture image of a given global texture. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_abca510e144cbf5b34a80dd4fc9f5638e}{texture\+Get\+Image} (Q\+String \+\_\+texture\+Name, Q\+Image \&\+\_\+image, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em get the texture image of a given texture \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a625d9915e455352b262759f9853eea79}{texture\+Get\+Image} (Q\+String \+\_\+texture\+Name, Q\+Image \&\+\_\+image)
\begin{DoxyCompactList}\small\item\em Get the texture image of a given global texture. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_ac63012a67bab5d8743903710acc839db}{texture\+Index} (Q\+String \+\_\+texture\+Name, int \+\_\+id, int \&\+\_\+index)
\begin{DoxyCompactList}\small\item\em Get the texture index of a given texture. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_af153c934d7432f6df280af645ddefe94}{texture\+Index\+Property\+Name} (int \+\_\+id, Q\+String \&\+\_\+property\+Name)
\begin{DoxyCompactList}\small\item\em Get the name of the texture index property. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_ae3b8c0d537b3ebbd29df7cca5c9054c0}{texture\+Name} (int \+\_\+id, int \+\_\+texture\+Index, Q\+String \&\+\_\+texture\+Name)
\begin{DoxyCompactList}\small\item\em get the name of the texture with given texture index \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a8bd3e3a683104b086857b9e5d3732239}{texture\+Filename} (int \+\_\+id, Q\+String \+\_\+texture\+Name, Q\+String \&\+\_\+texture\+Filename)
\begin{DoxyCompactList}\small\item\em get the filename of the texture with given texture index \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a5406d8120d070da4f84fcc1366c94a42}{get\+Current\+Texture} (int \+\_\+id, Q\+String \&\+\_\+texture\+Name)
\begin{DoxyCompactList}\small\item\em get the name of the texture which is currently enabled \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a334dd4b2bcaedd36876e62566e4ee5a5}{get\+Sub\+Textures} (int \+\_\+id, Q\+String \+\_\+multi\+Texture\+Name, Q\+String\+List \&\+\_\+sub\+Textures)
\begin{DoxyCompactList}\small\item\em get the names of all sub-\/textures under the given multi\+Texture \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classTextureInterface_aef1718df41e63084af42c37f270c5dcc}\label{classTextureInterface_aef1718df41e63084af42c37f270c5dcc}} 
virtual \hyperlink{classTextureInterface_aef1718df41e63084af42c37f270c5dcc}{$\sim$\+Texture\+Interface} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classTextureInterface_a4cdfc4a94990fd274fcfcdd8df416095}{slot\+Update\+Texture} (Q\+String \+\_\+texture\+Name, int \+\_\+identifier)
\begin{DoxyCompactList}\small\item\em update the texture with the given Name ( if this plugin provides this texture ) for all meshes \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classTextureInterface_a48b8d7f5899a91d7961595c7f5b2e212}\label{classTextureInterface_a48b8d7f5899a91d7961595c7f5b2e212}} 
virtual void \hyperlink{classTextureInterface_a48b8d7f5899a91d7961595c7f5b2e212}{slot\+Update\+All\+Textures} ()
\begin{DoxyCompactList}\small\item\em update all textures provided by this plugin \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_adcda2f55fd606faf2177dbbaeef05ebd}{slot\+Texture\+Updated} (Q\+String \+\_\+texture\+Name, int \+\_\+identifier)
\begin{DoxyCompactList}\small\item\em A texture has been updated. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a2cd24b8734ee47477c114fcfbfb88688}{slot\+Switch\+Texture} (Q\+String \+\_\+texture\+Name, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em This slot is called when a plugin requests to switch an objects texture This signal can be called from any thread.~\newline
. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a49fefe07bc881d96bb6a5e85607c8f82}{slot\+Switch\+Texture} (Q\+String \+\_\+texture\+Name)
\begin{DoxyCompactList}\small\item\em This slot is called when a plugin requests to switch to a different texture mode This signal can be called from any thread.~\newline
. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions handled by texture\+Control\+Plugin}
\label{_amgrpfd28e16205642959bc4406db294cd0a3}%
 Normally you dont have to do anything when these functions are called. Texturecontrol handles visualization and updates of textures. \begin{DoxyCompactItemize}
\item 
virtual void \hyperlink{classTextureInterface_a07f6a9e1961558ce66c9d868dc4fe3d7}{slot\+Texture\+Added} (Q\+String \+\_\+texture\+Name, Q\+String \+\_\+filename, uint \+\_\+dimension, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em A texture has been added by a plugin. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a0d8ce7b65f0ac1c3d8b0521ccaec1526}{slot\+Texture\+Added} (Q\+String \+\_\+texture\+Name, Q\+String \+\_\+filename, uint \+\_\+dimension)
\begin{DoxyCompactList}\small\item\em A texture has been added by a plugin. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_aa2ccafd77d290f5e4b5d6aa733c9761d}{slot\+Multi\+Texture\+Added} (Q\+String \+\_\+texture\+Group, Q\+String \+\_\+name, Q\+String \+\_\+filename, int \+\_\+id, int \&\+\_\+texture\+Id)
\begin{DoxyCompactList}\small\item\em A multi\+Texture has been added by a plugin. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a5e4c5c0dd02342aeff4028dc6daf0478}{slot\+Set\+Texture\+Mode} (Q\+String \+\_\+texture\+Name, Q\+String \+\_\+mode, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em Texturemode for texture should be changed. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a5d625a341b2c4a069b3ea3deb553da08}{slot\+Texture\+Change\+Image} (Q\+String \+\_\+texture\+Name, Q\+Image \&\+\_\+image, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em Changes the texture image of a given texture. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a75a0e9fc608fb49c0d7c6fff2f27e394}{slot\+Texture\+Change\+Image} (Q\+String \+\_\+texture\+Name, Q\+Image \&\+\_\+image)
\begin{DoxyCompactList}\small\item\em Changes the texture image of a given global texture. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a620c99584eb81755830e6fd0aaa9bad1}{slot\+Set\+Texture\+Mode} (Q\+String \+\_\+texture\+Name, Q\+String \+\_\+mode)
\begin{DoxyCompactList}\small\item\em Texturemode for texture should be changed. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a4e372a41da55990d3e9c6ba0342aaa0d}{slot\+Texture\+Get\+Image} (Q\+String \+\_\+texture\+Name, Q\+Image \&\+\_\+image, int \+\_\+id)
\begin{DoxyCompactList}\small\item\em fetches the texture image of a given texture \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_af4e2eaac4ac63d61269a9af8db1b66d4}{slot\+Texture\+Get\+Image} (Q\+String \+\_\+texture\+Name, Q\+Image \&\+\_\+image)
\begin{DoxyCompactList}\small\item\em fetches the texture image of a given global texture \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_aa06ca3a7735d2037b9aec457e35266f7}{slot\+Texture\+Index} (Q\+String \+\_\+texture\+Name, int \+\_\+id, int \&\+\_\+index)
\begin{DoxyCompactList}\small\item\em Get the texture index of a given texture. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_ae1255f9efcfe864e360cc1b407b905d7}{slot\+Texture\+Index\+Property\+Name} (int \+\_\+id, Q\+String \&\+\_\+property\+Name)
\begin{DoxyCompactList}\small\item\em Get the name of the texture index property. \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a9d750b4ae9653a8f4462c8229cec09d1}{slot\+Texture\+Name} (int \+\_\+id, int \+\_\+texture\+Index, Q\+String \&\+\_\+texture\+Name)
\begin{DoxyCompactList}\small\item\em get the name of the texture with given texture index \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a163f71b3f7fd3b0e260359080ddc3822}{slot\+Texture\+Filename} (int \+\_\+id, Q\+String \+\_\+texture\+Name, Q\+String \&\+\_\+texture\+Filename)
\begin{DoxyCompactList}\small\item\em get the filename of the texture with given texture name \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_ab94dc15aea6a78354c73f125912861f2}{slot\+Number\+Of\+Textures} (int \+\_\+id, int \&\+\_\+num\+Textures)
\begin{DoxyCompactList}\small\item\em get the number of textures per object \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_a69056c6e327a22e46a44ecff40d3c15e}{slot\+Get\+Current\+Texture} (int \+\_\+id, Q\+String \&\+\_\+texture\+Name)
\begin{DoxyCompactList}\small\item\em fetches the name of the texture which is currently enabled \end{DoxyCompactList}\item 
virtual void \hyperlink{classTextureInterface_ab4cd8a85dbd900ffa2dd15ba48de2f99}{slot\+Get\+Sub\+Textures} (int \+\_\+id, Q\+String \+\_\+multi\+Texture\+Name, Q\+String\+List \&\+\_\+sub\+Textures)
\begin{DoxyCompactList}\small\item\em fetches the names of all sub-\/textures under the given multi\+Texture \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Provide texture support for a plugin. 

This Interface should be used by plugins which will provide a texture. The texture coordinates have to be written into a mesh property. You do not need to write texture information into the texture coordinates of the mesh. As other plugins may provide textures to, the visualization of the textures is handled by the main application (or a texture control plugin). 

Definition at line 56 of file Texture\+Interface.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classTextureInterface_ac053bacba1f1d85de38a169b37f14686}\label{classTextureInterface_ac053bacba1f1d85de38a169b37f14686}} 
\index{Texture\+Interface@{Texture\+Interface}!add\+Multi\+Texture@{add\+Multi\+Texture}}
\index{add\+Multi\+Texture@{add\+Multi\+Texture}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{add\+Multi\+Texture()}{addMultiTexture()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::add\+Multi\+Texture (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Group,  }\item[{Q\+String}]{\+\_\+name,  }\item[{Q\+String}]{\+\_\+filename,  }\item[{int}]{\+\_\+id,  }\item[{int \&}]{\+\_\+texture\+Id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Emit this Signal if you want to add a texture for a multitexturing mode. 

Emit this signal if a texture should be added to a multitexturing mode.

The first parameter defines a texturegroup which collects all textures that should be painted in the multitexturing mode. This group does not have to exist on the first call but will be created automatically.

The second parameter defines the single textures name used in the gui.~\newline
This signal can be called from any thread.~\newline
 
\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Group} & Multitexturing group using this texture \\
\hline
{\em \+\_\+name} & Name of the property which contains the tex coords (double or vec2d) \\
\hline
{\em \+\_\+filename} & Filename of the texture (either local in Open\+Flippers texture dir or global ( \char`\"{}./\+Textures/$<$name$>$\char`\"{}) \\
\hline
{\em \+\_\+id} & Id of the object which should use that texture \\
\hline
{\em \+\_\+texture\+Id} & The new internal id of the texture( This id is object related!!). Use this id in your mesh as the texture index (Use mesh-\/$>$set\+\_\+texture\+\_\+index on the face using this texture). \\
\hline
\end{DoxyParams}


Definition at line 122 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_aed46af35116b3205f3aeb2484feebb20}\label{classTextureInterface_aed46af35116b3205f3aeb2484feebb20}} 
\index{Texture\+Interface@{Texture\+Interface}!add\+Multi\+Texture@{add\+Multi\+Texture}}
\index{add\+Multi\+Texture@{add\+Multi\+Texture}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{add\+Multi\+Texture()}{addMultiTexture()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::add\+Multi\+Texture (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Group,  }\item[{Q\+String}]{\+\_\+name,  }\item[{Q\+Image}]{\+\_\+image,  }\item[{int}]{\+\_\+id,  }\item[{int \&}]{\+\_\+texture\+Id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Emit this Signal if you want to add a texture for a multitexturing mode. 

Emit this signal if a texture should be added to a multitexturing mode.

The first parameter defines a texturegroup which collects all textures that should be painted in the multitexturing mode. This group does not have to exist on the first call but will be created automatically.

The second parameter defines the single textures name used in the gui.~\newline
This signal can be called from any thread.~\newline
 
\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Group} & Multitexturing group using this texture \\
\hline
{\em \+\_\+name} & Name of the property which contains the tex coords (double or vec2d) \\
\hline
{\em \+\_\+image} & A Q\+Image which is used to provide the image data \\
\hline
{\em \+\_\+id} & Id of the object which should use that texture \\
\hline
{\em \+\_\+texture\+Id} & The new internal id of the texture( This id is object related!!). Use this id in your mesh as the texture index (Use mesh-\/$>$set\+\_\+texture\+\_\+index on the face using this texture). \\
\hline
\end{DoxyParams}


Definition at line 141 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a86b0f1f19e6aa3038e4698519d5f0009}\label{classTextureInterface_a86b0f1f19e6aa3038e4698519d5f0009}} 
\index{Texture\+Interface@{Texture\+Interface}!add\+Texture@{add\+Texture}}
\index{add\+Texture@{add\+Texture}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{add\+Texture}{addTexture}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::add\+Texture (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name,  }\item[{Q\+String}]{\+\_\+filename,  }\item[{uint}]{\+\_\+dimension,  }\item[{int}]{\+\_\+id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [signal]}}



Emit this Signal if a texture has been added (Property Name,filename,Dimension) 

Emit this signal if a texture for a specific object has been added This signal can be called from any thread.~\newline
 
\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the property which contains the tex coords (double or vec2d) \\
\hline
{\em \+\_\+filename} & Filename of the texture (either local in Open\+Flippers texture dir or global ( \char`\"{}./\+Textures/$<$name$>$\char`\"{}) \\
\hline
{\em \+\_\+dimension} & 1D texture ( currenty only supports 1 ) \\
\hline
{\em \+\_\+id} & id of an object \\
\hline
\end{DoxyParams}


Definition at line 69 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_aba57f75076a4722dc581e70a1c19f606}\label{classTextureInterface_aba57f75076a4722dc581e70a1c19f606}} 
\index{Texture\+Interface@{Texture\+Interface}!add\+Texture@{add\+Texture}}
\index{add\+Texture@{add\+Texture}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{add\+Texture()}{addTexture()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::add\+Texture (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name,  }\item[{Q\+Image}]{\+\_\+image,  }\item[{uint}]{\+\_\+dimension,  }\item[{int}]{\+\_\+id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Emit this Signal if a texture has been added (Property Name,image,Dimension) 

Emit this signal if a texture for a specific object has been added This signal can be called from any thread.~\newline
 
\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the property which contains the tex coords (double or vec2d) \\
\hline
{\em \+\_\+image} & A Q\+Image which is used to provide the image data \\
\hline
{\em \+\_\+dimension} & 1D texture ( currenty only supports 1 ) \\
\hline
{\em \+\_\+id} & id of an object \\
\hline
\end{DoxyParams}


Definition at line 81 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_ab0806792054ae243388c1be00c1348c6}\label{classTextureInterface_ab0806792054ae243388c1be00c1348c6}} 
\index{Texture\+Interface@{Texture\+Interface}!add\+Texture@{add\+Texture}}
\index{add\+Texture@{add\+Texture}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{add\+Texture()}{addTexture()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::add\+Texture (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name,  }\item[{Q\+String}]{\+\_\+filename,  }\item[{uint}]{\+\_\+dimension }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Emit this Signal if a texture has been added (Property Name,filename,Dimension) 

Emit this signal if a global texture has been added This signal can be called from any thread.~\newline
 
\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the property which contains the tex coords (double or vec2d) \\
\hline
{\em \+\_\+filename} & Filename of the texture (either local in Open\+Flippers texture dir or global ( \char`\"{}./\+Textures/$<$name$>$\char`\"{}) \\
\hline
{\em \+\_\+dimension} & 1D texture ( currenty only supports 1 ) \\
\hline
\end{DoxyParams}


Definition at line 92 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a37120478aa227b41c2aba0c3990d3c30}\label{classTextureInterface_a37120478aa227b41c2aba0c3990d3c30}} 
\index{Texture\+Interface@{Texture\+Interface}!add\+Texture@{add\+Texture}}
\index{add\+Texture@{add\+Texture}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{add\+Texture()}{addTexture()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::add\+Texture (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+name,  }\item[{Q\+Image}]{\+\_\+image,  }\item[{uint}]{\+\_\+dimension }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Emit this Signal if a texture has been added (Property Name,image,Dimension) 

Emit this signal if a global texture has been added This signal can be called from any thread.~\newline
 
\begin{DoxyParams}{Parameters}
{\em \+\_\+name} & Name of the property which contains the tex coords (double or vec2d) \\
\hline
{\em \+\_\+image} & A Q\+Image which is used to provide the image data \\
\hline
{\em \+\_\+dimension} & 1D texture ( currenty only supports 1 ) \\
\hline
\end{DoxyParams}


Definition at line 103 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a5406d8120d070da4f84fcc1366c94a42}\label{classTextureInterface_a5406d8120d070da4f84fcc1366c94a42}} 
\index{Texture\+Interface@{Texture\+Interface}!get\+Current\+Texture@{get\+Current\+Texture}}
\index{get\+Current\+Texture@{get\+Current\+Texture}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{get\+Current\+Texture()}{getCurrentTexture()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::get\+Current\+Texture (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{Q\+String \&}]{\+\_\+texture\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



get the name of the texture which is currently enabled 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the object where the current texture should be fetched from \\
\hline
{\em \+\_\+texture\+Name} & this returns the name of the texture \\
\hline
\end{DoxyParams}


Definition at line 290 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a334dd4b2bcaedd36876e62566e4ee5a5}\label{classTextureInterface_a334dd4b2bcaedd36876e62566e4ee5a5}} 
\index{Texture\+Interface@{Texture\+Interface}!get\+Sub\+Textures@{get\+Sub\+Textures}}
\index{get\+Sub\+Textures@{get\+Sub\+Textures}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{get\+Sub\+Textures()}{getSubTextures()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::get\+Sub\+Textures (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{Q\+String}]{\+\_\+multi\+Texture\+Name,  }\item[{Q\+String\+List \&}]{\+\_\+sub\+Textures }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



get the names of all sub-\/textures under the given multi\+Texture 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the object where the current texture should be fetched from \\
\hline
{\em \+\_\+multi\+Texture\+Name} & name of a multi texture \\
\hline
{\em \+\_\+sub\+Textures} & this returns the names of all sub textures that are combined under the given multi texture \\
\hline
\end{DoxyParams}


Definition at line 298 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_abd95929bad975b9f792fc1a1ec1c1fb6}\label{classTextureInterface_abd95929bad975b9f792fc1a1ec1c1fb6}} 
\index{Texture\+Interface@{Texture\+Interface}!set\+Texture\+Mode@{set\+Texture\+Mode}}
\index{set\+Texture\+Mode@{set\+Texture\+Mode}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{set\+Texture\+Mode()}{setTextureMode()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::set\+Texture\+Mode (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+String}]{\+\_\+mode }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



emit this signal if you want to set a special mode for this texture (Clamping,...) 

emit this signal if you want to set a special mode for this texture

The values are modified in the following way\+:~\newline
 First the absolute value of the property is taken if requested\+:~\newline
abs=true/false ~\newline
 Then this value is clamped against the given values\+:~\newline
clamp=true/false ~\newline
clamp\+\_\+min=value ~\newline
clamp\+\_\+max=value ~\newline
 If the texture should be repeated, the values are translated such that the minimum is at min\+\_\+val(0.\+0 by default) and than scaled such that the maximum is at max\+\_\+val. This data is than passed to the rendering\+: ~\newline
repeat=true/false ~\newline
min\+\_\+val=value ~\newline
max\+\_\+val=value ~\newline
 If the texture should not be repeated you could choose to center the data around 0.\+5. The negative values are than mapped to 0..0.\+5 and the positive values to 0.\+5..1\+:~\newline
center=true/false~\newline
 Otherwise, the values are mapped directly to 0..1. You can also disable that final scaling with\+:~\newline
scale=true/false~\newline
 Examples\+:~\newline
Pass texture without modification\+: abs=false,clamp=false,repeat=false,center=false,scale=false~\newline
This signal can be called from any thread.~\newline
 
\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & Name of your \hyperlink{classTexture}{Texture} \\
\hline
{\em \+\_\+mode} & colon separated String describing your settings (e.\+g. clamp,abs ) \\
\hline
\end{DoxyParams}


Definition at line 201 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a46a63552036deb5dac490534a6521eae}\label{classTextureInterface_a46a63552036deb5dac490534a6521eae}} 
\index{Texture\+Interface@{Texture\+Interface}!set\+Texture\+Mode@{set\+Texture\+Mode}}
\index{set\+Texture\+Mode@{set\+Texture\+Mode}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{set\+Texture\+Mode()}{setTextureMode()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::set\+Texture\+Mode (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+String}]{\+\_\+mode,  }\item[{int}]{\+\_\+id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



emit this signal if you want to set a special mode for this texture (Clamping,...) 

for info about the \+\_\+mode parameter see \hyperlink{classTextureInterface_abd95929bad975b9f792fc1a1ec1c1fb6}{set\+Texture\+Mode(\+Q\+String,\+Q\+String)} This signal can be called from any thread.~\newline
 
\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & Name of your \hyperlink{classTexture}{Texture} \\
\hline
{\em \+\_\+mode} & colon separated String describing your settings (e.\+g. clamp,abs ) \\
\hline
{\em \+\_\+id} & id of an object \\
\hline
\end{DoxyParams}


Definition at line 212 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a69056c6e327a22e46a44ecff40d3c15e}\label{classTextureInterface_a69056c6e327a22e46a44ecff40d3c15e}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Get\+Current\+Texture@{slot\+Get\+Current\+Texture}}
\index{slot\+Get\+Current\+Texture@{slot\+Get\+Current\+Texture}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Get\+Current\+Texture()}{slotGetCurrentTexture()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Get\+Current\+Texture (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{Q\+String \&}]{\+\_\+texture\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



fetches the name of the texture which is currently enabled 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the object where the current texture should be fetched from \\
\hline
{\em \+\_\+texture\+Name} & this returns the name of the texture \\
\hline
\end{DoxyParams}


Definition at line 489 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_ab4cd8a85dbd900ffa2dd15ba48de2f99}\label{classTextureInterface_ab4cd8a85dbd900ffa2dd15ba48de2f99}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Get\+Sub\+Textures@{slot\+Get\+Sub\+Textures}}
\index{slot\+Get\+Sub\+Textures@{slot\+Get\+Sub\+Textures}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Get\+Sub\+Textures()}{slotGetSubTextures()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Get\+Sub\+Textures (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{Q\+String}]{\+\_\+multi\+Texture\+Name,  }\item[{Q\+String\+List \&}]{\+\_\+sub\+Textures }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



fetches the names of all sub-\/textures under the given multi\+Texture 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the object where the current texture should be fetched from \\
\hline
{\em \+\_\+multi\+Texture\+Name} & name of a multi texture \\
\hline
{\em \+\_\+sub\+Textures} & this returns the names of all sub textures that are combined under the given multi texture \\
\hline
\end{DoxyParams}


Definition at line 497 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_aa2ccafd77d290f5e4b5d6aa733c9761d}\label{classTextureInterface_aa2ccafd77d290f5e4b5d6aa733c9761d}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Multi\+Texture\+Added@{slot\+Multi\+Texture\+Added}}
\index{slot\+Multi\+Texture\+Added@{slot\+Multi\+Texture\+Added}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Multi\+Texture\+Added()}{slotMultiTextureAdded()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Multi\+Texture\+Added (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Group,  }\item[{Q\+String}]{\+\_\+name,  }\item[{Q\+String}]{\+\_\+filename,  }\item[{int}]{\+\_\+id,  }\item[{int \&}]{\+\_\+texture\+Id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



A multi\+Texture has been added by a plugin. 

This slot is called when a multi \hyperlink{classTexture}{Texture} has been added by a plugin.

A multi texture has a global name which is defined as the texture group and consists of mutliple sub textures which have their own names but are all used when the group is active.~\newline
This slot will be executed on the main thread.~\newline
 
\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Group} & Name of the texture group that is associated with the texture. \\
\hline
{\em \+\_\+name} & Name of the Added texture (has to be equal to the property name) \\
\hline
{\em \+\_\+filename} & Filename of the \hyperlink{classTexture}{Texture} Image to be used \\
\hline
{\em \+\_\+id} & Id of the object which should use the texture \\
\hline
{\em \+\_\+texture\+Id} & The new id of the texture( This id is object related!!) \\
\hline
\end{DoxyParams}


Definition at line 390 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_ab94dc15aea6a78354c73f125912861f2}\label{classTextureInterface_ab94dc15aea6a78354c73f125912861f2}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Number\+Of\+Textures@{slot\+Number\+Of\+Textures}}
\index{slot\+Number\+Of\+Textures@{slot\+Number\+Of\+Textures}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Number\+Of\+Textures()}{slotNumberOfTextures()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Number\+Of\+Textures (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{int \&}]{\+\_\+num\+Textures }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



get the number of textures per object 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the object \\
\hline
{\em \+\_\+num\+Textures} & returns the number of textures \\
\hline
\end{DoxyParams}


Definition at line 482 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a5e4c5c0dd02342aeff4028dc6daf0478}\label{classTextureInterface_a5e4c5c0dd02342aeff4028dc6daf0478}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Set\+Texture\+Mode@{slot\+Set\+Texture\+Mode}}
\index{slot\+Set\+Texture\+Mode@{slot\+Set\+Texture\+Mode}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Set\+Texture\+Mode()}{slotSetTextureMode()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Set\+Texture\+Mode (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+String}]{\+\_\+mode,  }\item[{int}]{\+\_\+id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



Texturemode for texture should be changed. 

A plugin has updated the \hyperlink{classTexture}{Texture} settings for a texture 
\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the updated texture \\
\hline
{\em \+\_\+mode} & New mode flags for the given texture \\
\hline
{\em \+\_\+id} & id of an object \\
\hline
\end{DoxyParams}


Definition at line 400 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a620c99584eb81755830e6fd0aaa9bad1}\label{classTextureInterface_a620c99584eb81755830e6fd0aaa9bad1}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Set\+Texture\+Mode@{slot\+Set\+Texture\+Mode}}
\index{slot\+Set\+Texture\+Mode@{slot\+Set\+Texture\+Mode}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Set\+Texture\+Mode()}{slotSetTextureMode()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Set\+Texture\+Mode (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+String}]{\+\_\+mode }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



Texturemode for texture should be changed. 

A plugin has updated the \hyperlink{classTexture}{Texture} settings for a texture 
\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the updated texture \\
\hline
{\em \+\_\+mode} & New mode flags for the given texture \\
\hline
\end{DoxyParams}


Definition at line 423 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a2cd24b8734ee47477c114fcfbfb88688}\label{classTextureInterface_a2cd24b8734ee47477c114fcfbfb88688}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Switch\+Texture@{slot\+Switch\+Texture}}
\index{slot\+Switch\+Texture@{slot\+Switch\+Texture}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Switch\+Texture()}{slotSwitchTexture()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Switch\+Texture (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{int}]{\+\_\+id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



This slot is called when a plugin requests to switch an objects texture This signal can be called from any thread.~\newline
. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & Name of the \hyperlink{classTexture}{Texture} \\
\hline
{\em \+\_\+id} & id of an object \\
\hline
\end{DoxyParams}


Definition at line 329 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a49fefe07bc881d96bb6a5e85607c8f82}\label{classTextureInterface_a49fefe07bc881d96bb6a5e85607c8f82}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Switch\+Texture@{slot\+Switch\+Texture}}
\index{slot\+Switch\+Texture@{slot\+Switch\+Texture}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Switch\+Texture()}{slotSwitchTexture()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Switch\+Texture (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



This slot is called when a plugin requests to switch to a different texture mode This signal can be called from any thread.~\newline
. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & Name of the \hyperlink{classTexture}{Texture} \\
\hline
\end{DoxyParams}


Definition at line 336 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a07f6a9e1961558ce66c9d868dc4fe3d7}\label{classTextureInterface_a07f6a9e1961558ce66c9d868dc4fe3d7}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Texture\+Added@{slot\+Texture\+Added}}
\index{slot\+Texture\+Added@{slot\+Texture\+Added}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Texture\+Added}{slotTextureAdded}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Texture\+Added (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+String}]{\+\_\+filename,  }\item[{uint}]{\+\_\+dimension,  }\item[{int}]{\+\_\+id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}, {\ttfamily [slot]}}



A texture has been added by a plugin. 

This slot is called when a texture for a specific object has been added by a plugin.~\newline
This slot will be executed on the main thread.~\newline
 
\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & Name of the Added texture (has to be equal to the property name) \\
\hline
{\em \+\_\+filename} & Filename of the \hyperlink{classTexture}{Texture} Image to be used \\
\hline
{\em \+\_\+dimension} & Dimension of the \hyperlink{classTexture}{Texture} (currently only 1D and 2D Textures are supported \\
\hline
{\em \+\_\+id} & id of an object \\
\hline
\end{DoxyParams}


Definition at line 363 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a0d8ce7b65f0ac1c3d8b0521ccaec1526}\label{classTextureInterface_a0d8ce7b65f0ac1c3d8b0521ccaec1526}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Texture\+Added@{slot\+Texture\+Added}}
\index{slot\+Texture\+Added@{slot\+Texture\+Added}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Texture\+Added()}{slotTextureAdded()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Texture\+Added (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+String}]{\+\_\+filename,  }\item[{uint}]{\+\_\+dimension }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



A texture has been added by a plugin. 

This slot is called when a global texture has been added by a plugin.~\newline
This slot will be executed on the main thread.~\newline
 
\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & Name of the Added texture (has to be equal to the property name) \\
\hline
{\em \+\_\+filename} & Filename of the \hyperlink{classTexture}{Texture} Image to be used \\
\hline
{\em \+\_\+dimension} & Dimension of the \hyperlink{classTexture}{Texture} (currently only 1D and 2D Textures are supported \\
\hline
\end{DoxyParams}


Definition at line 374 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a5d625a341b2c4a069b3ea3deb553da08}\label{classTextureInterface_a5d625a341b2c4a069b3ea3deb553da08}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Texture\+Change\+Image@{slot\+Texture\+Change\+Image}}
\index{slot\+Texture\+Change\+Image@{slot\+Texture\+Change\+Image}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Texture\+Change\+Image()}{slotTextureChangeImage()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Texture\+Change\+Image (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+Image \&}]{\+\_\+image,  }\item[{int}]{\+\_\+id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



Changes the texture image of a given texture. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the texture which should be changed \\
\hline
{\em \+\_\+image} & The new image for the texture \\
\hline
{\em \+\_\+id} & Id of the object where the texture should be changed \\
\hline
\end{DoxyParams}


Definition at line 408 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a75a0e9fc608fb49c0d7c6fff2f27e394}\label{classTextureInterface_a75a0e9fc608fb49c0d7c6fff2f27e394}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Texture\+Change\+Image@{slot\+Texture\+Change\+Image}}
\index{slot\+Texture\+Change\+Image@{slot\+Texture\+Change\+Image}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Texture\+Change\+Image()}{slotTextureChangeImage()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Texture\+Change\+Image (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+Image \&}]{\+\_\+image }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



Changes the texture image of a given global texture. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the texture which should be changed \\
\hline
{\em \+\_\+image} & The new image for the texture \\
\hline
\end{DoxyParams}


Definition at line 415 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a163f71b3f7fd3b0e260359080ddc3822}\label{classTextureInterface_a163f71b3f7fd3b0e260359080ddc3822}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Texture\+Filename@{slot\+Texture\+Filename}}
\index{slot\+Texture\+Filename@{slot\+Texture\+Filename}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Texture\+Filename()}{slotTextureFilename()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Texture\+Filename (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+String \&}]{\+\_\+texture\+Filename }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



get the filename of the texture with given texture name 

Get the filename to texture with name \+\_\+texture\+Name. Retrieve texture names via signal \hyperlink{classTextureInterface_ae3b8c0d537b3ebbd29df7cca5c9054c0}{texture\+Name(int,int,\+Q\+String\&)} using the object\textquotesingle{}s id and the texture index.


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the object where the texture should be fetched from \\
\hline
{\em \+\_\+texture\+Name} & texture name of the wanted texture \\
\hline
{\em \+\_\+texture\+Filename} & this returns the filename of the texture \\
\hline
\end{DoxyParams}


Definition at line 475 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a4e372a41da55990d3e9c6ba0342aaa0d}\label{classTextureInterface_a4e372a41da55990d3e9c6ba0342aaa0d}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Texture\+Get\+Image@{slot\+Texture\+Get\+Image}}
\index{slot\+Texture\+Get\+Image@{slot\+Texture\+Get\+Image}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Texture\+Get\+Image()}{slotTextureGetImage()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Texture\+Get\+Image (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+Image \&}]{\+\_\+image,  }\item[{int}]{\+\_\+id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



fetches the texture image of a given texture 


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the texture which should be addressed \\
\hline
{\em \+\_\+image} & reference to the image for the texture \\
\hline
{\em \+\_\+id} & Id of the object where the texture should be fetched from \\
\hline
\end{DoxyParams}


Definition at line 431 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_af4e2eaac4ac63d61269a9af8db1b66d4}\label{classTextureInterface_af4e2eaac4ac63d61269a9af8db1b66d4}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Texture\+Get\+Image@{slot\+Texture\+Get\+Image}}
\index{slot\+Texture\+Get\+Image@{slot\+Texture\+Get\+Image}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Texture\+Get\+Image()}{slotTextureGetImage()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Texture\+Get\+Image (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+Image \&}]{\+\_\+image }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



fetches the texture image of a given global texture 


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the texture which should be addressed \\
\hline
{\em \+\_\+image} & reference to the image for the texture \\
\hline
\end{DoxyParams}


Definition at line 438 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_aa06ca3a7735d2037b9aec457e35266f7}\label{classTextureInterface_aa06ca3a7735d2037b9aec457e35266f7}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Texture\+Index@{slot\+Texture\+Index}}
\index{slot\+Texture\+Index@{slot\+Texture\+Index}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Texture\+Index()}{slotTextureIndex()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Texture\+Index (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{int}]{\+\_\+id,  }\item[{int \&}]{\+\_\+index }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



Get the texture index of a given texture. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the texture which should be addressed \\
\hline
{\em \+\_\+id} & Id of the object where the texture is defined on \\
\hline
{\em \+\_\+index} & the index of the texture (used for multi\+Texturing) \\
\hline
\end{DoxyParams}


Definition at line 446 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_ae1255f9efcfe864e360cc1b407b905d7}\label{classTextureInterface_ae1255f9efcfe864e360cc1b407b905d7}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Texture\+Index\+Property\+Name@{slot\+Texture\+Index\+Property\+Name}}
\index{slot\+Texture\+Index\+Property\+Name@{slot\+Texture\+Index\+Property\+Name}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Texture\+Index\+Property\+Name()}{slotTextureIndexPropertyName()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Texture\+Index\+Property\+Name (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{Q\+String \&}]{\+\_\+property\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



Get the name of the texture index property. 

Get the name of the property that holds the texture index (face property).


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & The id of the mesh object \\
\hline
{\em \+\_\+property\+Name} & The name of the property that holds the texture indices \\
\hline
\end{DoxyParams}


Definition at line 455 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a9d750b4ae9653a8f4462c8229cec09d1}\label{classTextureInterface_a9d750b4ae9653a8f4462c8229cec09d1}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Texture\+Name@{slot\+Texture\+Name}}
\index{slot\+Texture\+Name@{slot\+Texture\+Name}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Texture\+Name()}{slotTextureName()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Texture\+Name (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{int}]{\+\_\+texture\+Index,  }\item[{Q\+String \&}]{\+\_\+texture\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



get the name of the texture with given texture index 


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the object where the texture should be fetched from \\
\hline
{\em \+\_\+texture\+Index} & texture index of the wanted texture \\
\hline
{\em \+\_\+texture\+Name} & this returns the name of the texture \\
\hline
\end{DoxyParams}


Definition at line 463 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_adcda2f55fd606faf2177dbbaeef05ebd}\label{classTextureInterface_adcda2f55fd606faf2177dbbaeef05ebd}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Texture\+Updated@{slot\+Texture\+Updated}}
\index{slot\+Texture\+Updated@{slot\+Texture\+Updated}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Texture\+Updated()}{slotTextureUpdated()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Texture\+Updated (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{int}]{\+\_\+identifier }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}}



A texture has been updated. 

A plugin has updated a \hyperlink{classTexture}{Texture} 
\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the updated texture \\
\hline
{\em \+\_\+identifier} & -\/1 if all objects updated, otherwise the identifier of the object \\
\hline
\end{DoxyParams}


Definition at line 321 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a4cdfc4a94990fd274fcfcdd8df416095}\label{classTextureInterface_a4cdfc4a94990fd274fcfcdd8df416095}} 
\index{Texture\+Interface@{Texture\+Interface}!slot\+Update\+Texture@{slot\+Update\+Texture}}
\index{slot\+Update\+Texture@{slot\+Update\+Texture}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{slot\+Update\+Texture}{slotUpdateTexture}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::slot\+Update\+Texture (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{int}]{\+\_\+identifier }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [private]}, {\ttfamily [virtual]}, {\ttfamily [slot]}}



update the texture with the given Name ( if this plugin provides this texture ) for all meshes 

This function is called if the texture of the object is about to be shown and the object has changed since the last rendering of the texture.


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & Name of the \hyperlink{classTexture}{Texture} to be updated \\
\hline
{\em \+\_\+identifier} & The id of the object to update \\
\hline
\end{DoxyParams}


Definition at line 309 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_ae9343b82af1a4dbf02019433e6f787fd}\label{classTextureInterface_ae9343b82af1a4dbf02019433e6f787fd}} 
\index{Texture\+Interface@{Texture\+Interface}!texture\+Change\+Image@{texture\+Change\+Image}}
\index{texture\+Change\+Image@{texture\+Change\+Image}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{texture\+Change\+Image()}{textureChangeImage()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::texture\+Change\+Image (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+Image \&}]{\+\_\+image,  }\item[{int}]{\+\_\+id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Change the texture image of a given texture. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the texture which should be changed \\
\hline
{\em \+\_\+image} & The new image for the texture \\
\hline
{\em \+\_\+id} & Id of the object where the texture should be changed \\
\hline
\end{DoxyParams}


Definition at line 220 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a21a6fcd90e201434cf38e795bec04109}\label{classTextureInterface_a21a6fcd90e201434cf38e795bec04109}} 
\index{Texture\+Interface@{Texture\+Interface}!texture\+Change\+Image@{texture\+Change\+Image}}
\index{texture\+Change\+Image@{texture\+Change\+Image}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{texture\+Change\+Image()}{textureChangeImage()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::texture\+Change\+Image (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+Image \&}]{\+\_\+image }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Change the texture image of a given global texture. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the texture which should be changed \\
\hline
{\em \+\_\+image} & The new image for the texture \\
\hline
\end{DoxyParams}


Definition at line 227 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a8bd3e3a683104b086857b9e5d3732239}\label{classTextureInterface_a8bd3e3a683104b086857b9e5d3732239}} 
\index{Texture\+Interface@{Texture\+Interface}!texture\+Filename@{texture\+Filename}}
\index{texture\+Filename@{texture\+Filename}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{texture\+Filename()}{textureFilename()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::texture\+Filename (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+String \&}]{\+\_\+texture\+Filename }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



get the filename of the texture with given texture index 

Get the filename of a given texture with name \+\_\+texture\+Name. Retrieve the texture\textquotesingle{}s name via signal \hyperlink{classTextureInterface_ae3b8c0d537b3ebbd29df7cca5c9054c0}{texture\+Name(int,int,\+Q\+String\&)} first.


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the object where the texture should be fetched from \\
\hline
{\em \+\_\+texture\+Name} & The name of the texture whose filename will be fetched \\
\hline
{\em \+\_\+texture\+Filename} & this returns the name of the texture \\
\hline
\end{DoxyParams}


Definition at line 283 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_abca510e144cbf5b34a80dd4fc9f5638e}\label{classTextureInterface_abca510e144cbf5b34a80dd4fc9f5638e}} 
\index{Texture\+Interface@{Texture\+Interface}!texture\+Get\+Image@{texture\+Get\+Image}}
\index{texture\+Get\+Image@{texture\+Get\+Image}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{texture\+Get\+Image()}{textureGetImage()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::texture\+Get\+Image (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+Image \&}]{\+\_\+image,  }\item[{int}]{\+\_\+id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



get the texture image of a given texture 


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the texture which should be addressed \\
\hline
{\em \+\_\+image} & reference to the image for the texture \\
\hline
{\em \+\_\+id} & Id of the object where the texture should be fetched from \\
\hline
\end{DoxyParams}


Definition at line 235 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a625d9915e455352b262759f9853eea79}\label{classTextureInterface_a625d9915e455352b262759f9853eea79}} 
\index{Texture\+Interface@{Texture\+Interface}!texture\+Get\+Image@{texture\+Get\+Image}}
\index{texture\+Get\+Image@{texture\+Get\+Image}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{texture\+Get\+Image()}{textureGetImage()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::texture\+Get\+Image (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{Q\+Image \&}]{\+\_\+image }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Get the texture image of a given global texture. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the texture which should be addressed \\
\hline
{\em \+\_\+image} & reference to the image for the texture \\
\hline
\end{DoxyParams}


Definition at line 242 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_ac63012a67bab5d8743903710acc839db}\label{classTextureInterface_ac63012a67bab5d8743903710acc839db}} 
\index{Texture\+Interface@{Texture\+Interface}!texture\+Index@{texture\+Index}}
\index{texture\+Index@{texture\+Index}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{texture\+Index()}{textureIndex()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::texture\+Index (\begin{DoxyParamCaption}\item[{Q\+String}]{\+\_\+texture\+Name,  }\item[{int}]{\+\_\+id,  }\item[{int \&}]{\+\_\+index }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Get the texture index of a given texture. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+texture\+Name} & The name of the texture which should be addressed \\
\hline
{\em \+\_\+id} & Id of the object where the texture is defined on \\
\hline
{\em \+\_\+index} & the index of the texture (used for multi\+Texturing) \\
\hline
\end{DoxyParams}


Definition at line 250 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_af153c934d7432f6df280af645ddefe94}\label{classTextureInterface_af153c934d7432f6df280af645ddefe94}} 
\index{Texture\+Interface@{Texture\+Interface}!texture\+Index\+Property\+Name@{texture\+Index\+Property\+Name}}
\index{texture\+Index\+Property\+Name@{texture\+Index\+Property\+Name}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{texture\+Index\+Property\+Name()}{textureIndexPropertyName()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::texture\+Index\+Property\+Name (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{Q\+String \&}]{\+\_\+property\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Get the name of the texture index property. 

Get the name of the property that holds the texture index (face property).


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & The id of the mesh object \\
\hline
{\em \+\_\+property\+Name} & The name of the property that holds the texture indices \\
\hline
\end{DoxyParams}


Definition at line 259 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_ae3b8c0d537b3ebbd29df7cca5c9054c0}\label{classTextureInterface_ae3b8c0d537b3ebbd29df7cca5c9054c0}} 
\index{Texture\+Interface@{Texture\+Interface}!texture\+Name@{texture\+Name}}
\index{texture\+Name@{texture\+Name}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{texture\+Name()}{textureName()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::texture\+Name (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id,  }\item[{int}]{\+\_\+texture\+Index,  }\item[{Q\+String \&}]{\+\_\+texture\+Name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



get the name of the texture with given texture index 

When using multi\+Texturing you can retrieve the texture index of a face with \textquotesingle{}mesh.\+texture\+\_\+index(\+Handle)\textquotesingle{} This function maps the texture index to the name of the actual texture that is used to texture the face. Note that some plugins may change the mesh\textquotesingle{}s internal property name for the texture index such that mesh.\+texture\+\_\+index(\+Handle) won\textquotesingle{}t return a valid texture index.


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the object where the texture should be fetched from \\
\hline
{\em \+\_\+texture\+Index} & texture index of the wanted texture \\
\hline
{\em \+\_\+texture\+Name} & this returns the name of the texture \\
\hline
\end{DoxyParams}


Definition at line 272 of file Texture\+Interface.\+hh.

\mbox{\Hypertarget{classTextureInterface_a862d7c31117a668195f14a09ba8efaf8}\label{classTextureInterface_a862d7c31117a668195f14a09ba8efaf8}} 
\index{Texture\+Interface@{Texture\+Interface}!updated\+Textures@{updated\+Textures}}
\index{updated\+Textures@{updated\+Textures}!Texture\+Interface@{Texture\+Interface}}
\subsubsection{\texorpdfstring{updated\+Textures()}{updatedTextures()}}
{\footnotesize\ttfamily virtual void Texture\+Interface\+::updated\+Textures (\begin{DoxyParamCaption}\item[{Q\+String}]{,  }\item[{int}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



emit this signal if you updated a texture 

Give the name of the texture and the id of the object or -\/1 if all objects were update 

Definition at line 156 of file Texture\+Interface.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/\+Base\+Plugin/Texture\+Interface.\+hh\end{DoxyCompactItemize}
