\hypertarget{a10980}{}\section{File\+Open\+Volume\+Mesh\+Plugin Class Reference}
\label{a10980}\index{File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}}
Inheritance diagram for File\+Open\+Volume\+Mesh\+Plugin\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=0.888889cm]{a10980}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10980_a9840908283599eea304350b5f607f86d}\label{a10980_a9840908283599eea304350b5f607f86d}} 
int {\bfseries load\+Object} (Q\+String \+\_\+filename)
\item 
\mbox{\Hypertarget{a10980_a0a3376bac3d0d4bf56dc6428329245d5}\label{a10980_a0a3376bac3d0d4bf56dc6428329245d5}} 
bool {\bfseries save\+Object} (int \+\_\+id, Q\+String \+\_\+filename)
\item 
\mbox{\Hypertarget{a10980_ad7d411ce2f3658aaa261f26ef98b7123}\label{a10980_ad7d411ce2f3658aaa261f26ef98b7123}} 
Q\+String {\bfseries version} ()
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10980_afb82824fa010cc6b617996c6da2802c1}\label{a10980_afb82824fa010cc6b617996c6da2802c1}} 
void {\bfseries opened\+File} (int \+\_\+id)
\item 
\mbox{\Hypertarget{a10980_ad3884e156edf20914acdc6df5e86501b}\label{a10980_ad3884e156edf20914acdc6df5e86501b}} 
void {\bfseries add\+Empty\+Object} (\hyperlink{a07048}{Data\+Type} \+\_\+type, int \&\+\_\+id)
\item 
\mbox{\Hypertarget{a10980_abdf44e853e8c0272810a75341e34eeb9}\label{a10980_abdf44e853e8c0272810a75341e34eeb9}} 
void {\bfseries load} (Q\+String \+\_\+filename, \hyperlink{a07048}{Data\+Type} \+\_\+type, int \&\+\_\+id)
\item 
\mbox{\Hypertarget{a10980_a7fa0145e2121d46747b97ddf7aea02d7}\label{a10980_a7fa0145e2121d46747b97ddf7aea02d7}} 
void {\bfseries save} (int \+\_\+id, Q\+String \+\_\+filename)
\item 
\mbox{\Hypertarget{a10980_abbad7ac1d239c796a734d4c07322ae69}\label{a10980_abbad7ac1d239c796a734d4c07322ae69}} 
void {\bfseries log} (\hyperlink{a00035_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{a10980_a83d3955889304ab4439fd18f10159cc0}\label{a10980_a83d3955889304ab4439fd18f10159cc0}} 
void {\bfseries log} (Q\+String \+\_\+message)
\item 
\mbox{\Hypertarget{a10980_a91973d36bcdff51eeb8b65f6f4bb1c60}\label{a10980_a91973d36bcdff51eeb8b65f6f4bb1c60}} 
void {\bfseries empty\+Object\+Added} (int \+\_\+id)
\item 
\mbox{\Hypertarget{a10980_ab5ec91baf57d96933e23ba6ee80c5483}\label{a10980_ab5ec91baf57d96933e23ba6ee80c5483}} 
void {\bfseries update\+View} ()
\item 
\mbox{\Hypertarget{a10980_a83f0590aa2a47046819e06d5144d46fc}\label{a10980_a83f0590aa2a47046819e06d5144d46fc}} 
void {\bfseries updated\+Object} (int \+\_\+id, const \hyperlink{a07096}{Update\+Type} \&\+\_\+type)
\item 
\mbox{\Hypertarget{a10980_a1b5700dbc133ef934f6f2355b5bd97de}\label{a10980_a1b5700dbc133ef934f6f2355b5bd97de}} 
void {\bfseries register\+Key} (int \+\_\+key, Qt\+::\+Keyboard\+Modifiers \+\_\+modifiers, Q\+String \+\_\+description, bool \+\_\+multi\+Use=false)
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
Q\+String \hyperlink{a10980_abeb50c83dc15ecf542feca5f7397b445}{name} ()
\begin{DoxyCompactList}\small\item\em Return a name for the plugin. \end{DoxyCompactList}\item 
Q\+String \hyperlink{a10980_aec619d1ee5401da05e3b2d75bedf28d0}{description} ()
\begin{DoxyCompactList}\small\item\em Return a description of what the plugin is doing. \end{DoxyCompactList}\item 
\hyperlink{a07048}{Data\+Type} \hyperlink{a10980_a7bcb7f6fc4aeb0dfd1afcbdfca9e182e}{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{a10980_a3bf46bf020b75cd802b78a5793bb14e7}{get\+Save\+Filters} ()
\item 
Q\+String \hyperlink{a10980_a059ddc1eabe22713a28c8820e834bced}{get\+Load\+Filters} ()
\item 
Q\+Widget $\ast$ \hyperlink{a10980_aa67e6101e65710dfabdbccde64c38565}{save\+Options\+Widget} (Q\+String \+\_\+current\+Filter)
\item 
Q\+Widget $\ast$ \hyperlink{a10980_a6ddac64bcf60549da18415c2cee1afdf}{load\+Options\+Widget} (Q\+String \+\_\+current\+Filter)
\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10980_adffcc6713e6ba8453438d50cf3101fea}\label{a10980_adffcc6713e6ba8453438d50cf3101fea}} 
void {\bfseries file\+Opened} (int)
\item 
\mbox{\Hypertarget{a10980_a85ceeba223098a2ee07cecb94181ddad}\label{a10980_a85ceeba223098a2ee07cecb94181ddad}} 
void {\bfseries load\+Ini\+File\+Last} (\hyperlink{a07164}{I\+N\+I\+File} \&\+\_\+ini, int \+\_\+id)
\item 
\mbox{\Hypertarget{a10980_a387e87d49081440dde1ecf16df7f9842}\label{a10980_a387e87d49081440dde1ecf16df7f9842}} 
void {\bfseries save\+Ini\+File} (\hyperlink{a07164}{I\+N\+I\+File} \&\+\_\+ini, int \+\_\+id)
\item 
\mbox{\Hypertarget{a10980_af589ad67d54e6e4ff0c829ef85fb6729}\label{a10980_af589ad67d54e6e4ff0c829ef85fb6729}} 
void {\bfseries initialize\+Plugin} ()
\item 
\mbox{\Hypertarget{a10980_a318be6bda657ee087c780e97319c3f95}\label{a10980_a318be6bda657ee087c780e97319c3f95}} 
void {\bfseries nogui\+Supported} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10980_ace7cade38e0849c6bcf7bbdf7522abc4}\label{a10980_ace7cade38e0849c6bcf7bbdf7522abc4}} 
{\footnotesize template$<$typename MeshT $>$ }\\void {\bfseries load\+Mesh} (const char $\ast$\+\_\+filename, MeshT \&\+\_\+mesh, bool \+\_\+comp, bool \+\_\+top\+Check)
\item 
\mbox{\Hypertarget{a10980_a1607e05700051e15c8ab4b2fc35dbb3f}\label{a10980_a1607e05700051e15c8ab4b2fc35dbb3f}} 
{\footnotesize template$<$typename MeshT $>$ }\\void {\bfseries save\+Mesh} (const char $\ast$\+\_\+filename, MeshT \&\+\_\+mesh, bool \+\_\+comp)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10980_ad3e977a01f265382235e2aa2683c6858}\label{a10980_ad3e977a01f265382235e2aa2683c6858}} 
Q\+Widget $\ast$ {\bfseries load\+Options\+\_\+}
\item 
\mbox{\Hypertarget{a10980_a3faa1395c3c70f757f48dafdfc3b546c}\label{a10980_a3faa1395c3c70f757f48dafdfc3b546c}} 
Q\+Widget $\ast$ {\bfseries save\+Options\+\_\+}
\item 
\mbox{\Hypertarget{a10980_a698d8944e8d7961ec111f949d4ed91ee}\label{a10980_a698d8944e8d7961ec111f949d4ed91ee}} 
Q\+Combo\+Box $\ast$ {\bfseries type\+Check\+\_\+}
\item 
\mbox{\Hypertarget{a10980_aa5e21008679976096b115df80b29192a}\label{a10980_aa5e21008679976096b115df80b29192a}} 
Q\+Check\+Box $\ast$ {\bfseries load\+Comp\+Mode\+\_\+}
\item 
\mbox{\Hypertarget{a10980_a6631b7ed867f72b9d85b201cba326b7e}\label{a10980_a6631b7ed867f72b9d85b201cba326b7e}} 
Q\+Check\+Box $\ast$ {\bfseries load\+Top\+Check\+\_\+}
\item 
\mbox{\Hypertarget{a10980_a3ee3cc1076f7a6b8d8cdfae485e734b4}\label{a10980_a3ee3cc1076f7a6b8d8cdfae485e734b4}} 
Q\+Check\+Box $\ast$ {\bfseries save\+Comp\+Mode\+\_\+}
\item 
\mbox{\Hypertarget{a10980_a3e440b70a5f21279dc99211849e189c0}\label{a10980_a3e440b70a5f21279dc99211849e189c0}} 
\hyperlink{a11668}{Open\+Volume\+Mesh\+::\+I\+O\+::\+File\+Manager} {\bfseries file\+Manager\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 66 of file File\+Open\+Volume\+Mesh.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a10980_aec619d1ee5401da05e3b2d75bedf28d0}\label{a10980_aec619d1ee5401da05e3b2d75bedf28d0}} 
\index{File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}!description@{description}}
\index{description@{description}!File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}}
\subsubsection{\texorpdfstring{description()}{description()}}
{\footnotesize\ttfamily Q\+String File\+Open\+Volume\+Mesh\+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{a06872_a43f0d3612695b53c848c14f48fea9a7a}{Base\+Interface}.



Definition at line 119 of file File\+Open\+Volume\+Mesh.\+hh.

\mbox{\Hypertarget{a10980_a059ddc1eabe22713a28c8820e834bced}\label{a10980_a059ddc1eabe22713a28c8820e834bced}} 
\index{File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}!get\+Load\+Filters@{get\+Load\+Filters}}
\index{get\+Load\+Filters@{get\+Load\+Filters}!File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}}
\subsubsection{\texorpdfstring{get\+Load\+Filters()}{getLoadFilters()}}
{\footnotesize\ttfamily Q\+String File\+Open\+Volume\+Mesh\+Plugin\+::get\+Load\+Filters (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

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

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



Definition at line 108 of file File\+Open\+Volume\+Mesh.\+cc.

\mbox{\Hypertarget{a10980_a3bf46bf020b75cd802b78a5793bb14e7}\label{a10980_a3bf46bf020b75cd802b78a5793bb14e7}} 
\index{File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}!get\+Save\+Filters@{get\+Save\+Filters}}
\index{get\+Save\+Filters@{get\+Save\+Filters}!File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}}
\subsubsection{\texorpdfstring{get\+Save\+Filters()}{getSaveFilters()}}
{\footnotesize\ttfamily Q\+String File\+Open\+Volume\+Mesh\+Plugin\+::get\+Save\+Filters (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}

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

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



Definition at line 116 of file File\+Open\+Volume\+Mesh.\+cc.

\mbox{\Hypertarget{a10980_a6ddac64bcf60549da18415c2cee1afdf}\label{a10980_a6ddac64bcf60549da18415c2cee1afdf}} 
\index{File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}!load\+Options\+Widget@{load\+Options\+Widget}}
\index{load\+Options\+Widget@{load\+Options\+Widget}!File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}}
\subsubsection{\texorpdfstring{load\+Options\+Widget()}{loadOptionsWidget()}}
{\footnotesize\ttfamily Q\+Widget $\ast$ File\+Open\+Volume\+Mesh\+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{a06880_a69ddbb8db7fd5b9257f35bc0148ef7c0}{File\+Interface}.



Definition at line 369 of file File\+Open\+Volume\+Mesh.\+cc.

\mbox{\Hypertarget{a10980_abeb50c83dc15ecf542feca5f7397b445}\label{a10980_abeb50c83dc15ecf542feca5f7397b445}} 
\index{File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}!name@{name}}
\index{name@{name}!File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}}
\subsubsection{\texorpdfstring{name()}{name()}}
{\footnotesize\ttfamily Q\+String File\+Open\+Volume\+Mesh\+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{a06872_a2b351aa6ef0eb368bce735e243235958}{Base\+Interface}.



Definition at line 115 of file File\+Open\+Volume\+Mesh.\+hh.

\mbox{\Hypertarget{a10980_aa67e6101e65710dfabdbccde64c38565}\label{a10980_aa67e6101e65710dfabdbccde64c38565}} 
\index{File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}!save\+Options\+Widget@{save\+Options\+Widget}}
\index{save\+Options\+Widget@{save\+Options\+Widget}!File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}}
\subsubsection{\texorpdfstring{save\+Options\+Widget()}{saveOptionsWidget()}}
{\footnotesize\ttfamily Q\+Widget $\ast$ File\+Open\+Volume\+Mesh\+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{a06880_a5cfabe9faa5b3e9f107766a6b670626b}{File\+Interface}.



Definition at line 362 of file File\+Open\+Volume\+Mesh.\+cc.

\mbox{\Hypertarget{a10980_a7bcb7f6fc4aeb0dfd1afcbdfca9e182e}\label{a10980_a7bcb7f6fc4aeb0dfd1afcbdfca9e182e}} 
\index{File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}!supported\+Type@{supported\+Type}}
\index{supported\+Type@{supported\+Type}!File\+Open\+Volume\+Mesh\+Plugin@{File\+Open\+Volume\+Mesh\+Plugin}}
\subsubsection{\texorpdfstring{supported\+Type()}{supportedType()}}
{\footnotesize\ttfamily \hyperlink{a07048}{Data\+Type} File\+Open\+Volume\+Mesh\+Plugin\+::supported\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\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{a06880_add81abf9277dae44167763da4371fb28}{File\+Interface}.



Definition at line 124 of file File\+Open\+Volume\+Mesh.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin\+Collection-\/\+File\+Plugins/\+Plugin-\/\+File\+O\+V\+M/File\+Open\+Volume\+Mesh.\+hh\item 
Plugin\+Collection-\/\+File\+Plugins/\+Plugin-\/\+File\+O\+V\+M/File\+Open\+Volume\+Mesh.\+cc\item 
Plugin\+Collection-\/\+File\+Plugins/\+Plugin-\/\+File\+O\+V\+M/File\+Open\+Volume\+Mesh\+T\+\_\+impl.\+hh\end{DoxyCompactItemize}
