\hypertarget{classFilePTSPlugin}{}\section{File\+P\+T\+S\+Plugin Class Reference}
\label{classFilePTSPlugin}\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=9.000000cm]{classFilePTSPlugin}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_adc61e9a1f85982b6a6375bac279a63d5}\label{classFilePTSPlugin_adc61e9a1f85982b6a6375bac279a63d5}} 
Q\+String {\bfseries version} ()
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a08108c922001ba1af0450124c287103b}\label{classFilePTSPlugin_a08108c922001ba1af0450124c287103b}} 
int {\bfseries load\+Object} (Q\+String \+\_\+filename)
\item 
\mbox{\Hypertarget{classFilePTSPlugin_acadd1b8a945ecb457e5a229dddc15a74}\label{classFilePTSPlugin_acadd1b8a945ecb457e5a229dddc15a74}} 
bool {\bfseries save\+Object} (int \+\_\+object\+Id, Q\+String \+\_\+filename)
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_ae741de05410c07db6b9a73820cd77bb0}\label{classFilePTSPlugin_ae741de05410c07db6b9a73820cd77bb0}} 
void {\bfseries opened\+File} (int \+\_\+object\+Id)
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a1de05be75df8ad3a07669e8e2570f8c9}\label{classFilePTSPlugin_a1de05be75df8ad3a07669e8e2570f8c9}} 
void {\bfseries add\+Empty\+Object} (\hyperlink{classDataType}{Data\+Type} \+\_\+type, int \&\+\_\+object\+Id)
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a7f05990989764ce08e0b0d00d39badda}\label{classFilePTSPlugin_a7f05990989764ce08e0b0d00d39badda}} 
void {\bfseries delete\+Object} (int \+\_\+object\+Id)
\item 
\mbox{\Hypertarget{classFilePTSPlugin_ad16a5bad9cbcf4d804683c99158fc8a8}\label{classFilePTSPlugin_ad16a5bad9cbcf4d804683c99158fc8a8}} 
void {\bfseries updated\+Object} (int \+\_\+object\+Id, const \hyperlink{classUpdateType}{Update\+Type} \&\+\_\+type)
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a490d345fe591b73f75af274e1b9c8e98}\label{classFilePTSPlugin_a490d345fe591b73f75af274e1b9c8e98}} 
void {\bfseries log} (Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{classFilePTSPlugin_acfb19b6f096d66893cc60c261e803c82}\label{classFilePTSPlugin_acfb19b6f096d66893cc60c261e803c82}} 
void {\bfseries log} (\hyperlink{LoggingInterface_8hh_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a9585c206388831ac63203ef522d991eb}\label{classFilePTSPlugin_a9585c206388831ac63203ef522d991eb}} 
void {\bfseries add\+About\+Info} (Q\+String \+\_\+text, Q\+String \+\_\+tab\+Name)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{classFilePTSPlugin_a47ff0b339a1218d7e5d0f77a07675705}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{classFilePTSPlugin_a4bbdbf2fb4cfc0146ade2ab977b2dfbe}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\item 
\hyperlink{classDataType}{Data\+Type} \hyperlink{classFilePTSPlugin_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\+SH ) \end{DoxyCompactList}\item 
Q\+String \hyperlink{classFilePTSPlugin_ad23c8a1677c0b37754ae899b939e7f78}{get\+Save\+Filters} ()
\item 
Q\+String \hyperlink{classFilePTSPlugin_a691acd6859d54ddb798d3ed01ecec14c}{get\+Load\+Filters} ()
\item 
Q\+Widget $\ast$ \hyperlink{classFilePTSPlugin_acaefed8db89c39a4b3491372bf67107d}{save\+Options\+Widget} (Q\+String)
\item 
Q\+Widget $\ast$ \hyperlink{classFilePTSPlugin_a53ebfaa1bb274817afdcedc3fe7529fd}{load\+Options\+Widget} (Q\+String)
\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a73c1a4e1f72bd25e18c08d8da53b9d06}\label{classFilePTSPlugin_a73c1a4e1f72bd25e18c08d8da53b9d06}} 
void {\bfseries initialize\+Plugin} ()
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a6a9e324c612f58d6ea68e748e3be919f}\label{classFilePTSPlugin_a6a9e324c612f58d6ea68e748e3be919f}} 
void {\bfseries nogui\+Supported} ()
\item 
\mbox{\Hypertarget{classFilePTSPlugin_ad1995aeead19c32dbabdefd6cd2ea78e}\label{classFilePTSPlugin_ad1995aeead19c32dbabdefd6cd2ea78e}} 
void {\bfseries slot\+Update\+Load\+Color\+Range} ()
\item 
\mbox{\Hypertarget{classFilePTSPlugin_ac765fe5f038b969f4ed5420d88e21653}\label{classFilePTSPlugin_ac765fe5f038b969f4ed5420d88e21653}} 
void {\bfseries slot\+Update\+Save\+Color\+Range} ()
\item 
\mbox{\Hypertarget{classFilePTSPlugin_acfa265379e96d1f2a14c5d80197d4627}\label{classFilePTSPlugin_acfa265379e96d1f2a14c5d80197d4627}} 
void {\bfseries slot\+Load\+Make\+Default\+Button\+Clicked} ()
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a9a21d6cf3f3f4a83d7afe75e4ddb2ac1}\label{classFilePTSPlugin_a9a21d6cf3f3f4a83d7afe75e4ddb2ac1}} 
void {\bfseries slot\+Save\+Make\+Default\+Button\+Clicked} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a1e89f71b0b04951d41e9e4cb2dac1966}\label{classFilePTSPlugin_a1e89f71b0b04951d41e9e4cb2dac1966}} 
bool {\bfseries read\+Binary\+File} (const char $\ast$\+\_\+filename, \hyperlink{classSplatCloud}{Splat\+Cloud} \&\+\_\+splat\+Cloud)
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a13ec04b87da6edaca3505e1891641b8f}\label{classFilePTSPlugin_a13ec04b87da6edaca3505e1891641b8f}} 
bool {\bfseries read\+Text\+File} (const char $\ast$\+\_\+filename, \hyperlink{classSplatCloud}{Splat\+Cloud} \&\+\_\+splat\+Cloud)
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a2d4728bc57fb66582471a2154b1be2ac}\label{classFilePTSPlugin_a2d4728bc57fb66582471a2154b1be2ac}} 
bool {\bfseries write\+Binary\+File} (const char $\ast$\+\_\+filename, const \hyperlink{SplatCloudTypes_8hh_a353513f96453e3cc23e2b159744300fa}{Splat\+Cloud\+Node} $\ast$\+\_\+splat\+Cloud\+Node)
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a5d223773ea8fe653ad200fd7f635a132}\label{classFilePTSPlugin_a5d223773ea8fe653ad200fd7f635a132}} 
bool {\bfseries write\+Text\+File} (const char $\ast$\+\_\+filename, const \hyperlink{SplatCloudTypes_8hh_a353513f96453e3cc23e2b159744300fa}{Splat\+Cloud\+Node} $\ast$\+\_\+splat\+Cloud\+Node)
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a893f4872e3e1d28ef15ba6afa7b4eb1c}\label{classFilePTSPlugin_a893f4872e3e1d28ef15ba6afa7b4eb1c}} 
bool {\bfseries read\+Compressed\+Binary\+Chunk} (F\+I\+LE $\ast$\+\_\+file, size\+\_\+t \+\_\+compressed\+Size, char $\ast$\+\_\+dst)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a24af7a1715b1bd16373dad06d82a200b}\label{classFilePTSPlugin_a24af7a1715b1bd16373dad06d82a200b}} 
Q\+Widget $\ast$ {\bfseries load\+Options\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_afa68c296adf1ee7d25b1f089100cb631}\label{classFilePTSPlugin_afa68c296adf1ee7d25b1f089100cb631}} 
Q\+Widget $\ast$ {\bfseries save\+Options\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_ad00c0535879c0d50276f458590cd0fd4}\label{classFilePTSPlugin_ad00c0535879c0d50276f458590cd0fd4}} 
Q\+Check\+Box $\ast$ {\bfseries load\+Binary\+File\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_ad0207b61cd972e481e8fbd2d9ef586ef}\label{classFilePTSPlugin_ad0207b61cd972e481e8fbd2d9ef586ef}} 
Q\+Check\+Box $\ast$ {\bfseries load\+Normals\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_acc946647d58ff3661c5762e84d04538c}\label{classFilePTSPlugin_acc946647d58ff3661c5762e84d04538c}} 
Q\+Check\+Box $\ast$ {\bfseries load\+Pointsizes\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a8ff35a04b8d3a16422fef34d4db25c6f}\label{classFilePTSPlugin_a8ff35a04b8d3a16422fef34d4db25c6f}} 
Q\+Check\+Box $\ast$ {\bfseries load\+Colors\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a2665661ff6e595e6697c02e246b758c9}\label{classFilePTSPlugin_a2665661ff6e595e6697c02e246b758c9}} 
Q\+Combo\+Box $\ast$ {\bfseries load\+Color\+Range\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_aaea0a1fadec8f9a8dedc465f88597248}\label{classFilePTSPlugin_aaea0a1fadec8f9a8dedc465f88597248}} 
Q\+Check\+Box $\ast$ {\bfseries load\+Indices\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_af65e419f557486f1007e91cb41c86e74}\label{classFilePTSPlugin_af65e419f557486f1007e91cb41c86e74}} 
Q\+Check\+Box $\ast$ {\bfseries save\+Binary\+File\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a18293ce980ce8e8f7379cfb2a99ba283}\label{classFilePTSPlugin_a18293ce980ce8e8f7379cfb2a99ba283}} 
Q\+Check\+Box $\ast$ {\bfseries save\+Normals\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a86a68a9d344bb7232fc204c57b71ab27}\label{classFilePTSPlugin_a86a68a9d344bb7232fc204c57b71ab27}} 
Q\+Check\+Box $\ast$ {\bfseries save\+Pointsizes\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a7c0091564fc9f2b9494512349ffe2d61}\label{classFilePTSPlugin_a7c0091564fc9f2b9494512349ffe2d61}} 
Q\+Check\+Box $\ast$ {\bfseries save\+Colors\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a12a6db444ecf42b50b91f3a538f96971}\label{classFilePTSPlugin_a12a6db444ecf42b50b91f3a538f96971}} 
Q\+Combo\+Box $\ast$ {\bfseries save\+Color\+Range\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a2ca4eee09594ccabab4db0cd308f4324}\label{classFilePTSPlugin_a2ca4eee09594ccabab4db0cd308f4324}} 
Q\+Check\+Box $\ast$ {\bfseries save\+Indices\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a4570c387c927dd05af420180a1525013}\label{classFilePTSPlugin_a4570c387c927dd05af420180a1525013}} 
Q\+Push\+Button $\ast$ {\bfseries load\+Make\+Default\+Button\+\_\+}
\item 
\mbox{\Hypertarget{classFilePTSPlugin_a9bd818eb9d7cc4caf4f7d815d92e7c4a}\label{classFilePTSPlugin_a9bd818eb9d7cc4caf4f7d815d92e7c4a}} 
Q\+Push\+Button $\ast$ {\bfseries save\+Make\+Default\+Button\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classFilePTSPlugin_a4bbdbf2fb4cfc0146ade2ab977b2dfbe}\label{classFilePTSPlugin_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{\texorpdfstring{description()}{description()}}
{\footnotesize\ttfamily Q\+String File\+P\+T\+S\+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 126 of file File\+P\+T\+S.\+hh.

\mbox{\Hypertarget{classFilePTSPlugin_a691acd6859d54ddb798d3ed01ecec14c}\label{classFilePTSPlugin_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{\texorpdfstring{get\+Load\+Filters()}{getLoadFilters()}}
{\footnotesize\ttfamily Q\+String File\+P\+T\+S\+Plugin\+::get\+Load\+Filters (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Return the Qt Filters for File dialogs when loading files (e.\+g. \char`\"{}\+Off files ( $\ast$.\+off )\char`\"{} ) 

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



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

\mbox{\Hypertarget{classFilePTSPlugin_ad23c8a1677c0b37754ae899b939e7f78}\label{classFilePTSPlugin_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{\texorpdfstring{get\+Save\+Filters()}{getSaveFilters()}}
{\footnotesize\ttfamily Q\+String File\+P\+T\+S\+Plugin\+::get\+Save\+Filters (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Get the Qt Filters for Filedialogs when saving files (e.\+g. \char`\"{}\+Off files ( $\ast$.\+off )\char`\"{} ) 

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



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

\mbox{\Hypertarget{classFilePTSPlugin_a53ebfaa1bb274817afdcedc3fe7529fd}\label{classFilePTSPlugin_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{\texorpdfstring{load\+Options\+Widget()}{loadOptionsWidget()}}
{\footnotesize\ttfamily 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]}}

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\textquotesingle{}t need one 

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



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

\mbox{\Hypertarget{classFilePTSPlugin_a47ff0b339a1218d7e5d0f77a07675705}\label{classFilePTSPlugin_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{\texorpdfstring{name()}{name()}}
{\footnotesize\ttfamily Q\+String File\+P\+T\+S\+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 125 of file File\+P\+T\+S.\+hh.

\mbox{\Hypertarget{classFilePTSPlugin_acaefed8db89c39a4b3491372bf67107d}\label{classFilePTSPlugin_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{\texorpdfstring{save\+Options\+Widget()}{saveOptionsWidget()}}
{\footnotesize\ttfamily 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]}}

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\textquotesingle{}t need one 

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



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

\mbox{\Hypertarget{classFilePTSPlugin_ad4bffcf0916751f4dba7492053023364}\label{classFilePTSPlugin_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{\texorpdfstring{supported\+Type()}{supportedType()}}
{\footnotesize\ttfamily \hyperlink{classDataType}{Data\+Type} File\+P\+T\+S\+Plugin\+::supported\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



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

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{classFileInterface_add81abf9277dae44167763da4371fb28}{File\+Interface}.



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