\hypertarget{classACG_1_1MeshCompilerDefaultFaceInput}{}\section{A\+CG\+:\+:Mesh\+Compiler\+Default\+Face\+Input Class Reference}
\label{classACG_1_1MeshCompilerDefaultFaceInput}\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]{classACG_1_1MeshCompilerDefaultFaceInput}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1MeshCompilerDefaultFaceInput_a0e22db82027766973fb73ea34b8b9f4e}\label{classACG_1_1MeshCompilerDefaultFaceInput_a0e22db82027766973fb73ea34b8b9f4e}} 
{\bfseries Mesh\+Compiler\+Default\+Face\+Input} (int \+\_\+num\+Faces, int \+\_\+num\+Indices)
\item 
\mbox{\Hypertarget{classACG_1_1MeshCompilerDefaultFaceInput_adb2bde841b117e9434055432fb669a67}\label{classACG_1_1MeshCompilerDefaultFaceInput_adb2bde841b117e9434055432fb669a67}} 
int {\bfseries get\+Num\+Faces} () const override
\item 
int \hyperlink{classACG_1_1MeshCompilerDefaultFaceInput_af690b7319ea70d4a4bc1e8d1b1e63252}{get\+Num\+Indices} () const override
\item 
int \hyperlink{classACG_1_1MeshCompilerDefaultFaceInput_ab3c43b66e7657730a449dd0ac03f9f4f}{get\+Face\+Size} (const int \+\_\+face\+ID) const override
\item 
int \hyperlink{classACG_1_1MeshCompilerDefaultFaceInput_a7c780bb8ebf6d8be197873a77713f843}{get\+Single\+Face\+Attr} (const int \+\_\+face\+ID, const int \+\_\+face\+Corner, const int \+\_\+attr\+ID) const override
\item 
bool \hyperlink{classACG_1_1MeshCompilerDefaultFaceInput_a6b9f3f6459349c12e77770067a06715d}{get\+Face\+Attr} (const int \+\_\+face\+ID, const int \+\_\+attr\+ID, int $\ast$\+\_\+out) const override
\item 
\mbox{\Hypertarget{classACG_1_1MeshCompilerDefaultFaceInput_aaae94090449c308e98057626c2d76c41}\label{classACG_1_1MeshCompilerDefaultFaceInput_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{classACG_1_1MeshCompilerDefaultFaceInput_a4755b63df65ed0b0a404be8d58124883}\label{classACG_1_1MeshCompilerDefaultFaceInput_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{classACG_1_1MeshCompilerDefaultFaceInput_a5634cec828cbaf8c4b54d9ecf3bae624}\label{classACG_1_1MeshCompilerDefaultFaceInput_a5634cec828cbaf8c4b54d9ecf3bae624}} 
int {\bfseries num\+Faces\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1MeshCompilerDefaultFaceInput_a463aadb722ff6cadb96d735b25f2928a}\label{classACG_1_1MeshCompilerDefaultFaceInput_a463aadb722ff6cadb96d735b25f2928a}} 
int {\bfseries num\+Indices\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1MeshCompilerDefaultFaceInput_a54984d58ed2bf68317026dd74b4bf7ec}\label{classACG_1_1MeshCompilerDefaultFaceInput_a54984d58ed2bf68317026dd74b4bf7ec}} 
std\+::vector$<$ int $>$ {\bfseries face\+Offset\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1MeshCompilerDefaultFaceInput_ac75bd68c7f1798bcfbc170834a8a632d}\label{classACG_1_1MeshCompilerDefaultFaceInput_ac75bd68c7f1798bcfbc170834a8a632d}} 
std\+::vector$<$ int $>$ {\bfseries face\+Size\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1MeshCompilerDefaultFaceInput_a4a54842344d3d9dad00eeab6c070fc57}\label{classACG_1_1MeshCompilerDefaultFaceInput_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{classACG_1_1MeshCompilerDefaultFaceInput_a6b9f3f6459349c12e77770067a06715d}\label{classACG_1_1MeshCompilerDefaultFaceInput_a6b9f3f6459349c12e77770067a06715d}} 
\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 [override]}, {\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{classACG_1_1MeshCompilerFaceInput_a019fdd5fc6453c11d6aa3b29d42d5087}{A\+C\+G\+::\+Mesh\+Compiler\+Face\+Input}.



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

\mbox{\Hypertarget{classACG_1_1MeshCompilerDefaultFaceInput_ab3c43b66e7657730a449dd0ac03f9f4f}\label{classACG_1_1MeshCompilerDefaultFaceInput_ab3c43b66e7657730a449dd0ac03f9f4f}} 
\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 [override]}, {\ttfamily [virtual]}}

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


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



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

\mbox{\Hypertarget{classACG_1_1MeshCompilerDefaultFaceInput_af690b7319ea70d4a4bc1e8d1b1e63252}\label{classACG_1_1MeshCompilerDefaultFaceInput_af690b7319ea70d4a4bc1e8d1b1e63252}} 
\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 [override]}, {\ttfamily [virtual]}}

Get total number of indices in one attribute channel.

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

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



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

\mbox{\Hypertarget{classACG_1_1MeshCompilerDefaultFaceInput_a7c780bb8ebf6d8be197873a77713f843}\label{classACG_1_1MeshCompilerDefaultFaceInput_a7c780bb8ebf6d8be197873a77713f843}} 
\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 [override]}, {\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{classACG_1_1MeshCompilerFaceInput_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}
