\hypertarget{classPolyLineCollectionT}{}\section{Poly\+Line\+CollectionT$<$ T $>$ Class Template Reference}
\label{classPolyLineCollectionT}\index{Poly\+Line\+Collection\+T$<$ T $>$@{Poly\+Line\+Collection\+T$<$ T $>$}}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structPolyLineCollectionT_1_1index__iterator}{index\+\_\+iterator}
\item 
struct \hyperlink{structPolyLineCollectionT_1_1iterator}{iterator}
\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_ae85587b8162a3082907b0e92b3fcca72}\label{classPolyLineCollectionT_ae85587b8162a3082907b0e92b3fcca72}} 
typedef \hyperlink{classACG_1_1PolyLineT}{A\+C\+G\+::\+Poly\+LineT}$<$ T $>$ {\bfseries Poly\+Line}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{classPolyLineCollectionT_adc63eaac4178a88637665c9ccfd9e801}{$\sim$\+Poly\+Line\+CollectionT} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
size\+\_\+t \hyperlink{classPolyLineCollectionT_afe8a40ab5ecae5c8c76e6693f716f7e1}{add\+\_\+poly\+\_\+line} (\hyperlink{classACG_1_1PolyLineT}{Poly\+Line} $\ast$\+\_\+poly\+\_\+line)
\item 
int \hyperlink{classPolyLineCollectionT_af71af50a2ecfe4168bf58dedc52635cc}{new\+\_\+poly\+\_\+line} ()
\begin{DoxyCompactList}\small\item\em Create empty polyline and return id. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classPolyLineCollectionT_ab2406360c6f9f384b149650f3b7e43d0}\label{classPolyLineCollectionT_ab2406360c6f9f384b149650f3b7e43d0}} 
void \hyperlink{classPolyLineCollectionT_ab2406360c6f9f384b149650f3b7e43d0}{reserve} (size\+\_\+t \+\_\+count)
\begin{DoxyCompactList}\small\item\em Reserve space for additional \+\_\+count polylines. \end{DoxyCompactList}\item 
void \hyperlink{classPolyLineCollectionT_a25c880396e95804a38ebce8990c2071d}{set\+\_\+visible\+\_\+all} ()
\begin{DoxyCompactList}\small\item\em Set all polylines to visible. \end{DoxyCompactList}\item 
void \hyperlink{classPolyLineCollectionT_a3eef6bc47782d278582f8649a66d8704}{set\+\_\+visible} (const std\+::vector$<$ size\+\_\+t $>$ \&\+\_\+visible)
\begin{DoxyCompactList}\small\item\em Set given polylines to visible. \end{DoxyCompactList}\item 
void \hyperlink{classPolyLineCollectionT_a7895d0cf7ee18a02398d462c4cefc31f}{set\+\_\+selected} (const std\+::vector$<$ size\+\_\+t $>$ \&\+\_\+selected)
\begin{DoxyCompactList}\small\item\em Set given polylines to selected. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classPolyLineCollectionT_acb8d444026a59f90d2a59a02c4e63a48}\label{classPolyLineCollectionT_acb8d444026a59f90d2a59a02c4e63a48}} 
void \hyperlink{classPolyLineCollectionT_acb8d444026a59f90d2a59a02c4e63a48}{clear\+\_\+selection} ()
\begin{DoxyCompactList}\small\item\em unselect all polylines in collection \end{DoxyCompactList}\item 
void \hyperlink{classPolyLineCollectionT_a593c1b63b20e1944f61fe609b486d7c0}{clear} ()
\begin{DoxyCompactList}\small\item\em Clear Collection. \end{DoxyCompactList}\item 
void \hyperlink{classPolyLineCollectionT_a56c37bb1e55c12e98de80f94d0cbf296}{remove\+\_\+polyline} (int \+\_\+id)
\begin{DoxyCompactList}\small\item\em Remove one polyline from the collection. \end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}\textbf{ Access functions}\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_a03f2b7cb22868f05cb98cb5e6bdcb902}\label{classPolyLineCollectionT_a03f2b7cb22868f05cb98cb5e6bdcb902}} 
size\+\_\+t {\bfseries n\+\_\+polylines} ()
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_aa5c04a49dd38c0f392e5aa43cb5f0a44}\label{classPolyLineCollectionT_aa5c04a49dd38c0f392e5aa43cb5f0a44}} 
\hyperlink{classACG_1_1PolyLineT}{Poly\+Line} $\ast$ {\bfseries polyline} (size\+\_\+t \+\_\+i)
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_a5b82220b592ebd5c34d228518eac01ac}\label{classPolyLineCollectionT_a5b82220b592ebd5c34d228518eac01ac}} 
size\+\_\+t {\bfseries n\+\_\+visible\+\_\+polylines} ()
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_ae4cf64f29e9830ac349bc4ba7fc629b4}\label{classPolyLineCollectionT_ae4cf64f29e9830ac349bc4ba7fc629b4}} 
\hyperlink{classACG_1_1PolyLineT}{Poly\+Line} $\ast$ {\bfseries visible\+\_\+polyline} (size\+\_\+t \+\_\+i)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ Iterators}\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_a5fbf693d9e7593641cebb05493315bff}\label{classPolyLineCollectionT_a5fbf693d9e7593641cebb05493315bff}} 
\hyperlink{structPolyLineCollectionT_1_1iterator}{iterator} {\bfseries iter} ()
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_a0e2560402750ee6808a531997486184a}\label{classPolyLineCollectionT_a0e2560402750ee6808a531997486184a}} 
\hyperlink{structPolyLineCollectionT_1_1index__iterator}{index\+\_\+iterator} {\bfseries visible\+\_\+iter} ()
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_a24615a701f683e4cbce3eab23ca9b476}\label{classPolyLineCollectionT_a24615a701f683e4cbce3eab23ca9b476}} 
\hyperlink{structPolyLineCollectionT_1_1index__iterator}{index\+\_\+iterator} {\bfseries selected\+\_\+iter} ()
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ Coloring}\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_af002fefc33c2a49924aaab40fc8413d8}\label{classPolyLineCollectionT_af002fefc33c2a49924aaab40fc8413d8}} 
void {\bfseries set\+\_\+color} (size\+\_\+t \+\_\+edge\+\_\+scalar, const \hyperlink{namespaceACG_adb89a8d57b6d179ad535c0880a8b616e}{A\+C\+G\+::\+Vec4uc} \&\+\_\+color)
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_ad4b58965a643b4b3ad3339422ac2c370}\label{classPolyLineCollectionT_ad4b58965a643b4b3ad3339422ac2c370}} 
\hyperlink{namespaceACG_adb89a8d57b6d179ad535c0880a8b616e}{A\+C\+G\+::\+Vec4uc} {\bfseries color} (size\+\_\+t \+\_\+edge\+\_\+scalar)
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_add10453e0e18398ce15c9d97435f97b2}\label{classPolyLineCollectionT_add10453e0e18398ce15c9d97435f97b2}} 
std\+::vector$<$ \hyperlink{classACG_1_1PolyLineT}{Poly\+Line} $\ast$ $>$ {\bfseries poly\+\_\+lines\+\_\+}
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_aeb232c14686e31811c801ba9c3343801}\label{classPolyLineCollectionT_aeb232c14686e31811c801ba9c3343801}} 
std\+::vector$<$ size\+\_\+t $>$ {\bfseries visible\+\_\+}
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_a456d0fc1f4e708a74d77b4264283e6b5}\label{classPolyLineCollectionT_a456d0fc1f4e708a74d77b4264283e6b5}} 
std\+::vector$<$ size\+\_\+t $>$ {\bfseries selected\+\_\+}
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_a2133913681480c78cb7f0a072e9a37c3}\label{classPolyLineCollectionT_a2133913681480c78cb7f0a072e9a37c3}} 
std\+::queue$<$ size\+\_\+t $>$ {\bfseries empty\+\_\+slots\+\_\+}
\item 
\mbox{\Hypertarget{classPolyLineCollectionT_a5d967335e6695277d1ccc5186018606c}\label{classPolyLineCollectionT_a5d967335e6695277d1ccc5186018606c}} 
std\+::map$<$ size\+\_\+t, \hyperlink{namespaceACG_adb89a8d57b6d179ad535c0880a8b616e}{A\+C\+G\+::\+Vec4uc} $>$ {\bfseries color\+\_\+map\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename T$>$\newline
class Poly\+Line\+Collection\+T$<$ T $>$}



Definition at line 49 of file Poly\+Line\+Collection\+T.\+hh.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classPolyLineCollectionT_adc63eaac4178a88637665c9ccfd9e801}\label{classPolyLineCollectionT_adc63eaac4178a88637665c9ccfd9e801}} 
\index{Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}!````~Poly\+Line\+CollectionT@{$\sim$\+Poly\+Line\+CollectionT}}
\index{````~Poly\+Line\+CollectionT@{$\sim$\+Poly\+Line\+CollectionT}!Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}}
\subsubsection{\texorpdfstring{$\sim$\+Poly\+Line\+Collection\+T()}{~PolyLineCollectionT()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
virtual \hyperlink{classPolyLineCollectionT}{Poly\+Line\+CollectionT}$<$ T $>$\+::$\sim$\hyperlink{classPolyLineCollectionT}{Poly\+Line\+CollectionT} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Destructor. 

The destructor will call delete on all Poly\+Lines in the Poly\+Line Collection! 

Definition at line 125 of file Poly\+Line\+Collection\+T.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classPolyLineCollectionT_afe8a40ab5ecae5c8c76e6693f716f7e1}\label{classPolyLineCollectionT_afe8a40ab5ecae5c8c76e6693f716f7e1}} 
\index{Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}!add\+\_\+poly\+\_\+line@{add\+\_\+poly\+\_\+line}}
\index{add\+\_\+poly\+\_\+line@{add\+\_\+poly\+\_\+line}!Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}}
\subsubsection{\texorpdfstring{add\+\_\+poly\+\_\+line()}{add\_poly\_line()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
size\+\_\+t \hyperlink{classPolyLineCollectionT}{Poly\+Line\+CollectionT}$<$ T $>$\+::add\+\_\+poly\+\_\+line (\begin{DoxyParamCaption}\item[{\hyperlink{classACG_1_1PolyLineT}{Poly\+Line} $\ast$}]{\+\_\+poly\+\_\+line }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Create a new polyline in the collection


\begin{DoxyParams}{Parameters}
{\em \+\_\+poly\+\_\+line} & The new polyline to be added to the collection \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Index of the new polyline in the collection 
\end{DoxyReturn}


Definition at line 137 of file Poly\+Line\+Collection\+T.\+hh.

\mbox{\Hypertarget{classPolyLineCollectionT_a593c1b63b20e1944f61fe609b486d7c0}\label{classPolyLineCollectionT_a593c1b63b20e1944f61fe609b486d7c0}} 
\index{Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}!clear@{clear}}
\index{clear@{clear}!Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}}
\subsubsection{\texorpdfstring{clear()}{clear()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
void \hyperlink{classPolyLineCollectionT}{Poly\+Line\+CollectionT}$<$ T $>$\+::clear (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Clear Collection. 

This will call delete on all polylines in the collection! 

Definition at line 242 of file Poly\+Line\+Collection\+T.\+hh.

\mbox{\Hypertarget{classPolyLineCollectionT_af71af50a2ecfe4168bf58dedc52635cc}\label{classPolyLineCollectionT_af71af50a2ecfe4168bf58dedc52635cc}} 
\index{Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}!new\+\_\+poly\+\_\+line@{new\+\_\+poly\+\_\+line}}
\index{new\+\_\+poly\+\_\+line@{new\+\_\+poly\+\_\+line}!Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}}
\subsubsection{\texorpdfstring{new\+\_\+poly\+\_\+line()}{new\_poly\_line()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
int \hyperlink{classPolyLineCollectionT}{Poly\+Line\+CollectionT}$<$ T $>$\+::new\+\_\+poly\+\_\+line (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Create empty polyline and return id. 

\begin{DoxyReturn}{Returns}
Index of new polyline in collection 
\end{DoxyReturn}


Definition at line 163 of file Poly\+Line\+Collection\+T.\+hh.

\mbox{\Hypertarget{classPolyLineCollectionT_a56c37bb1e55c12e98de80f94d0cbf296}\label{classPolyLineCollectionT_a56c37bb1e55c12e98de80f94d0cbf296}} 
\index{Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}!remove\+\_\+polyline@{remove\+\_\+polyline}}
\index{remove\+\_\+polyline@{remove\+\_\+polyline}!Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}}
\subsubsection{\texorpdfstring{remove\+\_\+polyline()}{remove\_polyline()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
void \hyperlink{classPolyLineCollectionT}{Poly\+Line\+CollectionT}$<$ T $>$\+::remove\+\_\+polyline (\begin{DoxyParamCaption}\item[{int}]{\+\_\+id }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Remove one polyline from the collection. 

This will also call delete on the given polyline!


\begin{DoxyParams}{Parameters}
{\em \+\_\+id} & Id of the polyline to be removed \\
\hline
\end{DoxyParams}


Definition at line 259 of file Poly\+Line\+Collection\+T.\+hh.

\mbox{\Hypertarget{classPolyLineCollectionT_a7895d0cf7ee18a02398d462c4cefc31f}\label{classPolyLineCollectionT_a7895d0cf7ee18a02398d462c4cefc31f}} 
\index{Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}!set\+\_\+selected@{set\+\_\+selected}}
\index{set\+\_\+selected@{set\+\_\+selected}!Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}}
\subsubsection{\texorpdfstring{set\+\_\+selected()}{set\_selected()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
void \hyperlink{classPolyLineCollectionT}{Poly\+Line\+CollectionT}$<$ T $>$\+::set\+\_\+selected (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ size\+\_\+t $>$ \&}]{\+\_\+selected }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set given polylines to selected. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+selected} & Poly\+Line indices to set selected \\
\hline
\end{DoxyParams}


Definition at line 228 of file Poly\+Line\+Collection\+T.\+hh.

\mbox{\Hypertarget{classPolyLineCollectionT_a3eef6bc47782d278582f8649a66d8704}\label{classPolyLineCollectionT_a3eef6bc47782d278582f8649a66d8704}} 
\index{Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}!set\+\_\+visible@{set\+\_\+visible}}
\index{set\+\_\+visible@{set\+\_\+visible}!Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}}
\subsubsection{\texorpdfstring{set\+\_\+visible()}{set\_visible()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
void \hyperlink{classPolyLineCollectionT}{Poly\+Line\+CollectionT}$<$ T $>$\+::set\+\_\+visible (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ size\+\_\+t $>$ \&}]{\+\_\+visible }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set given polylines to visible. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+visible} & Poly\+Line indices to set visible \\
\hline
\end{DoxyParams}


Definition at line 219 of file Poly\+Line\+Collection\+T.\+hh.

\mbox{\Hypertarget{classPolyLineCollectionT_a25c880396e95804a38ebce8990c2071d}\label{classPolyLineCollectionT_a25c880396e95804a38ebce8990c2071d}} 
\index{Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}!set\+\_\+visible\+\_\+all@{set\+\_\+visible\+\_\+all}}
\index{set\+\_\+visible\+\_\+all@{set\+\_\+visible\+\_\+all}!Poly\+Line\+CollectionT@{Poly\+Line\+CollectionT}}
\subsubsection{\texorpdfstring{set\+\_\+visible\+\_\+all()}{set\_visible\_all()}}
{\footnotesize\ttfamily template$<$typename T $>$ \\
void \hyperlink{classPolyLineCollectionT}{Poly\+Line\+CollectionT}$<$ T $>$\+::set\+\_\+visible\+\_\+all (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set all polylines to visible. 



Definition at line 206 of file Poly\+Line\+Collection\+T.\+hh.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Type-\/\+Poly\+Line/\+Object\+Types/\+Poly\+Line\+Collection/Poly\+Line\+Collection\+T.\+hh\end{DoxyCompactItemize}
