\hypertarget{a01436}{\section{A\+C\+G\+:\+:Mesh\+Compiler\+:\+:Vertex\+Splitter Struct Reference}
\label{a01436}\index{A\+C\+G\+::\+Mesh\+Compiler\+::\+Vertex\+Splitter@{A\+C\+G\+::\+Mesh\+Compiler\+::\+Vertex\+Splitter}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01436_a9dc4ea1bda240f5c0d1d11ffb44d6d3e}{{\bfseries Vertex\+Splitter} (int num\+Attribs, int \hyperlink{a01436_aa6a9645a8a74dd79c9d2608f2162ae46}{num\+Verts}, int num\+Worst\+Case=0, float est\+Buffer\+Increase=0.\+5f)}\label{a01436_a9dc4ea1bda240f5c0d1d11ffb44d6d3e}

\item 
\hypertarget{a01436_ab2624c9b4f767b8cf002936c570a9178}{int \hyperlink{a01436_ab2624c9b4f767b8cf002936c570a9178}{split} (int $\ast$vertex)}\label{a01436_ab2624c9b4f767b8cf002936c570a9178}

\begin{DoxyCompactList}\small\item\em returns a unique index for a vertex-\/attribute combination \end{DoxyCompactList}\item 
\hypertarget{a01436_aca408534322531c0cc51dfaae9908788}{bool \hyperlink{a01436_aca408534322531c0cc51dfaae9908788}{is\+Isolated} (const int vertex\+Pos\+I\+D)}\label{a01436_aca408534322531c0cc51dfaae9908788}

\begin{DoxyCompactList}\small\item\em check if vertex is isolated with a complete splitting list \end{DoxyCompactList}\item 
\hypertarget{a01436_aed7cd8207424c10ae4a50bb0f84556ef}{int {\bfseries get\+Next} (const int id)}\label{a01436_aed7cd8207424c10ae4a50bb0f84556ef}

\item 
\hypertarget{a01436_a475d0d87dd04a74d679b6801a456f81d}{int $\ast$ {\bfseries get\+Attribs} (const int id)}\label{a01436_a475d0d87dd04a74d679b6801a456f81d}

\item 
\hypertarget{a01436_a5bba935d9f757f7cadfa426749515f59}{void {\bfseries set\+Next} (const int id, const int next)}\label{a01436_a5bba935d9f757f7cadfa426749515f59}

\item 
\hypertarget{a01436_aa3cb7b3d38323cf209034660443ab9fd}{void {\bfseries set\+Attribs} (const int id, int $\ast$attr)}\label{a01436_aa3cb7b3d38323cf209034660443ab9fd}

\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01436_a672570fa39ec01f943c3a06fd3de639c}{int {\bfseries num\+Attribs}}\label{a01436_a672570fa39ec01f943c3a06fd3de639c}

\item 
\hypertarget{a01436_aa6a9645a8a74dd79c9d2608f2162ae46}{int \hyperlink{a01436_aa6a9645a8a74dd79c9d2608f2162ae46}{num\+Verts}}\label{a01436_aa6a9645a8a74dd79c9d2608f2162ae46}

\begin{DoxyCompactList}\small\item\em number of vertex combinations currently in use \end{DoxyCompactList}\item 
\hypertarget{a01436_a71213c32e55b2187f098c2bb36ed9b60}{const int \hyperlink{a01436_a71213c32e55b2187f098c2bb36ed9b60}{num\+Base\+Verts}}\label{a01436_a71213c32e55b2187f098c2bb36ed9b60}

\begin{DoxyCompactList}\small\item\em number of input vertex positions \end{DoxyCompactList}\item 
std\+::vector$<$ int $>$ \hyperlink{a01436_acfbe1049308248bea1ba4680effe8e0d}{splits}
\item 
\hypertarget{a01436_af26254e25acdad928b1d59679157b834}{int {\bfseries dbg\+\_\+num\+Resizes}}\label{a01436_af26254e25acdad928b1d59679157b834}

\item 
\hypertarget{a01436_a9d8cb36487842248ef5e155db0bd2a7b}{int {\bfseries dbg\+\_\+num\+Splits}}\label{a01436_a9d8cb36487842248ef5e155db0bd2a7b}

\end{DoxyCompactItemize}


\subsection{Detailed Description}


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



\subsection{Member Data Documentation}
\hypertarget{a01436_acfbe1049308248bea1ba4680effe8e0d}{\index{A\+C\+G\+::\+Mesh\+Compiler\+::\+Vertex\+Splitter@{A\+C\+G\+::\+Mesh\+Compiler\+::\+Vertex\+Splitter}!splits@{splits}}
\index{splits@{splits}!A\+C\+G\+::\+Mesh\+Compiler\+::\+Vertex\+Splitter@{A\+C\+G\+::\+Mesh\+Compiler\+::\+Vertex\+Splitter}}
\subsubsection[{splits}]{\setlength{\rightskip}{0pt plus 5cm}std\+::vector$<$int$>$ A\+C\+G\+::\+Mesh\+Compiler\+::\+Vertex\+Splitter\+::splits}}\label{a01436_acfbe1049308248bea1ba4680effe8e0d}
split list format\+: for each vertex\+: \mbox{[}next split, attribute ids\mbox{]} next split\+: -\/1 -\/$>$ not split yet i -\/$>$ index into split list for next combination with the same vertex position id (single linked list)

attribute ids\+: array of attribute indices into input buffers, that makes up the complete vertex -\/1 -\/$>$ vertex not used yet (relevant for \hyperlink{a01436_ab2624c9b4f767b8cf002936c570a9178}{split()} only) 

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



The documentation for this struct 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}
