\hypertarget{a07492}{}\section{A\+CG\+:\+:Mesh\+Compiler\+Default\+Face\+Input Class Reference}
\label{a07492}\index{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}}
Inheritance diagram for A\+CG\+:\+:Mesh\+Compiler\+Default\+Face\+Input\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a07492}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07492_a0e22db82027766973fb73ea34b8b9f4e}\label{a07492_a0e22db82027766973fb73ea34b8b9f4e}} 
{\bfseries Mesh\+Compiler\+Default\+Face\+Input} (int \+\_\+num\+Faces, int \+\_\+num\+Indices)
\item 
\mbox{\Hypertarget{a07492_ad850a20ce1efd0cc8db1f33382add284}\label{a07492_ad850a20ce1efd0cc8db1f33382add284}} 
int {\bfseries get\+Num\+Faces} () const
\item 
int \hyperlink{a07492_a52c8bf7153159400302b2da76978b089}{get\+Num\+Indices} () const
\item 
int \hyperlink{a07492_a9b0e842634ad4db03ea9634c6b2cc577}{get\+Face\+Size} (const int \+\_\+face\+ID) const
\item 
int \hyperlink{a07492_a5dee4b8da58b3c253562ecb728363f74}{get\+Single\+Face\+Attr} (const int \+\_\+face\+ID, const int \+\_\+face\+Corner, const int \+\_\+attr\+ID) const
\item 
bool \hyperlink{a07492_a458d9587b2c2939d6e3f9871936407b1}{get\+Face\+Attr} (const int \+\_\+face\+ID, const int \+\_\+attr\+ID, int $\ast$\+\_\+out) const
\item 
\mbox{\Hypertarget{a07492_aaae94090449c308e98057626c2d76c41}\label{a07492_aaae94090449c308e98057626c2d76c41}} 
void {\bfseries dbg\+Write\+To\+Obj\+File} (F\+I\+LE $\ast$\+\_\+file, int \+\_\+pos\+Attr\+ID=0, int \+\_\+normal\+Attr\+ID=-\/1, int \+\_\+texc\+Attr\+ID=-\/1)
\item 
\mbox{\Hypertarget{a07492_a4755b63df65ed0b0a404be8d58124883}\label{a07492_a4755b63df65ed0b0a404be8d58124883}} 
void {\bfseries set\+Face\+Data} (int \+\_\+face\+ID, int \+\_\+size, int $\ast$\+\_\+data, int \+\_\+attr\+ID=0)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07492_a5634cec828cbaf8c4b54d9ecf3bae624}\label{a07492_a5634cec828cbaf8c4b54d9ecf3bae624}} 
int {\bfseries num\+Faces\+\_\+}
\item 
\mbox{\Hypertarget{a07492_a463aadb722ff6cadb96d735b25f2928a}\label{a07492_a463aadb722ff6cadb96d735b25f2928a}} 
int {\bfseries num\+Indices\+\_\+}
\item 
\mbox{\Hypertarget{a07492_a54984d58ed2bf68317026dd74b4bf7ec}\label{a07492_a54984d58ed2bf68317026dd74b4bf7ec}} 
std\+::vector$<$ int $>$ {\bfseries face\+Offset\+\_\+}
\item 
\mbox{\Hypertarget{a07492_ac75bd68c7f1798bcfbc170834a8a632d}\label{a07492_ac75bd68c7f1798bcfbc170834a8a632d}} 
std\+::vector$<$ int $>$ {\bfseries face\+Size\+\_\+}
\item 
\mbox{\Hypertarget{a07492_a4a54842344d3d9dad00eeab6c070fc57}\label{a07492_a4a54842344d3d9dad00eeab6c070fc57}} 
std\+::vector$<$ int $>$ {\bfseries face\+Data\+\_\+} \mbox{[}16\mbox{]}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


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



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a07492_a458d9587b2c2939d6e3f9871936407b1}\label{a07492_a458d9587b2c2939d6e3f9871936407b1}} 
\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{\texorpdfstring{get\+Face\+Attr()}{getFaceAttr()}}
{\footnotesize\ttfamily bool A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input\+::get\+Face\+Attr (\begin{DoxyParamCaption}\item[{const int}]{\+\_\+face\+ID,  }\item[{const int}]{\+\_\+attr\+ID,  }\item[{int $\ast$}]{\+\_\+out }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}

Get an index buffer of a face for a specific attribute channel. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+face\+ID} & face index \\
\hline
{\em \+\_\+attr\+ID} & 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{a07488_a019fdd5fc6453c11d6aa3b29d42d5087}{A\+C\+G\+::\+Mesh\+Compiler\+Face\+Input}.



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

\mbox{\Hypertarget{a07492_a9b0e842634ad4db03ea9634c6b2cc577}\label{a07492_a9b0e842634ad4db03ea9634c6b2cc577}} 
\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{\texorpdfstring{get\+Face\+Size()}{getFaceSize()}}
{\footnotesize\ttfamily int A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input\+::get\+Face\+Size (\begin{DoxyParamCaption}\item[{const int}]{\+\_\+face\+ID }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Get number of vertices per face. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+face\+ID} & face index \\
\hline
\end{DoxyParams}


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



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

\mbox{\Hypertarget{a07492_a52c8bf7153159400302b2da76978b089}\label{a07492_a52c8bf7153159400302b2da76978b089}} 
\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{\texorpdfstring{get\+Num\+Indices()}{getNumIndices()}}
{\footnotesize\ttfamily int A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input\+::get\+Num\+Indices (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Get total number of indices in one attribute channel.

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

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



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

\mbox{\Hypertarget{a07492_a5dee4b8da58b3c253562ecb728363f74}\label{a07492_a5dee4b8da58b3c253562ecb728363f74}} 
\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{\texorpdfstring{get\+Single\+Face\+Attr()}{getSingleFaceAttr()}}
{\footnotesize\ttfamily int A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input\+::get\+Single\+Face\+Attr (\begin{DoxyParamCaption}\item[{const int}]{\+\_\+face\+ID,  }\item[{const int}]{\+\_\+face\+Corner,  }\item[{const int}]{\+\_\+attr\+ID }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}

Get a single vertex-\/index entry of a face.


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


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



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



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