\hypertarget{a02249}{\section{Mesh\+Tools/\+Mesh\+Selection\+T.hh File Reference}
\label{a02249}\index{Mesh\+Tools/\+Mesh\+Selection\+T.\+hh@{Mesh\+Tools/\+Mesh\+Selection\+T.\+hh}}
}


Functions for selection on a mesh.  


{\ttfamily \#include $<$vector$>$}\\*
\subsection*{Functions}
\begin{Indent}{\bf Vertex Selection}\par
\begin{DoxyCompactItemize}
\item 
\hypertarget{a03364_a4eb3ce7421178ac3c582dcf3fb83cee2}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+Vertices} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+vertices)}\label{a03364_a4eb3ce7421178ac3c582dcf3fb83cee2}

\begin{DoxyCompactList}\small\item\em Select given vertices of a mesh. \end{DoxyCompactList}\item 
\hypertarget{a03364_a8c595c5dd90cf674a85cc17fe49fb67a}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::unselect\+Vertices} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+vertices)}\label{a03364_a8c595c5dd90cf674a85cc17fe49fb67a}

\begin{DoxyCompactList}\small\item\em Unselect given vertices of a mesh. \end{DoxyCompactList}\item 
\hypertarget{a03364_a924f799afdbd628bcb8153cf20ebb567}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+All\+Vertices} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a924f799afdbd628bcb8153cf20ebb567}

\begin{DoxyCompactList}\small\item\em Select all vertices of a mesh. \end{DoxyCompactList}\item 
\hypertarget{a03364_af258d8432b1b821d2c40acccd23ca1fc}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::clear\+Vertex\+Selection} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_af258d8432b1b821d2c40acccd23ca1fc}

\begin{DoxyCompactList}\small\item\em Set all vertices to unselected. \end{DoxyCompactList}\item 
\hypertarget{a03364_a490cb3515f59ad877bfaca84b480fa5c}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::invert\+Vertex\+Selection} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a490cb3515f59ad877bfaca84b480fa5c}

\begin{DoxyCompactList}\small\item\em invert vertex selection \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+Boundary\+Vertices} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::shrink\+Vertex\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::grow\+Vertex\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\std\+::vector$<$ int $>$ {\bfseries Mesh\+Selection\+::get\+Vertex\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\std\+::vector$<$ int $>$ {\bfseries Mesh\+Selection\+::get\+Vertex\+Selection} (Mesh\+T $\ast$\+\_\+mesh, bool \&\+\_\+invert)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+Boundary\+Vertices} (Mesh\+T $\ast$\+\_\+mesh, const typename Mesh\+T\+::\+Vertex\+Handle \&\+\_\+vh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Vertex\+To\+Edge\+Selection} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+vertices)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Vertex\+To\+Edge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Vertex\+To\+Halfedge\+Selection} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+vertices)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Vertex\+To\+Halfedge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Vertex\+To\+Face\+Selection} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+vertices)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Vertex\+To\+Face\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Vertex\+Selection\+To\+Feature\+Vertices} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Feature\+Vertices\+To\+Vertex\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::clear\+Feature\+Vertices} (Mesh\+T $\ast$\+\_\+mesh)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Modeling Regions}\par
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::set\+Area} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+vertices, unsigned int \+\_\+type, bool \+\_\+state)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::set\+Area} (Mesh\+T $\ast$\+\_\+mesh, unsigned int \+\_\+type, bool \+\_\+state)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\std\+::vector$<$ int $>$ {\bfseries Mesh\+Selection\+::get\+Area} (Mesh\+T $\ast$\+\_\+mesh, unsigned int \+\_\+type)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\std\+::vector$<$ int $>$ {\bfseries Mesh\+Selection\+::get\+Area} (Mesh\+T $\ast$\+\_\+mesh, unsigned int \+\_\+type, bool \&\+\_\+invert)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Edge Selection}\par
\begin{DoxyCompactItemize}
\item 
\hypertarget{a03364_a2c98c2d1b1c6ceffc5a69d189b1ab4ca}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+Edges} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+edges)}\label{a03364_a2c98c2d1b1c6ceffc5a69d189b1ab4ca}

\begin{DoxyCompactList}\small\item\em Select given edges of a mesh. \end{DoxyCompactList}\item 
\hypertarget{a03364_a46b76ed0f07a034d57ae4f513431340b}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::unselect\+Edges} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+edges)}\label{a03364_a46b76ed0f07a034d57ae4f513431340b}

\begin{DoxyCompactList}\small\item\em Unselect given edges of a mesh. \end{DoxyCompactList}\item 
\hypertarget{a03364_a718cbfab9433603180dd5e744cfcfca6}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+All\+Edges} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a718cbfab9433603180dd5e744cfcfca6}

\begin{DoxyCompactList}\small\item\em Select all edges of a mesh. \end{DoxyCompactList}\item 
\hypertarget{a03364_a3b2e38f60b3f3aca013b58cbc766aab4}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::clear\+Edge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a3b2e38f60b3f3aca013b58cbc766aab4}

\begin{DoxyCompactList}\small\item\em Set all edges to unselected. \end{DoxyCompactList}\item 
\hypertarget{a03364_a2f282523b1e2fbebcf4077c51e6d2abc}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::invert\+Edge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a2f282523b1e2fbebcf4077c51e6d2abc}

\begin{DoxyCompactList}\small\item\em Invert Edge selection. \end{DoxyCompactList}\item 
\hypertarget{a03364_a25a032d258f993b2c5735b0b51a797da}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::grow\+Edge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a25a032d258f993b2c5735b0b51a797da}

\begin{DoxyCompactList}\small\item\em Invert Edge selection. \end{DoxyCompactList}\item 
\hypertarget{a03364_a1f42e3aca8e85b9d84e93498e6dad386}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+Boundary\+Edges} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a1f42e3aca8e85b9d84e93498e6dad386}

\begin{DoxyCompactList}\small\item\em Select all boundary edges of a mesh. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\std\+::vector$<$ int $>$ {\bfseries Mesh\+Selection\+::get\+Edge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\std\+::vector$<$ int $>$ {\bfseries Mesh\+Selection\+::get\+Edge\+Selection} (Mesh\+T $\ast$\+\_\+mesh, bool \&\+\_\+invert)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Edge\+To\+Vertex\+Selection} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+edges)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Edge\+To\+Vertex\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Edge\+To\+Face\+Selection} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+edges)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Edge\+To\+Face\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Edge\+To\+Halfedge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Edge\+Selection\+To\+Feature\+Edges} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Feature\+Edges\+To\+Edge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::clear\+Feature\+Edges} (Mesh\+T $\ast$\+\_\+mesh)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Halfedge Selection}\par
\begin{DoxyCompactItemize}
\item 
\hypertarget{a03364_a110cf10da480e7f80076d32776a14d5f}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+Halfedges} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+halfedges)}\label{a03364_a110cf10da480e7f80076d32776a14d5f}

\begin{DoxyCompactList}\small\item\em Select given edges of a mesh. \end{DoxyCompactList}\item 
\hypertarget{a03364_af0bb514fcc5277a866a9c0697599d89a}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::unselect\+Halfedges} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+halfedges)}\label{a03364_af0bb514fcc5277a866a9c0697599d89a}

\begin{DoxyCompactList}\small\item\em Unselect given edges of a mesh. \end{DoxyCompactList}\item 
\hypertarget{a03364_a236c87dca9772c90e8027e6120e5bcdc}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+All\+Halfedges} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a236c87dca9772c90e8027e6120e5bcdc}

\begin{DoxyCompactList}\small\item\em Select all edges of a mesh. \end{DoxyCompactList}\item 
\hypertarget{a03364_a205ce70fd607f67ddad0e34643a86321}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::clear\+Halfedge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a205ce70fd607f67ddad0e34643a86321}

\begin{DoxyCompactList}\small\item\em Set all edges to unselected. \end{DoxyCompactList}\item 
\hypertarget{a03364_a185a3a2faebcd592a3dc415070e10df3}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::invert\+Halfedge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a185a3a2faebcd592a3dc415070e10df3}

\begin{DoxyCompactList}\small\item\em Invert Edge selection. \end{DoxyCompactList}\item 
\hypertarget{a03364_a81d42ef6a24a6b84d73f7198504e476a}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+Boundary\+Halfedges} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a81d42ef6a24a6b84d73f7198504e476a}

\begin{DoxyCompactList}\small\item\em Select all boundary edges of a mesh. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\std\+::vector$<$ int $>$ {\bfseries Mesh\+Selection\+::get\+Halfedge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Halfedge\+To\+Vertex\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Halfedge\+To\+Edge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Halfedge\+To\+Face\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}{\bf Face Selection}\par
\begin{DoxyCompactItemize}
\item 
\hypertarget{a03364_ab29d6a585aef623d1616c0b061092cda}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+Faces} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+faces)}\label{a03364_ab29d6a585aef623d1616c0b061092cda}

\begin{DoxyCompactList}\small\item\em Select given faces of a mesh. \end{DoxyCompactList}\item 
\hypertarget{a03364_ac6680f93f98016a5d08534b3e4dfe749}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::unselect\+Faces} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+faces)}\label{a03364_ac6680f93f98016a5d08534b3e4dfe749}

\begin{DoxyCompactList}\small\item\em Unselect given faces of a mesh. \end{DoxyCompactList}\item 
\hypertarget{a03364_a647da3f4cac97714f98e0408e300266f}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+All\+Faces} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a647da3f4cac97714f98e0408e300266f}

\begin{DoxyCompactList}\small\item\em Select all faces of a mesh. \end{DoxyCompactList}\item 
\hypertarget{a03364_a3793e41b1270bd6cdc010ff495d729f4}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::clear\+Face\+Selection} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a3793e41b1270bd6cdc010ff495d729f4}

\begin{DoxyCompactList}\small\item\em Set all faces to unselected. \end{DoxyCompactList}\item 
\hypertarget{a03364_a0bd0e341ae9db1a4f66880cc623ff4b5}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::invert\+Face\+Selection} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_a0bd0e341ae9db1a4f66880cc623ff4b5}

\begin{DoxyCompactList}\small\item\em Invert face selection. \end{DoxyCompactList}\item 
\hypertarget{a03364_ad45c3d42c416be9d1719754ec9ecb0f5}{{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::select\+Boundary\+Faces} (Mesh\+T $\ast$\+\_\+mesh)}\label{a03364_ad45c3d42c416be9d1719754ec9ecb0f5}

\begin{DoxyCompactList}\small\item\em Select all boundary faces of a mesh. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::shrink\+Face\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\begin{DoxyCompactList}\small\item\em Shrink Face selection. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::grow\+Face\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\begin{DoxyCompactList}\small\item\em Grow Face selection. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\std\+::vector$<$ int $>$ {\bfseries Mesh\+Selection\+::get\+Face\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\std\+::vector$<$ int $>$ {\bfseries Mesh\+Selection\+::get\+Face\+Selection} (Mesh\+T $\ast$\+\_\+mesh, bool \&\+\_\+invert)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Face\+To\+Vertex\+Selection} (Mesh\+T $\ast$\+\_\+mesh, const std\+::vector$<$ int $>$ \&\+\_\+faces)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Face\+To\+Vertex\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Face\+To\+Edge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Face\+To\+Halfedge\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Face\+Selection\+To\+Feature\+Faces} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::convert\+Feature\+Faces\+To\+Face\+Selection} (Mesh\+T $\ast$\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh\+T $>$ }\\void {\bfseries Mesh\+Selection\+::clear\+Feature\+Faces} (Mesh\+T $\ast$\+\_\+mesh)
\end{DoxyCompactItemize}
\end{Indent}


\subsection{Detailed Description}
Functions for selection on a mesh. 



Definition in file \hyperlink{a02249_source}{Mesh\+Selection\+T.\+hh}.

