\hypertarget{a09276}{}\section{Open\+Mesh\+:\+:StripifierT$<$ Mesh $>$ Class Template Reference}
\label{a09276}\index{Open\+Mesh\+::\+Stripifier\+T$<$ Mesh $>$@{Open\+Mesh\+::\+Stripifier\+T$<$ Mesh $>$}}


{\ttfamily \#include $<$Open\+Mesh/\+Tools/\+Utils/\+Stripifier\+T.\+hh$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09276_a89d52f2bfdacdb382afe466d729d72ba}\label{a09276_a89d52f2bfdacdb382afe466d729d72ba}} 
typedef unsigned int {\bfseries Index}
\item 
\mbox{\Hypertarget{a09276_aacd982cf4a264617d1bcbc6f2c120a40}\label{a09276_aacd982cf4a264617d1bcbc6f2c120a40}} 
typedef std\+::vector$<$ Index $>$ {\bfseries Strip}
\item 
\mbox{\Hypertarget{a09276_a1976a05989ac117cf71ead0f363f6cb5}\label{a09276_a1976a05989ac117cf71ead0f363f6cb5}} 
typedef Strip\+::const\+\_\+iterator {\bfseries Index\+Iterator}
\item 
\mbox{\Hypertarget{a09276_a58f0fe6a552885c07f6891602e8e2134}\label{a09276_a58f0fe6a552885c07f6891602e8e2134}} 
typedef std\+::vector$<$ Strip $>$ {\bfseries Strips}
\item 
\mbox{\Hypertarget{a09276_a29211493927aab7adfb60365342eed77}\label{a09276_a29211493927aab7adfb60365342eed77}} 
typedef Strips\+::const\+\_\+iterator {\bfseries Strips\+Iterator}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09276_a94b5aea8de55ab772ed3c254313f018d}\label{a09276_a94b5aea8de55ab772ed3c254313f018d}} 
\hyperlink{a09276_a94b5aea8de55ab772ed3c254313f018d}{StripifierT} (\hyperlink{a08764}{Mesh} \&\+\_\+mesh)
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09276_a5ea794f7f27b8c67c1dc168b3c73e56f}\label{a09276_a5ea794f7f27b8c67c1dc168b3c73e56f}} 
\hyperlink{a09276_a5ea794f7f27b8c67c1dc168b3c73e56f}{$\sim$\+StripifierT} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09276_a564d41bac21b11bc65e865c843e1bfe0}\label{a09276_a564d41bac21b11bc65e865c843e1bfe0}} 
size\+\_\+t \hyperlink{a09276_a564d41bac21b11bc65e865c843e1bfe0}{stripify} ()
\begin{DoxyCompactList}\small\item\em Compute triangle strips, returns number of strips. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09276_a039c9ccbc718c0befea9f30e4159e022}\label{a09276_a039c9ccbc718c0befea9f30e4159e022}} 
void \hyperlink{a09276_a039c9ccbc718c0befea9f30e4159e022}{clear} ()
\begin{DoxyCompactList}\small\item\em delete all strips \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09276_ad83f8b3bea4288e9f2b7cd208f93a714}\label{a09276_ad83f8b3bea4288e9f2b7cd208f93a714}} 
size\+\_\+t \hyperlink{a09276_ad83f8b3bea4288e9f2b7cd208f93a714}{n\+\_\+strips} () const
\begin{DoxyCompactList}\small\item\em returns number of strips \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09276_aa51563f5f4f63f0ad5c4b08eeb659e18}\label{a09276_aa51563f5f4f63f0ad5c4b08eeb659e18}} 
bool \hyperlink{a09276_aa51563f5f4f63f0ad5c4b08eeb659e18}{is\+\_\+valid} () const
\begin{DoxyCompactList}\small\item\em are strips computed? \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09276_ab5bb8db3688d2ac3e3154ecf531c0f4e}\label{a09276_ab5bb8db3688d2ac3e3154ecf531c0f4e}} 
Strips\+Iterator \hyperlink{a09276_ab5bb8db3688d2ac3e3154ecf531c0f4e}{begin} () const
\begin{DoxyCompactList}\small\item\em Access strips. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09276_a0e974f1316cd003dc4cd9f03407b68f7}\label{a09276_a0e974f1316cd003dc4cd9f03407b68f7}} 
Strips\+Iterator \hyperlink{a09276_a0e974f1316cd003dc4cd9f03407b68f7}{end} () const
\begin{DoxyCompactList}\small\item\em Access strips. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09276_a67a14116db7313eb87d98b44e4f74f83}\label{a09276_a67a14116db7313eb87d98b44e4f74f83}} 
typedef std\+::vector$<$ typename Mesh\+::\+Face\+Handle $>$ {\bfseries Face\+Handles}
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09276_a63588f376251378b4db574d9c0df5965}\label{a09276_a63588f376251378b4db574d9c0df5965}} 
void \hyperlink{a09276_a63588f376251378b4db574d9c0df5965}{build\+\_\+strips} ()
\begin{DoxyCompactList}\small\item\em this method does the main work \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09276_a10f78893d9bd75ca863bc4869c76681b}\label{a09276_a10f78893d9bd75ca863bc4869c76681b}} 
void \hyperlink{a09276_a10f78893d9bd75ca863bc4869c76681b}{build\+\_\+strip} (typename Mesh\+::\+Halfedge\+Handle \+\_\+start\+\_\+hh, Strip \&\+\_\+strip, Face\+Handles \&\+\_\+faces)
\begin{DoxyCompactList}\small\item\em build a strip from a given halfedge (in both directions) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a09276_a9cc1f91a5442072b609eed8508f6654a}\label{a09276_a9cc1f91a5442072b609eed8508f6654a}} 
\hyperlink{a08888}{F\+Prop\+HandleT}$<$ bool $>$\+::reference {\bfseries processed} (typename Mesh\+::\+Face\+Handle \+\_\+fh)
\item 
\mbox{\Hypertarget{a09276_ac2a04ac85847d7ba4d73909aaa29b0df}\label{a09276_ac2a04ac85847d7ba4d73909aaa29b0df}} 
\hyperlink{a08888}{F\+Prop\+HandleT}$<$ bool $>$\+::reference {\bfseries used} (typename Mesh\+::\+Face\+Handle \+\_\+fh)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a09276_a9d145d5523ef817ed37bbf9440559ab8}\label{a09276_a9d145d5523ef817ed37bbf9440559ab8}} 
\hyperlink{a08764}{Mesh} \& {\bfseries mesh\+\_\+}
\item 
\mbox{\Hypertarget{a09276_a220f4d213c2a4ef903e4357f5e1b945d}\label{a09276_a220f4d213c2a4ef903e4357f5e1b945d}} 
Strips {\bfseries strips\+\_\+}
\item 
\mbox{\Hypertarget{a09276_a2413dbfae6227524acf20b45ef3a7167}\label{a09276_a2413dbfae6227524acf20b45ef3a7167}} 
\hyperlink{a08888}{F\+Prop\+HandleT}$<$ bool $>$ {\bfseries processed\+\_\+}
\item 
\mbox{\Hypertarget{a09276_a11d3cbe2328dfcfe51d7c493cf007d68}\label{a09276_a11d3cbe2328dfcfe51d7c493cf007d68}} 
\hyperlink{a08888}{F\+Prop\+HandleT}$<$ bool $>$ {\bfseries used\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class Mesh$>$\newline
class Open\+Mesh\+::\+Stripifier\+T$<$ Mesh $>$}

This class decomposes a triangle mesh into several triangle strips. 

Definition at line 79 of file Stripifier\+T.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Utils/Stripifier\+T.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Utils/Stripifier\+T\+\_\+impl.\+hh\end{DoxyCompactItemize}
