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

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

\item 
int \hyperlink{a00817_ac2d14fdb51827d338a1a2aae282c492b}{get\+Num\+Indices} () const 
\item 
int \hyperlink{a00817_a51d6fbaa3934888a598ea0319cc97cb6}{get\+Face\+Size} (const int \+\_\+face\+I\+D) const 
\item 
int \hyperlink{a00817_a272b47e8bcbec11f5589b4e46d63fb08}{get\+Single\+Face\+Attr} (const int \+\_\+face\+I\+D, const int \+\_\+face\+Corner, const int \+\_\+attr\+I\+D) const 
\item 
bool \hyperlink{a00817_a392417f16a8d548e0d5c77f20c7dd0e8}{get\+Face\+Attr} (const int \+\_\+face\+I\+D, const int \+\_\+attr\+I\+D, int $\ast$\+\_\+out) const 
\item 
\hypertarget{a00817_ab025d5aa7e00949885ca3bdc4b02b265}{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{a00817_ab025d5aa7e00949885ca3bdc4b02b265}

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

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

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

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

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

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

\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 199 of file Mesh\+Node2\+T.\+cc.



\subsection{Member Function Documentation}
\hypertarget{a00817_a392417f16a8d548e0d5c77f20c7dd0e8}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}!get\+Face\+Attr@{get\+Face\+Attr}}
\index{get\+Face\+Attr@{get\+Face\+Attr}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}}
\subsubsection[{get\+Face\+Attr}]{\setlength{\rightskip}{0pt plus 5cm}bool A\+C\+G\+::\+Scene\+Graph\+::\+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{a00817_a392417f16a8d548e0d5c77f20c7dd0e8}
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{a00819_a26572b35ccc91a194c7bda1f4a5f913c}{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Face\+Input}.

\hypertarget{a00817_a51d6fbaa3934888a598ea0319cc97cb6}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}!get\+Face\+Size@{get\+Face\+Size}}
\index{get\+Face\+Size@{get\+Face\+Size}!A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}}
\subsubsection[{get\+Face\+Size}]{\setlength{\rightskip}{0pt plus 5cm}int A\+C\+G\+::\+Scene\+Graph\+::\+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{a00817_a51d6fbaa3934888a598ea0319cc97cb6}
Get number of vertices per face. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+face\+I\+D} & face index \\
\hline
\end{DoxyParams}


Implements \hyperlink{a00819_a6570e527ec8068c6ac12263714b7623e}{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Face\+Input}.



Definition at line 208 of file Mesh\+Node2\+T.\+cc.

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

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

Implements \hyperlink{a00819_aa5127f0c26373273686a59ac58cfd231}{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Face\+Input}.



Definition at line 206 of file Mesh\+Node2\+T.\+cc.

\hypertarget{a00817_a272b47e8bcbec11f5589b4e46d63fb08}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Scene\+Graph\+::\+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\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input@{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Default\+Face\+Input}}
\subsubsection[{get\+Single\+Face\+Attr}]{\setlength{\rightskip}{0pt plus 5cm}int A\+C\+G\+::\+Scene\+Graph\+::\+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{a00817_a272b47e8bcbec11f5589b4e46d63fb08}
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{a00819_a265b4c1fd02a5037fb44ce2317f667ac}{A\+C\+G\+::\+Scene\+Graph\+::\+A\+C\+G\+::\+Mesh\+Compiler\+Face\+Input}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
A\+C\+G/\+Scenegraph/Mesh\+Node2\+T.\+cc\end{DoxyCompactItemize}
