\hypertarget{a00506}{\section{A\+C\+G\+:\+:Draw\+Mesh\+Face\+Input$<$ Mesh $>$ Class Template Reference}
\label{a00506}\index{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input$<$ Mesh $>$@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input$<$ Mesh $>$}}
}
Inheritance diagram for A\+C\+G\+:\+:Draw\+Mesh\+Face\+Input$<$ Mesh $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00506}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00506_a8364b2f0658476e43b5f2882cb703deb}{{\bfseries Draw\+Mesh\+Face\+Input} (\hyperlink{a01335}{Mesh} \&\+\_\+mesh)}\label{a00506_a8364b2f0658476e43b5f2882cb703deb}

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

\item 
int \hyperlink{a00506_a533b37f46048879ba6e62e668e509ed6}{get\+Num\+Indices} () const 
\item 
int \hyperlink{a00506_a3313bb5273aeb74dcf5fb2a532099423}{get\+Face\+Size} (const int \+\_\+face\+I\+D) const 
\item 
int \hyperlink{a00506_ad5781369e09d75239759a387465db4a7}{get\+Single\+Face\+Attr} (const int \+\_\+face\+I\+D, const int \+\_\+face\+Corner, const int \+\_\+attr\+I\+D) const 
\item 
bool \hyperlink{a00506_a2b300ed027572c11af6457891880683e}{get\+Face\+Attr} (const int \+\_\+face\+I\+D, const int \+\_\+attr\+I\+D, int $\ast$\+\_\+out) const 
\item 
int $\ast$ \hyperlink{a00506_a4abac979694e1d1c2cce5e0dd54d168b}{get\+Face\+Attr} (const int \+\_\+face\+I\+D, const int \+\_\+attr\+I\+D) const 
\item 
int \hyperlink{a00506_aa64d630d1e44d6a80cc00dfdf4ed996e}{get\+Vertex\+Adj\+Count} (const int \+\_\+vertex\+I\+D) const 
\item 
int \hyperlink{a00506_afe7ce7eba720c8da626261d99ca431a4}{get\+Vertex\+Adj\+Face} (const int \+\_\+vertex\+I\+D, const int \+\_\+k) const 
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00506_aceab4309335c7d87c450a5497ab84484}{std\+::vector$<$ int $>$ {\bfseries attribute\+Stored\+Per\+Halfedge\+\_\+}}\label{a00506_aceab4309335c7d87c450a5497ab84484}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00506_a60b931e741eef238d5826501f875d7d1}{\hyperlink{a01335}{Mesh} \& {\bfseries mesh\+\_\+}}\label{a00506_a60b931e741eef238d5826501f875d7d1}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class Mesh$>$class A\+C\+G\+::\+Draw\+Mesh\+Face\+Input$<$ Mesh $>$}



Definition at line 249 of file Draw\+Mesh\+T.\+cc.



\subsection{Member Function Documentation}
\hypertarget{a00506_a2b300ed027572c11af6457891880683e}{\index{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}!get\+Face\+Attr@{get\+Face\+Attr}}
\index{get\+Face\+Attr@{get\+Face\+Attr}!A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}}
\subsubsection[{get\+Face\+Attr}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh$>$ bool {\bf A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}$<$ {\bf Mesh} $>$\+::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 [inline]}, {\ttfamily [virtual]}}}\label{a00506_a2b300ed027572c11af6457891880683e}
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 345 of file Draw\+Mesh\+T.\+cc.

\hypertarget{a00506_a4abac979694e1d1c2cce5e0dd54d168b}{\index{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}!get\+Face\+Attr@{get\+Face\+Attr}}
\index{get\+Face\+Attr@{get\+Face\+Attr}!A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}}
\subsubsection[{get\+Face\+Attr}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh$>$ int$\ast$ {\bf A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}$<$ {\bf Mesh} $>$\+::get\+Face\+Attr (
\begin{DoxyParamCaption}
\item[{const int}]{\+\_\+face\+I\+D, }
\item[{const int}]{\+\_\+attr\+I\+D}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00506_a4abac979694e1d1c2cce5e0dd54d168b}
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
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
array data of size \char`\"{}get\+Face\+Size(\+\_\+face\+I\+D)\char`\"{}, allowed to return 0 when array data not permanently available in memory 
\end{DoxyReturn}


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



Definition at line 366 of file Draw\+Mesh\+T.\+cc.

\hypertarget{a00506_a3313bb5273aeb74dcf5fb2a532099423}{\index{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}!get\+Face\+Size@{get\+Face\+Size}}
\index{get\+Face\+Size@{get\+Face\+Size}!A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}}
\subsubsection[{get\+Face\+Size}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh$>$ int {\bf A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}$<$ {\bf Mesh} $>$\+::get\+Face\+Size (
\begin{DoxyParamCaption}
\item[{const int}]{\+\_\+face\+I\+D}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00506_a3313bb5273aeb74dcf5fb2a532099423}
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 271 of file Draw\+Mesh\+T.\+cc.

\hypertarget{a00506_a533b37f46048879ba6e62e668e509ed6}{\index{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}!get\+Num\+Indices@{get\+Num\+Indices}}
\index{get\+Num\+Indices@{get\+Num\+Indices}!A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}}
\subsubsection[{get\+Num\+Indices}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh$>$ int {\bf A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}$<$ {\bf Mesh} $>$\+::get\+Num\+Indices (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00506_a533b37f46048879ba6e62e668e509ed6}
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 266 of file Draw\+Mesh\+T.\+cc.

\hypertarget{a00506_ad5781369e09d75239759a387465db4a7}{\index{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}!get\+Single\+Face\+Attr@{get\+Single\+Face\+Attr}}
\index{get\+Single\+Face\+Attr@{get\+Single\+Face\+Attr}!A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}}
\subsubsection[{get\+Single\+Face\+Attr}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh$>$ int {\bf A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}$<$ {\bf Mesh} $>$\+::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 [inline]}, {\ttfamily [virtual]}}}\label{a00506_ad5781369e09d75239759a387465db4a7}
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 283 of file Draw\+Mesh\+T.\+cc.

\hypertarget{a00506_aa64d630d1e44d6a80cc00dfdf4ed996e}{\index{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}!get\+Vertex\+Adj\+Count@{get\+Vertex\+Adj\+Count}}
\index{get\+Vertex\+Adj\+Count@{get\+Vertex\+Adj\+Count}!A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}}
\subsubsection[{get\+Vertex\+Adj\+Count}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh$>$ int {\bf A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}$<$ {\bf Mesh} $>$\+::get\+Vertex\+Adj\+Count (
\begin{DoxyParamCaption}
\item[{const int}]{\+\_\+vertex\+I\+D}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00506_aa64d630d1e44d6a80cc00dfdf4ed996e}
Get the number of adjacent faces for a vertex. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+vertex\+I\+D} & vertex index \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
number of adjacent faces, return -\/1 if adjacency information unavailable 
\end{DoxyReturn}


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



Definition at line 374 of file Draw\+Mesh\+T.\+cc.

\hypertarget{a00506_afe7ce7eba720c8da626261d99ca431a4}{\index{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}!get\+Vertex\+Adj\+Face@{get\+Vertex\+Adj\+Face}}
\index{get\+Vertex\+Adj\+Face@{get\+Vertex\+Adj\+Face}!A\+C\+G\+::\+Draw\+Mesh\+Face\+Input@{A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}}
\subsubsection[{get\+Vertex\+Adj\+Face}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh$>$ int {\bf A\+C\+G\+::\+Draw\+Mesh\+Face\+Input}$<$ {\bf Mesh} $>$\+::get\+Vertex\+Adj\+Face (
\begin{DoxyParamCaption}
\item[{const int}]{\+\_\+vertex\+I\+D, }
\item[{const int}]{\+\_\+k}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a00506_afe7ce7eba720c8da626261d99ca431a4}
Get the index of an adjacent face for a vertex. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+vertex\+I\+D} & 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{a00820_adb2c46ac9330e3f3b83a678cba43e5c8}{A\+C\+G\+::\+Mesh\+Compiler\+Face\+Input}.



Definition at line 388 of file Draw\+Mesh\+T.\+cc.



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