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


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

Inheritance diagram for Open\+Mesh\+:\+:IO\+:\+:\+\_\+\+O\+F\+F\+Writer\+\_\+\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classOpenMesh_1_1IO_1_1__OFFWriter__}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OFFWriter___a586744d36d5cc9c52aca78e6c3896a34}\label{classOpenMesh_1_1IO_1_1__OFFWriter___a586744d36d5cc9c52aca78e6c3896a34}} 
std\+::string \hyperlink{classOpenMesh_1_1IO_1_1__OFFWriter___a586744d36d5cc9c52aca78e6c3896a34}{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__OFFWriter___accbf409248c323c6b0aeab60200e1620}\label{classOpenMesh_1_1IO_1_1__OFFWriter___accbf409248c323c6b0aeab60200e1620}} 
std\+::string \hyperlink{classOpenMesh_1_1IO_1_1__OFFWriter___accbf409248c323c6b0aeab60200e1620}{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__OFFWriter___a0c4ae2c6358f120a2c51bc2c8decbefc}{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 
bool \hyperlink{classOpenMesh_1_1IO_1_1__OFFWriter___a2d9ae4498ee8d646e33978074f37bdfa}{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__OFFWriter___acd3b12efd5d819873b43cfd2e6c581a5}\label{classOpenMesh_1_1IO_1_1__OFFWriter___acd3b12efd5d819873b43cfd2e6c581a5}} 
size\+\_\+t \hyperlink{classOpenMesh_1_1IO_1_1__OFFWriter___acd3b12efd5d819873b43cfd2e6c581a5}{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*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OFFWriter___a02dd1ec375b59cfc4be5a8c79895cc64}\label{classOpenMesh_1_1IO_1_1__OFFWriter___a02dd1ec375b59cfc4be5a8c79895cc64}} 
void {\bfseries write\+Value} (std\+::ostream \&\+\_\+out, int value) const
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OFFWriter___a06c880374be9a193998b91d72823eba2}\label{classOpenMesh_1_1IO_1_1__OFFWriter___a06c880374be9a193998b91d72823eba2}} 
void {\bfseries write\+Value} (std\+::ostream \&\+\_\+out, unsigned int value) const
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OFFWriter___ac4e130295a44b06b9c3158676f509d57}\label{classOpenMesh_1_1IO_1_1__OFFWriter___ac4e130295a44b06b9c3158676f509d57}} 
void {\bfseries write\+Value} (std\+::ostream \&\+\_\+out, float value) const
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OFFWriter___a8064d2afb1aec74dc6bed8034c6b7818}\label{classOpenMesh_1_1IO_1_1__OFFWriter___a8064d2afb1aec74dc6bed8034c6b7818}} 
bool {\bfseries write\+\_\+ascii} (std\+::ostream \&\+\_\+in, \hyperlink{classOpenMesh_1_1IO_1_1BaseExporter}{Base\+Exporter} \&, \hyperlink{classOpenMesh_1_1IO_1_1Options}{Options}) const
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OFFWriter___ad2140f3d045a58a038b4304bdf583dfa}\label{classOpenMesh_1_1IO_1_1__OFFWriter___ad2140f3d045a58a038b4304bdf583dfa}} 
bool {\bfseries write\+\_\+binary} (std\+::ostream \&\+\_\+in, \hyperlink{classOpenMesh_1_1IO_1_1BaseExporter}{Base\+Exporter} \&, \hyperlink{classOpenMesh_1_1IO_1_1Options}{Options}) const
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


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

By passing \hyperlink{classOpenMesh_1_1IO_1_1Options}{Options} to the write function you can manipulate the writing behavoir. The following options can be set\+:

Binary Vertex\+Normal Vertex\+Color Vertex\+Tex\+Coord Face\+Color Color\+Alpha 

Definition at line 92 of file O\+F\+F\+Writer.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OFFWriter___a0c4ae2c6358f120a2c51bc2c8decbefc}\label{classOpenMesh_1_1IO_1_1__OFFWriter___a0c4ae2c6358f120a2c51bc2c8decbefc}} 
\index{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+F\+F\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+F\+F\+Writer\+\_\+}!write@{write}}
\index{write@{write}!Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+F\+F\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+F\+F\+Writer\+\_\+}}
\subsubsection{\texorpdfstring{write()}{write()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+F\+F\+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 [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 81 of file O\+F\+F\+Writer.\+cc.

\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OFFWriter___a2d9ae4498ee8d646e33978074f37bdfa}\label{classOpenMesh_1_1IO_1_1__OFFWriter___a2d9ae4498ee8d646e33978074f37bdfa}} 
\index{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+F\+F\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+F\+F\+Writer\+\_\+}!write@{write}}
\index{write@{write}!Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+F\+F\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+F\+F\+Writer\+\_\+}}
\subsubsection{\texorpdfstring{write()}{write()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+F\+F\+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 94 of file O\+F\+F\+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\+F\+F\+Writer.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+I\+O/writer/O\+F\+F\+Writer.\+cc\end{DoxyCompactItemize}
