\hypertarget{a08200}{}\section{S\+B\+F\+Reader Class Reference}
\label{a08200}\index{S\+B\+F\+Reader@{S\+B\+F\+Reader}}
Inheritance diagram for S\+B\+F\+Reader\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a08200}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08200_ab54929c514d24f75774bd4dae2f730fb}\label{a08200_ab54929c514d24f75774bd4dae2f730fb}} 
{\bfseries S\+B\+F\+Reader} (const char $\ast$sz\+Obj\+File)
\item 
\mbox{\Hypertarget{a08200_a75870dca5e0d41cc5645d4bb712f700e}\label{a08200_a75870dca5e0d41cc5645d4bb712f700e}} 
int {\bfseries get\+Num\+Vertices} ()
\item 
\mbox{\Hypertarget{a08200_a2b590a31a63990cde9e215c087bab057}\label{a08200_a2b590a31a63990cde9e215c087bab057}} 
int {\bfseries get\+Num\+Texcoords} ()
\item 
\mbox{\Hypertarget{a08200_a30d9326b7d8fd75a81b6392eb7b52219}\label{a08200_a30d9326b7d8fd75a81b6392eb7b52219}} 
int {\bfseries get\+Num\+Normals} ()
\item 
\mbox{\Hypertarget{a08200_ab94cec2286d3ff75fb81ff9ac6bd85d0}\label{a08200_ab94cec2286d3ff75fb81ff9ac6bd85d0}} 
float $\ast$ {\bfseries get\+Vertices} ()
\item 
\mbox{\Hypertarget{a08200_a36601911d4a0f3af26792829c35c4149}\label{a08200_a36601911d4a0f3af26792829c35c4149}} 
float $\ast$ {\bfseries get\+Normals} ()
\item 
\mbox{\Hypertarget{a08200_a3ffaf898508e16a501f47fdd39acd213}\label{a08200_a3ffaf898508e16a501f47fdd39acd213}} 
float $\ast$ {\bfseries get\+Tex\+Coords} ()
\item 
virtual int \hyperlink{a08200_aa2d60bed1ff3aa408e82ca07da5343a3}{get\+Vertex\+Adj\+Count} (const int \+\_\+vertex\+ID) const
\item 
virtual int \hyperlink{a08200_aae20417f995c30fcb35b8fbe95e9e8dd}{get\+Vertex\+Adj\+Face} (const int \+\_\+vertex\+ID, const int \+\_\+k) const
\item 
\mbox{\Hypertarget{a08200_a729f7e246878d6b6d3f344349ee9042d}\label{a08200_a729f7e246878d6b6d3f344349ee9042d}} 
virtual int {\bfseries get\+Face\+Adj\+Count} (int \+\_\+face\+ID)
\item 
\mbox{\Hypertarget{a08200_ae164dba676ec87387e8998f97a0db9e0}\label{a08200_ae164dba676ec87387e8998f97a0db9e0}} 
virtual int {\bfseries get\+Face\+Adj\+Face} (int \+\_\+face\+ID, int \+\_\+k)
\item 
\mbox{\Hypertarget{a08200_a8cb886183a77f9f36aaa90961d8998fb}\label{a08200_a8cb886183a77f9f36aaa90961d8998fb}} 
void {\bfseries write\+File} (const char $\ast$sz\+File)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a08200_ab57a2b517517450a1d83798b06803e48}\label{a08200_ab57a2b517517450a1d83798b06803e48}} 
int {\bfseries m\+\_\+\+Num\+Verts}
\item 
\mbox{\Hypertarget{a08200_a4120504550e0ba8af27ac9dc6875874b}\label{a08200_a4120504550e0ba8af27ac9dc6875874b}} 
int {\bfseries m\+\_\+\+Num\+Normals}
\item 
\mbox{\Hypertarget{a08200_a49d02858a6020b807837597b1d2e5831}\label{a08200_a49d02858a6020b807837597b1d2e5831}} 
int {\bfseries m\+\_\+\+Num\+Tex\+Coords}
\item 
\mbox{\Hypertarget{a08200_ad3265e379208a4e9f8c4dd75d721aea0}\label{a08200_ad3265e379208a4e9f8c4dd75d721aea0}} 
std\+::vector$<$ float $>$ {\bfseries m\+\_\+\+Vertices}
\item 
\mbox{\Hypertarget{a08200_a1a8d689f0d284729c5a6720dfcb48ced}\label{a08200_a1a8d689f0d284729c5a6720dfcb48ced}} 
std\+::vector$<$ float $>$ {\bfseries m\+\_\+\+Normals}
\item 
\mbox{\Hypertarget{a08200_a372029076f2bdf4cec22f16ce41689a0}\label{a08200_a372029076f2bdf4cec22f16ce41689a0}} 
std\+::vector$<$ float $>$ {\bfseries m\+\_\+\+Tex\+Coords}
\item 
\mbox{\Hypertarget{a08200_a9c9a6da0ebdfe931ad2136553f6a8154}\label{a08200_a9c9a6da0ebdfe931ad2136553f6a8154}} 
int {\bfseries m\+\_\+\+Pos\+Attr\+ID}
\item 
\mbox{\Hypertarget{a08200_ae9d7a8b85e455fd0d379f3cb5d8e003f}\label{a08200_ae9d7a8b85e455fd0d379f3cb5d8e003f}} 
int {\bfseries m\+\_\+\+Norm\+Attr\+ID}
\item 
\mbox{\Hypertarget{a08200_a452a34a842d089253521dea90e4a631f}\label{a08200_a452a34a842d089253521dea90e4a631f}} 
int {\bfseries m\+\_\+\+Tex\+C\+Attr\+ID}
\item 
\mbox{\Hypertarget{a08200_abb5440077fc258707249a3cd1203e097}\label{a08200_abb5440077fc258707249a3cd1203e097}} 
std\+::vector$<$ unsigned char $>$ {\bfseries m\+\_\+\+Adj\+Vertex\+Count}
\item 
\mbox{\Hypertarget{a08200_a14c65b02181c11fbf922bc28befd8892}\label{a08200_a14c65b02181c11fbf922bc28befd8892}} 
std\+::vector$<$ int $>$ {\bfseries m\+\_\+\+Adj\+Vertex\+Offset}
\item 
\mbox{\Hypertarget{a08200_a69dbc893c49cab0853e718b2b9a84961}\label{a08200_a69dbc893c49cab0853e718b2b9a84961}} 
std\+::vector$<$ int $>$ {\bfseries m\+\_\+\+Adj\+Vertex\+Buf}
\item 
\mbox{\Hypertarget{a08200_a3633a04798bfff46a96e56a1b9ae8ccd}\label{a08200_a3633a04798bfff46a96e56a1b9ae8ccd}} 
std\+::vector$<$ int $>$ {\bfseries m\+\_\+\+Adj\+Face\+Offset}
\item 
\mbox{\Hypertarget{a08200_a95dd768c9f4e4e966d13453fd597693d}\label{a08200_a95dd768c9f4e4e966d13453fd597693d}} 
std\+::vector$<$ unsigned char $>$ {\bfseries m\+\_\+\+Adj\+Face\+Count}
\item 
\mbox{\Hypertarget{a08200_a6f6689b193a8e2d641eda478df26cb72}\label{a08200_a6f6689b193a8e2d641eda478df26cb72}} 
std\+::vector$<$ int $>$ {\bfseries m\+\_\+\+Adj\+Face\+Buf}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 52 of file Mesh\+Compiler\+\_\+test.\+cc.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a08200_aa2d60bed1ff3aa408e82ca07da5343a3}\label{a08200_aa2d60bed1ff3aa408e82ca07da5343a3}} 
\index{S\+B\+F\+Reader@{S\+B\+F\+Reader}!get\+Vertex\+Adj\+Count@{get\+Vertex\+Adj\+Count}}
\index{get\+Vertex\+Adj\+Count@{get\+Vertex\+Adj\+Count}!S\+B\+F\+Reader@{S\+B\+F\+Reader}}
\subsubsection{\texorpdfstring{get\+Vertex\+Adj\+Count()}{getVertexAdjCount()}}
{\footnotesize\ttfamily virtual int S\+B\+F\+Reader\+::get\+Vertex\+Adj\+Count (\begin{DoxyParamCaption}\item[{const int}]{\+\_\+vertex\+ID }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Get the number of adjacent faces for a vertex. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+vertex\+ID} & vertex index \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
number of adjacent faces, return -\/1 if adjacency information unavailable 
\end{DoxyReturn}


Reimplemented from \hyperlink{a07488_a1f1309f17f13d5be38c4918acc87dfb4}{A\+C\+G\+::\+Mesh\+Compiler\+Face\+Input}.



Definition at line 66 of file Mesh\+Compiler\+\_\+test.\+cc.

\mbox{\Hypertarget{a08200_aae20417f995c30fcb35b8fbe95e9e8dd}\label{a08200_aae20417f995c30fcb35b8fbe95e9e8dd}} 
\index{S\+B\+F\+Reader@{S\+B\+F\+Reader}!get\+Vertex\+Adj\+Face@{get\+Vertex\+Adj\+Face}}
\index{get\+Vertex\+Adj\+Face@{get\+Vertex\+Adj\+Face}!S\+B\+F\+Reader@{S\+B\+F\+Reader}}
\subsubsection{\texorpdfstring{get\+Vertex\+Adj\+Face()}{getVertexAdjFace()}}
{\footnotesize\ttfamily virtual int S\+B\+F\+Reader\+::get\+Vertex\+Adj\+Face (\begin{DoxyParamCaption}\item[{const int}]{\+\_\+vertex\+ID,  }\item[{const int}]{\+\_\+k }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Get the index of an adjacent face for a vertex. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+vertex\+ID} & vertex index \\
\hline
{\em \+\_\+k} & adjacency list entry in range \mbox{[}0, .., adj\+Count -\/ 1\mbox{]} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
face id of adjacent face, return -\/1 if adjacency information is available 
\end{DoxyReturn}


Reimplemented from \hyperlink{a07488_ab540d39e2a7e1007863acfca35b239b6}{A\+C\+G\+::\+Mesh\+Compiler\+Face\+Input}.



Definition at line 71 of file Mesh\+Compiler\+\_\+test.\+cc.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/tests/\+Mesh\+Compiler/Mesh\+Compiler\+\_\+test.\+cc\end{DoxyCompactItemize}
