\hypertarget{classOpenMesh_1_1IO_1_1__OBJWriter__}{}\section{Open\+Mesh\+:\+:IO\+:\+:\+\_\+\+O\+B\+J\+Writer\+\_\+ Class Reference}
\label{classOpenMesh_1_1IO_1_1__OBJWriter__}\index{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Writer\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Writer\+\_\+}}


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

Inheritance diagram for Open\+Mesh\+:\+:IO\+:\+:\+\_\+\+O\+B\+J\+Writer\+\_\+\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classOpenMesh_1_1IO_1_1__OBJWriter__}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OBJWriter___aeb70a2844af33fdff77e1d1619b19592}\label{classOpenMesh_1_1IO_1_1__OBJWriter___aeb70a2844af33fdff77e1d1619b19592}} 
virtual \hyperlink{classOpenMesh_1_1IO_1_1__OBJWriter___aeb70a2844af33fdff77e1d1619b19592}{$\sim$\+\_\+\+O\+B\+J\+Writer\+\_\+} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OBJWriter___a99db1464b0faf35cba14e406f6e211aa}\label{classOpenMesh_1_1IO_1_1__OBJWriter___a99db1464b0faf35cba14e406f6e211aa}} 
std\+::string \hyperlink{classOpenMesh_1_1IO_1_1__OBJWriter___a99db1464b0faf35cba14e406f6e211aa}{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__OBJWriter___a7570b8ac4c3aa09b4d1d46bc60359923}\label{classOpenMesh_1_1IO_1_1__OBJWriter___a7570b8ac4c3aa09b4d1d46bc60359923}} 
std\+::string \hyperlink{classOpenMesh_1_1IO_1_1__OBJWriter___a7570b8ac4c3aa09b4d1d46bc60359923}{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__OBJWriter___ab9003986262b5727a0d70465cdca7b1d}{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__OBJWriter___a2900556c57dc5b1612fabc5821944091}{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__OBJWriter___a466704f53950f63d77c73f6077b5a93a}\label{classOpenMesh_1_1IO_1_1__OBJWriter___a466704f53950f63d77c73f6077b5a93a}} 
size\+\_\+t \hyperlink{classOpenMesh_1_1IO_1_1__OBJWriter___a466704f53950f63d77c73f6077b5a93a}{binary\+\_\+size} (\hyperlink{classOpenMesh_1_1IO_1_1BaseExporter}{Base\+Exporter} \&, \hyperlink{classOpenMesh_1_1IO_1_1Options}{Options}) const override
\begin{DoxyCompactList}\small\item\em Returns expected size of file if binary format is supported else 0. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OBJWriter___a8821f1f83fe7c893a4f8ffd7f62ff785}\label{classOpenMesh_1_1IO_1_1__OBJWriter___a8821f1f83fe7c893a4f8ffd7f62ff785}} 
size\+\_\+t {\bfseries get\+Material} (\hyperlink{namespaceOpenMesh_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} \+\_\+color) const
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OBJWriter___ad27e28d15795e922062cefde380789c6}\label{classOpenMesh_1_1IO_1_1__OBJWriter___ad27e28d15795e922062cefde380789c6}} 
size\+\_\+t {\bfseries get\+Material} (\hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \+\_\+color) const
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OBJWriter___ac738ec076aefe9076af5799ea45f84ef}\label{classOpenMesh_1_1IO_1_1__OBJWriter___ac738ec076aefe9076af5799ea45f84ef}} 
bool {\bfseries write\+Material} (std\+::ostream \&\+\_\+out, \hyperlink{classOpenMesh_1_1IO_1_1BaseExporter}{Base\+Exporter} \&, \hyperlink{classOpenMesh_1_1IO_1_1Options}{Options}) const
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OBJWriter___a6d9ebbea4a98ab7a7eafbbc97b006d59}\label{classOpenMesh_1_1IO_1_1__OBJWriter___a6d9ebbea4a98ab7a7eafbbc97b006d59}} 
std\+::string {\bfseries path\+\_\+}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OBJWriter___af05d487970d45d0ff21643b92b346836}\label{classOpenMesh_1_1IO_1_1__OBJWriter___af05d487970d45d0ff21643b92b346836}} 
std\+::string {\bfseries obj\+Name\+\_\+}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OBJWriter___ae93d7158c9f83d14eb76c9bb498002c8}\label{classOpenMesh_1_1IO_1_1__OBJWriter___ae93d7158c9f83d14eb76c9bb498002c8}} 
std\+::vector$<$ \hyperlink{namespaceOpenMesh_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} $>$ {\bfseries material\+\_\+}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1IO_1_1__OBJWriter___afbbe203aa603493120401465ddecde63}\label{classOpenMesh_1_1IO_1_1__OBJWriter___afbbe203aa603493120401465ddecde63}} 
std\+::vector$<$ \hyperlink{namespaceOpenMesh_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} $>$ {\bfseries material\+A\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
This class defines the O\+BJ writer. This class is further singleton\textquotesingle{}ed by \hyperlink{classOpenMesh_1_1SingletonT}{SingletonT} to O\+B\+J\+Writer. 

Definition at line 82 of file O\+B\+J\+Writer.\+hh.



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

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