\hypertarget{a00818}{\section{A\+C\+G\+:\+:Mesh\+Compiler\+Default\+Face\+Input Class Reference}
\label{a00818}\index{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}}
}
Inheritance diagram for A\+C\+G\+:\+:Mesh\+Compiler\+Default\+Face\+Input\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a00818}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00818_a0e22db82027766973fb73ea34b8b9f4e}{{\bfseries Mesh\+Compiler\+Default\+Face\+Input} (int \+\_\+num\+Faces, int \+\_\+num\+Indices)}\label{a00818_a0e22db82027766973fb73ea34b8b9f4e}

\item 
\hypertarget{a00818_abe71adc104ed9389a711d58569c860e1}{int {\bfseries get\+Num\+Faces} () const }\label{a00818_abe71adc104ed9389a711d58569c860e1}

\item 
int \hyperlink{a00818_aab4639fb84164397dc0b0f2eb69911e5}{get\+Num\+Indices} () const 
\item 
int \hyperlink{a00818_a4a8ea35c8746c27544bf94906510e1f8}{get\+Face\+Size} (const int \+\_\+face\+I\+D) const 
\item 
int \hyperlink{a00818_aba9699f7ffea003ff82dfa77bfab6aa2}{get\+Single\+Face\+Attr} (const int \+\_\+face\+I\+D, const int \+\_\+face\+Corner, const int \+\_\+attr\+I\+D) const 
\item 
bool \hyperlink{a00818_a13e628e98b8f4d20f34760f0c39352ba}{get\+Face\+Attr} (const int \+\_\+face\+I\+D, const int \+\_\+attr\+I\+D, int $\ast$\+\_\+out) const 
\item 
\hypertarget{a00818_aaae94090449c308e98057626c2d76c41}{void {\bfseries dbg\+Write\+To\+Obj\+File} (F\+I\+L\+E $\ast$\+\_\+file, int \+\_\+pos\+Attr\+I\+D=0, int \+\_\+normal\+Attr\+I\+D=-\/1, int \+\_\+texc\+Attr\+I\+D=-\/1)}\label{a00818_aaae94090449c308e98057626c2d76c41}

\item 
\hypertarget{a00818_a4755b63df65ed0b0a404be8d58124883}{void {\bfseries set\+Face\+Data} (int \+\_\+face\+I\+D, int \+\_\+size, int $\ast$\+\_\+data, int \+\_\+attr\+I\+D=0)}\label{a00818_a4755b63df65ed0b0a404be8d58124883}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00818_a5634cec828cbaf8c4b54d9ecf3bae624}{int {\bfseries num\+Faces\+\_\+}}\label{a00818_a5634cec828cbaf8c4b54d9ecf3bae624}

\item 
\hypertarget{a00818_a463aadb722ff6cadb96d735b25f2928a}{int {\bfseries num\+Indices\+\_\+}}\label{a00818_a463aadb722ff6cadb96d735b25f2928a}

\item 
\hypertarget{a00818_a54984d58ed2bf68317026dd74b4bf7ec}{std\+::vector$<$ int $>$ {\bfseries face\+Offset\+\_\+}}\label{a00818_a54984d58ed2bf68317026dd74b4bf7ec}

\item 
\hypertarget{a00818_ac75bd68c7f1798bcfbc170834a8a632d}{std\+::vector$<$ int $>$ {\bfseries face\+Size\+\_\+}}\label{a00818_ac75bd68c7f1798bcfbc170834a8a632d}

\item 
\hypertarget{a00818_a4a54842344d3d9dad00eeab6c070fc57}{std\+::vector$<$ int $>$ {\bfseries face\+Data\+\_\+} \mbox{[}16\mbox{]}}\label{a00818_a4a54842344d3d9dad00eeab6c070fc57}

\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 199 of file Mesh\+Compiler.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00818_a13e628e98b8f4d20f34760f0c39352ba}{\index{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}!get\+Face\+Attr@{get\+Face\+Attr}}
\index{get\+Face\+Attr@{get\+Face\+Attr}!A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}}
\subsubsection[{get\+Face\+Attr}]{\setlength{\rightskip}{0pt plus 5cm}bool A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input\+::get\+Face\+Attr (
\begin{DoxyParamCaption}
\item[{const int}]{\+\_\+face\+I\+D, }
\item[{const int}]{\+\_\+attr\+I\+D, }
\item[{int $\ast$}]{\+\_\+out}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00818_a13e628e98b8f4d20f34760f0c39352ba}
Get an index buffer of a face for a specific attribute channel. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+face\+I\+D} & face index \\
\hline
{\em \+\_\+attr\+I\+D} & attribute channel \\
\hline
{\em \+\_\+out} & pointer to output buffer, use get\+Face\+Size(\+\_\+face\+I\+D) to get the size needed to store face data \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if successful, false otherwise 
\end{DoxyReturn}


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



Definition at line 4081 of file Mesh\+Compiler.\+cc.

\hypertarget{a00818_a4a8ea35c8746c27544bf94906510e1f8}{\index{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}!get\+Face\+Size@{get\+Face\+Size}}
\index{get\+Face\+Size@{get\+Face\+Size}!A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}}
\subsubsection[{get\+Face\+Size}]{\setlength{\rightskip}{0pt plus 5cm}int A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input\+::get\+Face\+Size (
\begin{DoxyParamCaption}
\item[{const int}]{\+\_\+face\+I\+D}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00818_a4a8ea35c8746c27544bf94906510e1f8}
Get number of vertices per face. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+face\+I\+D} & face index \\
\hline
\end{DoxyParams}


Implements \hyperlink{a00820_a8ecea4ae3be27075e8d2ab4b54433be5}{A\+C\+G\+::\+Mesh\+Compiler\+Face\+Input}.



Definition at line 208 of file Mesh\+Compiler.\+hh.

\hypertarget{a00818_aab4639fb84164397dc0b0f2eb69911e5}{\index{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}!get\+Num\+Indices@{get\+Num\+Indices}}
\index{get\+Num\+Indices@{get\+Num\+Indices}!A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}}
\subsubsection[{get\+Num\+Indices}]{\setlength{\rightskip}{0pt plus 5cm}int A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input\+::get\+Num\+Indices (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00818_aab4639fb84164397dc0b0f2eb69911e5}
Get total number of indices in one attribute channel.

i.\+e. total number of position indices of the whole mesh 

Implements \hyperlink{a00820_a46d97b3dc907594c9a3db5a2c6f75861}{A\+C\+G\+::\+Mesh\+Compiler\+Face\+Input}.



Definition at line 206 of file Mesh\+Compiler.\+hh.

\hypertarget{a00818_aba9699f7ffea003ff82dfa77bfab6aa2}{\index{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}!get\+Single\+Face\+Attr@{get\+Single\+Face\+Attr}}
\index{get\+Single\+Face\+Attr@{get\+Single\+Face\+Attr}!A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}}
\subsubsection[{get\+Single\+Face\+Attr}]{\setlength{\rightskip}{0pt plus 5cm}int A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input\+::get\+Single\+Face\+Attr (
\begin{DoxyParamCaption}
\item[{const int}]{\+\_\+face\+I\+D, }
\item[{const int}]{\+\_\+face\+Corner, }
\item[{const int}]{\+\_\+attr\+I\+D}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a00818_aba9699f7ffea003ff82dfa77bfab6aa2}
Get a single vertex-\/index entry of a face.


\begin{DoxyParams}{Parameters}
{\em \+\_\+face\+I\+D} & face index \\
\hline
{\em \+\_\+face\+Corner} & vertex corner of the face \\
\hline
{\em \+\_\+attr\+I\+D} & attribute channel \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
index-\/data if successful, -\/1 otherwise 
\end{DoxyReturn}


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



Definition at line 4092 of file Mesh\+Compiler.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+G\+L/Mesh\+Compiler.\+hh\item 
A\+C\+G/\+G\+L/Mesh\+Compiler.\+cc\end{DoxyCompactItemize}
