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


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

Inheritance diagram for Open\+Mesh\+:\+:I\+O\+:\+:\+\_\+\+O\+B\+J\+Writer\+\_\+\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00262}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00262_aeb70a2844af33fdff77e1d1619b19592}{virtual \hyperlink{a00262_aeb70a2844af33fdff77e1d1619b19592}{$\sim$\+\_\+\+O\+B\+J\+Writer\+\_\+} ()}\label{a00262_aeb70a2844af33fdff77e1d1619b19592}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\hypertarget{a00262_a1ad44d1aca048d2f6e7bccdd040f298c}{std\+::string \hyperlink{a00262_a1ad44d1aca048d2f6e7bccdd040f298c}{get\+\_\+description} () const }\label{a00262_a1ad44d1aca048d2f6e7bccdd040f298c}

\begin{DoxyCompactList}\small\item\em Return short description of the supported file format. \end{DoxyCompactList}\item 
\hypertarget{a00262_a1bb9ead4aa2ddaf89226cecea70f8b96}{std\+::string \hyperlink{a00262_a1bb9ead4aa2ddaf89226cecea70f8b96}{get\+\_\+extensions} () const }\label{a00262_a1bb9ead4aa2ddaf89226cecea70f8b96}

\begin{DoxyCompactList}\small\item\em Return file format's extension. \end{DoxyCompactList}\item 
bool \hyperlink{a00262_adcb31c3553c0307d1fc44115460f6901}{write} (const std\+::string \&, \hyperlink{a00314}{Base\+Exporter} \&, \hyperlink{a00941}{Options}, std\+::streamsize \+\_\+precision=6) const 
\item 
bool \hyperlink{a00262_a8324e17b43ec30f805bc406e703ca090}{write} (std\+::ostream \&, \hyperlink{a00314}{Base\+Exporter} \&, \hyperlink{a00941}{Options}, std\+::streamsize \+\_\+precision=6) const 
\item 
\hypertarget{a00262_ae5fbd1591e5adad3aefd0a3e05585bcc}{size\+\_\+t \hyperlink{a00262_ae5fbd1591e5adad3aefd0a3e05585bcc}{binary\+\_\+size} (\hyperlink{a00314}{Base\+Exporter} \&, \hyperlink{a00941}{Options}) const }\label{a00262_ae5fbd1591e5adad3aefd0a3e05585bcc}

\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 
\hypertarget{a00262_a11b760f734c179aad196c7bfd2f976d5}{size\+\_\+t {\bfseries get\+Material} (\hyperlink{a03368_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} \+\_\+color) const }\label{a00262_a11b760f734c179aad196c7bfd2f976d5}

\item 
\hypertarget{a00262_af8674523369d9180ec461b471658925a}{size\+\_\+t {\bfseries get\+Material} (\hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} \+\_\+color) const }\label{a00262_af8674523369d9180ec461b471658925a}

\item 
\hypertarget{a00262_a6c62e7ef5daa20a21048b055bb590dcf}{bool {\bfseries write\+Material} (std\+::ostream \&\+\_\+out, \hyperlink{a00314}{Base\+Exporter} \&, \hyperlink{a00941}{Options}) const }\label{a00262_a6c62e7ef5daa20a21048b055bb590dcf}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00262_a6d9ebbea4a98ab7a7eafbbc97b006d59}{std\+::string {\bfseries path\+\_\+}}\label{a00262_a6d9ebbea4a98ab7a7eafbbc97b006d59}

\item 
\hypertarget{a00262_af05d487970d45d0ff21643b92b346836}{std\+::string {\bfseries obj\+Name\+\_\+}}\label{a00262_af05d487970d45d0ff21643b92b346836}

\item 
\hypertarget{a00262_ae93d7158c9f83d14eb76c9bb498002c8}{std\+::vector$<$ \hyperlink{a03368_aa8903e7c1a37b97fb332a69122a7c6e8}{Open\+Mesh\+::\+Vec3f} $>$ {\bfseries material\+\_\+}}\label{a00262_ae93d7158c9f83d14eb76c9bb498002c8}

\item 
\hypertarget{a00262_afbbe203aa603493120401465ddecde63}{std\+::vector$<$ \hyperlink{a03368_a3b7e6dba036bbefcc461f05db4f7694b}{Open\+Mesh\+::\+Vec4f} $>$ {\bfseries material\+A\+\_\+}}\label{a00262_afbbe203aa603493120401465ddecde63}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
This class defines the O\+B\+J writer. This class is further singleton'ed by \hyperlink{a01181}{Singleton\+T} to O\+B\+J\+Writer. 

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



\subsection{Member Function Documentation}
\hypertarget{a00262_adcb31c3553c0307d1fc44115460f6901}{\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[{write}]{\setlength{\rightskip}{0pt plus 5cm}bool Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Writer\+\_\+\+::write (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{\+\_\+filename, }
\item[{{\bf Base\+Exporter} \&}]{\+\_\+be, }
\item[{{\bf Options}}]{\+\_\+opt, }
\item[{std\+::streamsize}]{\+\_\+precision = {\ttfamily 6}}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00262_adcb31c3553c0307d1fc44115460f6901}
Write to a file 
\begin{DoxyParams}{Parameters}
{\em \+\_\+filename} & write to file with the given filename \\
\hline
{\em \+\_\+be} & \hyperlink{a00314}{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{a00345_a7c0818a63926bdb439044a8f4c038d85}{Open\+Mesh\+::\+I\+O\+::\+Base\+Writer}.



Definition at line 89 of file O\+B\+J\+Writer.\+cc.

\hypertarget{a00262_a8324e17b43ec30f805bc406e703ca090}{\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[{write}]{\setlength{\rightskip}{0pt plus 5cm}bool Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Writer\+\_\+\+::write (
\begin{DoxyParamCaption}
\item[{std\+::ostream \&}]{\+\_\+os, }
\item[{{\bf Base\+Exporter} \&}]{\+\_\+be, }
\item[{{\bf Options}}]{\+\_\+opt, }
\item[{std\+::streamsize}]{\+\_\+precision = {\ttfamily 6}}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00262_a8324e17b43ec30f805bc406e703ca090}
Write to a std\+::ostream 
\begin{DoxyParams}{Parameters}
{\em \+\_\+os} & write to std\+::ostream \\
\hline
{\em \+\_\+be} & \hyperlink{a00314}{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{a00345_ae0aa2050e93f96d71ff70ce788a76a94}{Open\+Mesh\+::\+I\+O\+::\+Base\+Writer}.



Definition at line 207 of file O\+B\+J\+Writer.\+cc.



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