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


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

Inheritance diagram for Open\+Mesh\+:\+:I\+O\+:\+:\+\_\+\+O\+B\+J\+Reader\+\_\+\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00261}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00261_a51ee8d4909e7508377314aa3b6fc7a2b}{std\+::string \hyperlink{a00261_a51ee8d4909e7508377314aa3b6fc7a2b}{get\+\_\+description} () const }\label{a00261_a51ee8d4909e7508377314aa3b6fc7a2b}

\begin{DoxyCompactList}\small\item\em Returns a brief description of the file type that can be parsed. \end{DoxyCompactList}\item 
std\+::string \hyperlink{a00261_a70292cd3b5a1a03623f6eedc96b6d704}{get\+\_\+extensions} () const 
\item 
bool \hyperlink{a00261_a63954abd80bd199f5e6bd76e2346cd34}{read} (const std\+::string \&\+\_\+filename, \hyperlink{a00319}{Base\+Importer} \&\+\_\+bi, \hyperlink{a00941}{Options} \&\+\_\+opt)
\item 
bool \hyperlink{a00261_a3aa2dc8668159e54b09cc573a89b49be}{read} (std\+::istream \&\+\_\+in, \hyperlink{a00319}{Base\+Importer} \&\+\_\+bi, \hyperlink{a00941}{Options} \&\+\_\+opt)
\end{DoxyCompactItemize}
\subsection*{Private Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00261_af8cb1e58050837bb16133cd7ebeee320}{typedef std\+::map$<$ std\+::string, \\*
Material $>$ {\bfseries Material\+List}}\label{a00261_af8cb1e58050837bb16133cd7ebeee320}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00261_ab6ce5b0e51d8730fa6324a9b67eb1e46}{bool {\bfseries read\+\_\+material} (std\+::fstream \&\+\_\+in)}\label{a00261_ab6ce5b0e51d8730fa6324a9b67eb1e46}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00261_a591c84e103fb0d2a10968ae8d0609b81}{Material\+List {\bfseries materials\+\_\+}}\label{a00261_a591c84e103fb0d2a10968ae8d0609b81}

\item 
\hypertarget{a00261_ab3410d4c19707251e6bb8763a0d16660}{std\+::string {\bfseries path\+\_\+}}\label{a00261_ab3410d4c19707251e6bb8763a0d16660}

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


\subsection{Detailed Description}
Implementation of the O\+B\+J format reader. 

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



\subsection{Member Function Documentation}
\hypertarget{a00261_a70292cd3b5a1a03623f6eedc96b6d704}{\index{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+}!get\+\_\+extensions@{get\+\_\+extensions}}
\index{get\+\_\+extensions@{get\+\_\+extensions}!Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+}}
\subsubsection[{get\+\_\+extensions}]{\setlength{\rightskip}{0pt plus 5cm}std\+::string Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+\+::get\+\_\+extensions (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00261_a70292cd3b5a1a03623f6eedc96b6d704}
Returns a string with the accepted file extensions separated by a whitespace and in small caps. 

Implements \hyperlink{a00338_a9e76bc7b1b46b7a8b4922d8ca5934419}{Open\+Mesh\+::\+I\+O\+::\+Base\+Reader}.



Definition at line 96 of file O\+B\+J\+Reader.\+hh.

\hypertarget{a00261_a63954abd80bd199f5e6bd76e2346cd34}{\index{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+}!read@{read}}
\index{read@{read}!Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+}}
\subsubsection[{read}]{\setlength{\rightskip}{0pt plus 5cm}bool Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+\+::read (
\begin{DoxyParamCaption}
\item[{const std\+::string \&}]{\+\_\+filename, }
\item[{{\bf Base\+Importer} \&}]{\+\_\+bi, }
\item[{{\bf Options} \&}]{\+\_\+opt}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00261_a63954abd80bd199f5e6bd76e2346cd34}
Reads a mesh given by a filename. Usually this method opens a stream and passes it to stream read method. Acceptance checks by filename extension can be placed here.

\hyperlink{a00941}{Options} can be passed via \+\_\+opt. After execution \+\_\+opt contains the \hyperlink{a00941}{Options} that were available 

Implements \hyperlink{a00338_af4a32645528c1bf2043a9259b172f411}{Open\+Mesh\+::\+I\+O\+::\+Base\+Reader}.



Definition at line 129 of file O\+B\+J\+Reader.\+cc.

\hypertarget{a00261_a3aa2dc8668159e54b09cc573a89b49be}{\index{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+}!read@{read}}
\index{read@{read}!Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+@{Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+}}
\subsubsection[{read}]{\setlength{\rightskip}{0pt plus 5cm}bool Open\+Mesh\+::\+I\+O\+::\+\_\+\+O\+B\+J\+Reader\+\_\+\+::read (
\begin{DoxyParamCaption}
\item[{std\+::istream \&}]{\+\_\+is, }
\item[{{\bf Base\+Importer} \&}]{\+\_\+bi, }
\item[{{\bf Options} \&}]{\+\_\+opt}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00261_a3aa2dc8668159e54b09cc573a89b49be}
Reads a mesh given by a std\+::stream. This method usually uses the same stream reading method that read uses. \hyperlink{a00941}{Options} can be passed via \+\_\+opt. After execution \+\_\+opt contains the \hyperlink{a00941}{Options} that were available.

Please make sure that if \+\_\+is is std\+::ifstream, the correct std\+::ios\+\_\+base\+::openmode flags are set. 

Implements \hyperlink{a00338_a0fd4df36decf91cd91a7f363aae56065}{Open\+Mesh\+::\+I\+O\+::\+Base\+Reader}.



Definition at line 287 of file O\+B\+J\+Reader.\+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/reader/O\+B\+J\+Reader.\+hh\item 
libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Core/\+I\+O/reader/O\+B\+J\+Reader.\+cc\end{DoxyCompactItemize}
