\hypertarget{classOpenMesh_1_1IO_1_1__OMWriter__}{}\section{Open\+Mesh\+:\+:IO\+:\+:\+\_\+\+O\+M\+Writer\+\_\+ Class Reference}
\label{classOpenMesh_1_1IO_1_1__OMWriter__}\index{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+}}


{\ttfamily \#include $<$Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+I\+O/writer/\+O\+M\+Writer.\+hh$>$}

Inheritance diagram for Open\+Mesh\+:\+:IO\+:\+:\+\_\+\+O\+M\+Writer\+\_\+\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classOpenMesh_1_1IO_1_1__OMWriter__}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OMWriter___a124124ec1cf547f34f7f07c3c5345267}\label{classOpenMesh_1_1IO_1_1__OMWriter___a124124ec1cf547f34f7f07c3c5345267}} 
\hyperlink{classOpenMesh_1_1IO_1_1__OMWriter___a124124ec1cf547f34f7f07c3c5345267}{\+\_\+\+O\+M\+Writer\+\_\+} ()
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OMWriter___ae824f4266ba7a3230c483f10c90b2c22}\label{classOpenMesh_1_1IO_1_1__OMWriter___ae824f4266ba7a3230c483f10c90b2c22}} 
virtual \hyperlink{classOpenMesh_1_1IO_1_1__OMWriter___ae824f4266ba7a3230c483f10c90b2c22}{$\sim$\+\_\+\+O\+M\+Writer\+\_\+} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OMWriter___ad38ac6bb3ec54742df944235e807df1c}\label{classOpenMesh_1_1IO_1_1__OMWriter___ad38ac6bb3ec54742df944235e807df1c}} 
std\+::string \hyperlink{classOpenMesh_1_1IO_1_1__OMWriter___ad38ac6bb3ec54742df944235e807df1c}{get\+\_\+description} () const override
\begin{DoxyCompactList}\small\item\em Return short description of the supported file format. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OMWriter___ab4a1388bc4fbbfa1ee52f179f84a01f0}\label{classOpenMesh_1_1IO_1_1__OMWriter___ab4a1388bc4fbbfa1ee52f179f84a01f0}} 
std\+::string \hyperlink{classOpenMesh_1_1IO_1_1__OMWriter___ab4a1388bc4fbbfa1ee52f179f84a01f0}{get\+\_\+extensions} () const override
\begin{DoxyCompactList}\small\item\em Return file format\textquotesingle{}s extension. \end{DoxyCompactList}\item 
bool \hyperlink{classOpenMesh_1_1IO_1_1__OMWriter___aa479d3ffc8fc461dae1390603fe258c6}{write} (std\+::ostream \&, \hyperlink{classOpenMesh_1_1IO_1_1BaseExporter}{Base\+Exporter} \&, \hyperlink{classOpenMesh_1_1IO_1_1Options}{Options}, std\+::streamsize \+\_\+precision=6) const override
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OMWriter___abaeb10172821c09a9d5a9d23d752e036}\label{classOpenMesh_1_1IO_1_1__OMWriter___abaeb10172821c09a9d5a9d23d752e036}} 
size\+\_\+t \hyperlink{classOpenMesh_1_1IO_1_1__OMWriter___abaeb10172821c09a9d5a9d23d752e036}{binary\+\_\+size} (\hyperlink{classOpenMesh_1_1IO_1_1BaseExporter}{Base\+Exporter} \&\+\_\+be, \hyperlink{classOpenMesh_1_1IO_1_1Options}{Options} \+\_\+opt) const override
\begin{DoxyCompactList}\small\item\em Returns expected size of file if binary format is supported else 0. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OMWriter___abca06fbd89e87d8a916fea83f6946e3e}\label{classOpenMesh_1_1IO_1_1__OMWriter___abca06fbd89e87d8a916fea83f6946e3e}} 
static O\+M\+Format\+::uint8 {\bfseries get\+\_\+version} ()
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{classOpenMesh_1_1IO_1_1__OMWriter___a36499c4a93c00c8311fae277f539f254}{write} (const std\+::string \&, \hyperlink{classOpenMesh_1_1IO_1_1BaseExporter}{Base\+Exporter} \&, \hyperlink{classOpenMesh_1_1IO_1_1Options}{Options}, std\+::streamsize \+\_\+precision=6) const override
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OMWriter___a3af94cce280d8d2f5c29fcdfaaf07bec}\label{classOpenMesh_1_1IO_1_1__OMWriter___a3af94cce280d8d2f5c29fcdfaaf07bec}} 
bool {\bfseries write\+\_\+binary} (std\+::ostream \&, \hyperlink{classOpenMesh_1_1IO_1_1BaseExporter}{Base\+Exporter} \&, \hyperlink{classOpenMesh_1_1IO_1_1Options}{Options}) const
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OMWriter___afb4da2e614e0b1ee2d177b4fcdc9b92f}\label{classOpenMesh_1_1IO_1_1__OMWriter___afb4da2e614e0b1ee2d177b4fcdc9b92f}} 
size\+\_\+t {\bfseries store\+\_\+binary\+\_\+custom\+\_\+chunk} (std\+::ostream \&, const \hyperlink{classOpenMesh_1_1BaseProperty}{Base\+Property} \&, O\+M\+Format\+::\+Chunk\+::\+Entity, bool) const
\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OMWriter___a3f4bc815e89b32cc09b9756edf6bccc5}\label{classOpenMesh_1_1IO_1_1__OMWriter___a3f4bc815e89b32cc09b9756edf6bccc5}} 
static const O\+M\+Format\+::uchar {\bfseries magic\+\_\+} \mbox{[}3\mbox{]} = \char`\"{}OM\char`\"{}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OMWriter___abb0a3ed12b0bc77e63e6e9e5c91cd90b}\label{classOpenMesh_1_1IO_1_1__OMWriter___abb0a3ed12b0bc77e63e6e9e5c91cd90b}} 
static const O\+M\+Format\+::uint8 {\bfseries version\+\_\+} = O\+M\+Format\+::mk\+\_\+version(2,0)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Implementation of the OM format writer. This class is singleton\textquotesingle{}ed by \hyperlink{classOpenMesh_1_1SingletonT}{SingletonT} to O\+M\+Writer. 

Definition at line 91 of file O\+M\+Writer.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OMWriter___aa479d3ffc8fc461dae1390603fe258c6}\label{classOpenMesh_1_1IO_1_1__OMWriter___aa479d3ffc8fc461dae1390603fe258c6}} 
\index{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+}!write@{write}}
\index{write@{write}!Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+}}
\subsubsection{\texorpdfstring{write()}{write()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+\+::write (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{\+\_\+os,  }\item[{\hyperlink{classOpenMesh_1_1IO_1_1BaseExporter}{Base\+Exporter} \&}]{\+\_\+be,  }\item[{\hyperlink{classOpenMesh_1_1IO_1_1Options}{Options}}]{\+\_\+opt,  }\item[{std\+::streamsize}]{\+\_\+precision = {\ttfamily 6} }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}

Write to a std\+::ostream 
\begin{DoxyParams}{Parameters}
{\em \+\_\+os} & write to std\+::ostream \\
\hline
{\em \+\_\+be} & \hyperlink{classOpenMesh_1_1IO_1_1BaseExporter}{Base\+Exporter}, which specifies the data source \\
\hline
{\em \+\_\+opt} & writing options \\
\hline
{\em \+\_\+precision} & can be used to specify the precision of the floating point notation. \\
\hline
\end{DoxyParams}


Implements \hyperlink{classOpenMesh_1_1IO_1_1BaseWriter_ae0aa2050e93f96d71ff70ce788a76a94}{Open\+Mesh\+::\+I\+O\+::\+Base\+Writer}.



Definition at line 131 of file O\+M\+Writer.\+cc.

\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OMWriter___a36499c4a93c00c8311fae277f539f254}\label{classOpenMesh_1_1IO_1_1__OMWriter___a36499c4a93c00c8311fae277f539f254}} 
\index{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+}!write@{write}}
\index{write@{write}!Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+}}
\subsubsection{\texorpdfstring{write()}{write()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+M\+Writer\+\_\+\+::write (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{\+\_\+filename,  }\item[{\hyperlink{classOpenMesh_1_1IO_1_1BaseExporter}{Base\+Exporter} \&}]{\+\_\+be,  }\item[{\hyperlink{classOpenMesh_1_1IO_1_1Options}{Options}}]{\+\_\+opt,  }\item[{std\+::streamsize}]{\+\_\+precision = {\ttfamily 6} }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}

Write to a file 
\begin{DoxyParams}{Parameters}
{\em \+\_\+filename} & write to file with the given filename \\
\hline
{\em \+\_\+be} & \hyperlink{classOpenMesh_1_1IO_1_1BaseExporter}{Base\+Exporter}, which specifies the data source \\
\hline
{\em \+\_\+opt} & writing options \\
\hline
{\em \+\_\+precision} & can be used to specify the precision of the floating point notation. \\
\hline
\end{DoxyParams}


Implements \hyperlink{classOpenMesh_1_1IO_1_1BaseWriter_a7c0818a63926bdb439044a8f4c038d85}{Open\+Mesh\+::\+I\+O\+::\+Base\+Writer}.



Definition at line 95 of file O\+M\+Writer.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+I\+O/writer/O\+M\+Writer.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+I\+O/writer/O\+M\+Writer.\+cc\end{DoxyCompactItemize}
