\hypertarget{a00583}{\section{File\+P\+T\+S\+Plugin Class Reference}
\label{a00583}\index{File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}}
}
Inheritance diagram for File\+P\+T\+S\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.259843cm]{a00583}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00583_adc61e9a1f85982b6a6375bac279a63d5}{Q\+String {\bfseries version} ()}\label{a00583_adc61e9a1f85982b6a6375bac279a63d5}

\item 
\hypertarget{a00583_a08108c922001ba1af0450124c287103b}{int {\bfseries load\+Object} (Q\+String \+\_\+filename)}\label{a00583_a08108c922001ba1af0450124c287103b}

\item 
\hypertarget{a00583_acadd1b8a945ecb457e5a229dddc15a74}{bool {\bfseries save\+Object} (int \+\_\+object\+Id, Q\+String \+\_\+filename)}\label{a00583_acadd1b8a945ecb457e5a229dddc15a74}

\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00583_ae741de05410c07db6b9a73820cd77bb0}{void {\bfseries opened\+File} (int \+\_\+object\+Id)}\label{a00583_ae741de05410c07db6b9a73820cd77bb0}

\item 
\hypertarget{a00583_a1de05be75df8ad3a07669e8e2570f8c9}{void {\bfseries add\+Empty\+Object} (\hyperlink{a00477}{Data\+Type} \+\_\+type, int \&\+\_\+object\+Id)}\label{a00583_a1de05be75df8ad3a07669e8e2570f8c9}

\item 
\hypertarget{a00583_a7f05990989764ce08e0b0d00d39badda}{void {\bfseries delete\+Object} (int \+\_\+object\+Id)}\label{a00583_a7f05990989764ce08e0b0d00d39badda}

\item 
\hypertarget{a00583_ad16a5bad9cbcf4d804683c99158fc8a8}{void {\bfseries updated\+Object} (int \+\_\+object\+Id, const \hyperlink{a01393}{Update\+Type} \&\+\_\+type)}\label{a00583_ad16a5bad9cbcf4d804683c99158fc8a8}

\item 
\hypertarget{a00583_a490d345fe591b73f75af274e1b9c8e98}{void {\bfseries log} (Q\+String \+\_\+message)}\label{a00583_a490d345fe591b73f75af274e1b9c8e98}

\item 
\hypertarget{a00583_acfb19b6f096d66893cc60c261e803c82}{void {\bfseries log} (\hyperlink{a02444_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)}\label{a00583_acfb19b6f096d66893cc60c261e803c82}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{a00583_a47ff0b339a1218d7e5d0f77a07675705}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a00583_a4bbdbf2fb4cfc0146ade2ab977b2dfbe}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\item 
\hyperlink{a00477}{Data\+Type} \hyperlink{a00583_ad4bffcf0916751f4dba7492053023364}{supported\+Type} ()
\begin{DoxyCompactList}\small\item\em Return your supported object type( e.\+g. D\+A\+T\+A\+\_\+\+T\+R\+I\+A\+N\+G\+L\+E\+\_\+\+M\+E\+S\+H ) \end{DoxyCompactList}\item 
Q\+String \hyperlink{a00583_ad23c8a1677c0b37754ae899b939e7f78}{get\+Save\+Filters} ()
\item 
Q\+String \hyperlink{a00583_a691acd6859d54ddb798d3ed01ecec14c}{get\+Load\+Filters} ()
\item 
Q\+Widget $\ast$ \hyperlink{a00583_acaefed8db89c39a4b3491372bf67107d}{save\+Options\+Widget} (Q\+String)
\item 
Q\+Widget $\ast$ \hyperlink{a00583_a53ebfaa1bb274817afdcedc3fe7529fd}{load\+Options\+Widget} (Q\+String)
\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00583_a6a9e324c612f58d6ea68e748e3be919f}{void {\bfseries nogui\+Supported} ()}\label{a00583_a6a9e324c612f58d6ea68e748e3be919f}

\item 
\hypertarget{a00583_ad1995aeead19c32dbabdefd6cd2ea78e}{void {\bfseries slot\+Update\+Load\+Color\+Range} ()}\label{a00583_ad1995aeead19c32dbabdefd6cd2ea78e}

\item 
\hypertarget{a00583_ac765fe5f038b969f4ed5420d88e21653}{void {\bfseries slot\+Update\+Save\+Color\+Range} ()}\label{a00583_ac765fe5f038b969f4ed5420d88e21653}

\item 
\hypertarget{a00583_acfa265379e96d1f2a14c5d80197d4627}{void {\bfseries slot\+Load\+Make\+Default\+Button\+Clicked} ()}\label{a00583_acfa265379e96d1f2a14c5d80197d4627}

\item 
\hypertarget{a00583_a9a21d6cf3f3f4a83d7afe75e4ddb2ac1}{void {\bfseries slot\+Save\+Make\+Default\+Button\+Clicked} ()}\label{a00583_a9a21d6cf3f3f4a83d7afe75e4ddb2ac1}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00583_a1e89f71b0b04951d41e9e4cb2dac1966}{bool {\bfseries read\+Binary\+File} (const char $\ast$\+\_\+filename, \hyperlink{a01211}{Splat\+Cloud} \&\+\_\+splat\+Cloud)}\label{a00583_a1e89f71b0b04951d41e9e4cb2dac1966}

\item 
\hypertarget{a00583_a13ec04b87da6edaca3505e1891641b8f}{bool {\bfseries read\+Text\+File} (const char $\ast$\+\_\+filename, \hyperlink{a01211}{Splat\+Cloud} \&\+\_\+splat\+Cloud)}\label{a00583_a13ec04b87da6edaca3505e1891641b8f}

\item 
\hypertarget{a00583_a2d4728bc57fb66582471a2154b1be2ac}{bool {\bfseries write\+Binary\+File} (const char $\ast$\+\_\+filename, const \hyperlink{a02419_a353513f96453e3cc23e2b159744300fa}{Splat\+Cloud\+Node} $\ast$\+\_\+splat\+Cloud\+Node)}\label{a00583_a2d4728bc57fb66582471a2154b1be2ac}

\item 
\hypertarget{a00583_a5d223773ea8fe653ad200fd7f635a132}{bool {\bfseries write\+Text\+File} (const char $\ast$\+\_\+filename, const \hyperlink{a02419_a353513f96453e3cc23e2b159744300fa}{Splat\+Cloud\+Node} $\ast$\+\_\+splat\+Cloud\+Node)}\label{a00583_a5d223773ea8fe653ad200fd7f635a132}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00583_a24af7a1715b1bd16373dad06d82a200b}{Q\+Widget $\ast$ {\bfseries load\+Options\+\_\+}}\label{a00583_a24af7a1715b1bd16373dad06d82a200b}

\item 
\hypertarget{a00583_afa68c296adf1ee7d25b1f089100cb631}{Q\+Widget $\ast$ {\bfseries save\+Options\+\_\+}}\label{a00583_afa68c296adf1ee7d25b1f089100cb631}

\item 
\hypertarget{a00583_ad00c0535879c0d50276f458590cd0fd4}{Q\+Check\+Box $\ast$ {\bfseries load\+Binary\+File\+\_\+}}\label{a00583_ad00c0535879c0d50276f458590cd0fd4}

\item 
\hypertarget{a00583_ad0207b61cd972e481e8fbd2d9ef586ef}{Q\+Check\+Box $\ast$ {\bfseries load\+Normals\+\_\+}}\label{a00583_ad0207b61cd972e481e8fbd2d9ef586ef}

\item 
\hypertarget{a00583_acc946647d58ff3661c5762e84d04538c}{Q\+Check\+Box $\ast$ {\bfseries load\+Pointsizes\+\_\+}}\label{a00583_acc946647d58ff3661c5762e84d04538c}

\item 
\hypertarget{a00583_a8ff35a04b8d3a16422fef34d4db25c6f}{Q\+Check\+Box $\ast$ {\bfseries load\+Colors\+\_\+}}\label{a00583_a8ff35a04b8d3a16422fef34d4db25c6f}

\item 
\hypertarget{a00583_a2665661ff6e595e6697c02e246b758c9}{Q\+Combo\+Box $\ast$ {\bfseries load\+Color\+Range\+\_\+}}\label{a00583_a2665661ff6e595e6697c02e246b758c9}

\item 
\hypertarget{a00583_aaea0a1fadec8f9a8dedc465f88597248}{Q\+Check\+Box $\ast$ {\bfseries load\+Indices\+\_\+}}\label{a00583_aaea0a1fadec8f9a8dedc465f88597248}

\item 
\hypertarget{a00583_af65e419f557486f1007e91cb41c86e74}{Q\+Check\+Box $\ast$ {\bfseries save\+Binary\+File\+\_\+}}\label{a00583_af65e419f557486f1007e91cb41c86e74}

\item 
\hypertarget{a00583_a18293ce980ce8e8f7379cfb2a99ba283}{Q\+Check\+Box $\ast$ {\bfseries save\+Normals\+\_\+}}\label{a00583_a18293ce980ce8e8f7379cfb2a99ba283}

\item 
\hypertarget{a00583_a86a68a9d344bb7232fc204c57b71ab27}{Q\+Check\+Box $\ast$ {\bfseries save\+Pointsizes\+\_\+}}\label{a00583_a86a68a9d344bb7232fc204c57b71ab27}

\item 
\hypertarget{a00583_a7c0091564fc9f2b9494512349ffe2d61}{Q\+Check\+Box $\ast$ {\bfseries save\+Colors\+\_\+}}\label{a00583_a7c0091564fc9f2b9494512349ffe2d61}

\item 
\hypertarget{a00583_a12a6db444ecf42b50b91f3a538f96971}{Q\+Combo\+Box $\ast$ {\bfseries save\+Color\+Range\+\_\+}}\label{a00583_a12a6db444ecf42b50b91f3a538f96971}

\item 
\hypertarget{a00583_a2ca4eee09594ccabab4db0cd308f4324}{Q\+Check\+Box $\ast$ {\bfseries save\+Indices\+\_\+}}\label{a00583_a2ca4eee09594ccabab4db0cd308f4324}

\item 
\hypertarget{a00583_a4570c387c927dd05af420180a1525013}{Q\+Push\+Button $\ast$ {\bfseries load\+Make\+Default\+Button\+\_\+}}\label{a00583_a4570c387c927dd05af420180a1525013}

\item 
\hypertarget{a00583_a9bd818eb9d7cc4caf4f7d815d92e7c4a}{Q\+Push\+Button $\ast$ {\bfseries save\+Make\+Default\+Button\+\_\+}}\label{a00583_a9bd818eb9d7cc4caf4f7d815d92e7c4a}

\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 89 of file File\+P\+T\+S.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00583_a4bbdbf2fb4cfc0146ade2ab977b2dfbe}{\index{File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}!description@{description}}
\index{description@{description}!File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}}
\subsubsection[{description}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String File\+P\+T\+S\+Plugin\+::description (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00583_a4bbdbf2fb4cfc0146ade2ab977b2dfbe}


Return a description of what the plugin is doing. 

This function has to return a basic description of the plugin 

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



Definition at line 128 of file File\+P\+T\+S.\+hh.

\hypertarget{a00583_a691acd6859d54ddb798d3ed01ecec14c}{\index{File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}!get\+Load\+Filters@{get\+Load\+Filters}}
\index{get\+Load\+Filters@{get\+Load\+Filters}!File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}}
\subsubsection[{get\+Load\+Filters}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String File\+P\+T\+S\+Plugin\+::get\+Load\+Filters (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00583_a691acd6859d54ddb798d3ed01ecec14c}
Return the Qt Filters for File dialogs when loading files (e.\+g. \char`\"{}\+Off files ( $\ast$.\+off )\char`\"{} ) 

Implements \hyperlink{a00570_a804009a394ded7436b43c624af9cc44d}{File\+Interface}.



Definition at line 135 of file File\+P\+T\+S.\+hh.

\hypertarget{a00583_ad23c8a1677c0b37754ae899b939e7f78}{\index{File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}!get\+Save\+Filters@{get\+Save\+Filters}}
\index{get\+Save\+Filters@{get\+Save\+Filters}!File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}}
\subsubsection[{get\+Save\+Filters}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String File\+P\+T\+S\+Plugin\+::get\+Save\+Filters (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00583_ad23c8a1677c0b37754ae899b939e7f78}
Get the Qt Filters for Filedialogs when saving files (e.\+g. \char`\"{}\+Off files ( $\ast$.\+off )\char`\"{} ) 

Implements \hyperlink{a00570_a86b79f14fef9913720c6456df43de7df}{File\+Interface}.



Definition at line 134 of file File\+P\+T\+S.\+hh.

\hypertarget{a00583_a53ebfaa1bb274817afdcedc3fe7529fd}{\index{File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}!load\+Options\+Widget@{load\+Options\+Widget}}
\index{load\+Options\+Widget@{load\+Options\+Widget}!File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}}
\subsubsection[{load\+Options\+Widget}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Widget $\ast$ File\+P\+T\+S\+Plugin\+::load\+Options\+Widget (
\begin{DoxyParamCaption}
\item[{Q\+String}]{\+\_\+current\+Filter}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00583_a53ebfaa1bb274817afdcedc3fe7529fd}
You can provide a special widget showing options for loading your file types depending on the current filter

\+\_\+current\+Filter\+: one filter from load\+Filters

Return 0 when you don't need one 

Implements \hyperlink{a00570_a69ddbb8db7fd5b9257f35bc0148ef7c0}{File\+Interface}.



Definition at line 861 of file File\+P\+T\+S.\+cc.

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


Return a name for the plugin. 

This Function has to return the name of the plugin. 

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



Definition at line 127 of file File\+P\+T\+S.\+hh.

\hypertarget{a00583_acaefed8db89c39a4b3491372bf67107d}{\index{File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}!save\+Options\+Widget@{save\+Options\+Widget}}
\index{save\+Options\+Widget@{save\+Options\+Widget}!File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}}
\subsubsection[{save\+Options\+Widget}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Widget $\ast$ File\+P\+T\+S\+Plugin\+::save\+Options\+Widget (
\begin{DoxyParamCaption}
\item[{Q\+String}]{\+\_\+current\+Filter}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00583_acaefed8db89c39a4b3491372bf67107d}
You can provide a special widget showing options for saving your file types depending on the current filter

\+\_\+current\+Filter\+: one filter from save\+Filters

Return 0 when you don't need one 

Implements \hyperlink{a00570_a5cfabe9faa5b3e9f107766a6b670626b}{File\+Interface}.



Definition at line 928 of file File\+P\+T\+S.\+cc.

\hypertarget{a00583_ad4bffcf0916751f4dba7492053023364}{\index{File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}!supported\+Type@{supported\+Type}}
\index{supported\+Type@{supported\+Type}!File\+P\+T\+S\+Plugin@{File\+P\+T\+S\+Plugin}}
\subsubsection[{supported\+Type}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Data\+Type} File\+P\+T\+S\+Plugin\+::supported\+Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00583_ad4bffcf0916751f4dba7492053023364}


Return your supported object type( e.\+g. D\+A\+T\+A\+\_\+\+T\+R\+I\+A\+N\+G\+L\+E\+\_\+\+M\+E\+S\+H ) 

If you support multiple Data\+Types you can combine them bitwise here. The function is used from the load and save code to check if your plugin can handle an object of a given data\+Type. 

Implements \hyperlink{a00570_add81abf9277dae44167763da4371fb28}{File\+Interface}.



Definition at line 131 of file File\+P\+T\+S.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin\+Collection-\/\+File\+Plugins/\+Plugin-\/\+File\+P\+T\+S/File\+P\+T\+S.\+hh\item 
Plugin\+Collection-\/\+File\+Plugins/\+Plugin-\/\+File\+P\+T\+S/File\+P\+T\+S.\+cc\end{DoxyCompactItemize}
