\hypertarget{a00417}{\section{Open\+Mesh\+:\+:Decimater\+:\+:Collapse\+Info\+T$<$ Mesh $>$ Struct Template Reference}
\label{a00417}\index{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T$<$ Mesh $>$@{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T$<$ Mesh $>$}}
}


{\ttfamily \#include $<$libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Decimater/\+Collapse\+Info\+T.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00417_a3119dd3ab3c513c0f853448c86ec8cf5}{Collapse\+Info\+T} (\hyperlink{a01335}{Mesh} \&\+\_\+mesh, typename Mesh\+::\+Halfedge\+Handle \+\_\+heh)
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00417_acd82af5cffe211ec9723f459eb7d6252}{\hyperlink{a01335}{Mesh} \& {\bfseries mesh}}\label{a00417_acd82af5cffe211ec9723f459eb7d6252}

\item 
\hypertarget{a00417_a5167e49665056a7a8b6bcc6b6915c09e}{Mesh\+::\+Halfedge\+Handle \hyperlink{a00417_a5167e49665056a7a8b6bcc6b6915c09e}{v0v1}}\label{a00417_a5167e49665056a7a8b6bcc6b6915c09e}

\begin{DoxyCompactList}\small\item\em Halfedge to be collapsed. \end{DoxyCompactList}\item 
\hypertarget{a00417_a53dc5ea9882b3097b8281142c0bdb225}{Mesh\+::\+Halfedge\+Handle \hyperlink{a00417_a53dc5ea9882b3097b8281142c0bdb225}{v1v0}}\label{a00417_a53dc5ea9882b3097b8281142c0bdb225}

\begin{DoxyCompactList}\small\item\em Reverse halfedge. \end{DoxyCompactList}\item 
\hypertarget{a00417_abacd9a21d5a78d80dc1faf617caf39e9}{Mesh\+::\+Vertex\+Handle \hyperlink{a00417_abacd9a21d5a78d80dc1faf617caf39e9}{v0}}\label{a00417_abacd9a21d5a78d80dc1faf617caf39e9}

\begin{DoxyCompactList}\small\item\em Vertex to be removed. \end{DoxyCompactList}\item 
\hypertarget{a00417_a7e472c32525398eeb34cad7c52aa3651}{Mesh\+::\+Vertex\+Handle \hyperlink{a00417_a7e472c32525398eeb34cad7c52aa3651}{v1}}\label{a00417_a7e472c32525398eeb34cad7c52aa3651}

\begin{DoxyCompactList}\small\item\em Remaining vertex. \end{DoxyCompactList}\item 
\hypertarget{a00417_a4d6e1b8c56453e3de48ed178d067c876}{Mesh\+::\+Point \hyperlink{a00417_a4d6e1b8c56453e3de48ed178d067c876}{p0}}\label{a00417_a4d6e1b8c56453e3de48ed178d067c876}

\begin{DoxyCompactList}\small\item\em Position of removed vertex. \end{DoxyCompactList}\item 
\hypertarget{a00417_a91226116d563790a8d04b09a9ef2d965}{Mesh\+::\+Point \hyperlink{a00417_a91226116d563790a8d04b09a9ef2d965}{p1}}\label{a00417_a91226116d563790a8d04b09a9ef2d965}

\begin{DoxyCompactList}\small\item\em Positions of remaining vertex. \end{DoxyCompactList}\item 
\hypertarget{a00417_abe823726812c34c63eccc8316f5b1de5}{Mesh\+::\+Face\+Handle \hyperlink{a00417_abe823726812c34c63eccc8316f5b1de5}{fl}}\label{a00417_abe823726812c34c63eccc8316f5b1de5}

\begin{DoxyCompactList}\small\item\em Left face. \end{DoxyCompactList}\item 
\hypertarget{a00417_a2962fea162ba214fe7394d60ddb322d7}{Mesh\+::\+Face\+Handle \hyperlink{a00417_a2962fea162ba214fe7394d60ddb322d7}{fr}}\label{a00417_a2962fea162ba214fe7394d60ddb322d7}

\begin{DoxyCompactList}\small\item\em Right face. \end{DoxyCompactList}\item 
\hypertarget{a00417_a4d6ceec9090fb5a282e3a2f842962597}{Mesh\+::\+Vertex\+Handle \hyperlink{a00417_a4d6ceec9090fb5a282e3a2f842962597}{vl}}\label{a00417_a4d6ceec9090fb5a282e3a2f842962597}

\begin{DoxyCompactList}\small\item\em Left vertex. \end{DoxyCompactList}\item 
\hypertarget{a00417_ad65dfec5ec35931c6aaac3587b0fd55e}{Mesh\+::\+Vertex\+Handle \hyperlink{a00417_ad65dfec5ec35931c6aaac3587b0fd55e}{vr}}\label{a00417_ad65dfec5ec35931c6aaac3587b0fd55e}

\begin{DoxyCompactList}\small\item\em Right vertex. \end{DoxyCompactList}\end{DoxyCompactItemize}
{\bf }\par
\begin{DoxyCompactItemize}
\item 
Mesh\+::\+Halfedge\+Handle \hyperlink{a00417_a0d3ab34ba78e36e61066d0b26bdb3e4e}{vlv1}
\item 
Mesh\+::\+Halfedge\+Handle \hyperlink{a00417_a4df2f92321dbd926da6c830a22346d6c}{v0vl}
\item 
Mesh\+::\+Halfedge\+Handle \hyperlink{a00417_a14f222f628f5256dd26dbe495a6452d2}{vrv0}
\item 
Mesh\+::\+Halfedge\+Handle \hyperlink{a00417_a67375650879904935d62e544285aa0f9}{v1vr}
\end{DoxyCompactItemize}



\subsection{Detailed Description}
\subsubsection*{template$<$class Mesh$>$struct Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T$<$ Mesh $>$}

Stores information about a halfedge collapse.

The class stores information about a halfedge collapse. The most important information is {\ttfamily v0v1}, {\ttfamily v1v0}, {\ttfamily v0}, {\ttfamily v1}, {\ttfamily vl}, {\ttfamily vr}, which you can lookup in the following image\+:  \begin{DoxySeeAlso}{See also}
\hyperlink{a00719}{Mod\+Prog\+Mesh\+T\+::\+Info} 
\end{DoxySeeAlso}


Definition at line 80 of file Collapse\+Info\+T.\+hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00417_a3119dd3ab3c513c0f853448c86ec8cf5}{\index{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T@{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}!Collapse\+Info\+T@{Collapse\+Info\+T}}
\index{Collapse\+Info\+T@{Collapse\+Info\+T}!Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T@{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}}
\subsubsection[{Collapse\+Info\+T}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh $>$ {\bf Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}$<$ {\bf Mesh} $>$\+::{\bf Collapse\+Info\+T} (
\begin{DoxyParamCaption}
\item[{{\bf Mesh} \&}]{\+\_\+mesh, }
\item[{typename Mesh\+::\+Halfedge\+Handle}]{\+\_\+heh}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{a00417_a3119dd3ab3c513c0f853448c86ec8cf5}
Initializing constructor.

Given a mesh and a halfedge handle of the halfedge to be collapsed all important information of a halfedge collapse will be stored. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+mesh} & Mesh source \\
\hline
{\em \+\_\+heh} & Halfedge to collapse. The direction of the halfedge defines the direction of the collapse, i.\+e. the from-\/vertex will be removed and the to-\/vertex remains.\\
\hline
\end{DoxyParams}
Local configuration of halfedge collapse to be stored in \hyperlink{a00417}{Collapse\+Info\+T}\+: \begin{DoxyVerb}vl
 *
/ \
\end{DoxyVerb}
 / \textbackslash{} / fl \textbackslash{} v0 $\ast$-\/-\/-\/---$>$$\ast$ v1 \textbackslash{} fr / \textbackslash{} / \textbackslash{} /
\begin{DoxyItemize}
\item vr
\end{DoxyItemize}


\begin{DoxyParams}{Parameters}
{\em \+\_\+mesh} & Reference to mesh \\
\hline
{\em \+\_\+heh} & The halfedge (v0 -\/$>$ v1) defining the collapse \\
\hline
\end{DoxyParams}


Definition at line 135 of file Collapse\+Info\+T.\+hh.



\subsection{Member Data Documentation}
\hypertarget{a00417_a4df2f92321dbd926da6c830a22346d6c}{\index{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T@{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}!v0vl@{v0vl}}
\index{v0vl@{v0vl}!Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T@{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}}
\subsubsection[{v0vl}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh $>$ Mesh\+::\+Halfedge\+Handle {\bf Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}$<$ {\bf Mesh} $>$\+::v0vl}}\label{a00417_a4df2f92321dbd926da6c830a22346d6c}
Outer remaining halfedge of diamond spanned by {\ttfamily v0}, {\ttfamily v1}, {\ttfamily vl}, and {\ttfamily vr} 

Definition at line 109 of file Collapse\+Info\+T.\+hh.

\hypertarget{a00417_a67375650879904935d62e544285aa0f9}{\index{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T@{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}!v1vr@{v1vr}}
\index{v1vr@{v1vr}!Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T@{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}}
\subsubsection[{v1vr}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh $>$ Mesh\+::\+Halfedge\+Handle {\bf Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}$<$ {\bf Mesh} $>$\+::v1vr}}\label{a00417_a67375650879904935d62e544285aa0f9}
Outer remaining halfedge of diamond spanned by {\ttfamily v0}, {\ttfamily v1}, {\ttfamily vl}, and {\ttfamily vr} 

Definition at line 109 of file Collapse\+Info\+T.\+hh.

\hypertarget{a00417_a0d3ab34ba78e36e61066d0b26bdb3e4e}{\index{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T@{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}!vlv1@{vlv1}}
\index{vlv1@{vlv1}!Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T@{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}}
\subsubsection[{vlv1}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh $>$ Mesh\+::\+Halfedge\+Handle {\bf Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}$<$ {\bf Mesh} $>$\+::vlv1}}\label{a00417_a0d3ab34ba78e36e61066d0b26bdb3e4e}
Outer remaining halfedge of diamond spanned by {\ttfamily v0}, {\ttfamily v1}, {\ttfamily vl}, and {\ttfamily vr} 

Definition at line 109 of file Collapse\+Info\+T.\+hh.

\hypertarget{a00417_a14f222f628f5256dd26dbe495a6452d2}{\index{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T@{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}!vrv0@{vrv0}}
\index{vrv0@{vrv0}!Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T@{Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}}
\subsubsection[{vrv0}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class Mesh $>$ Mesh\+::\+Halfedge\+Handle {\bf Open\+Mesh\+::\+Decimater\+::\+Collapse\+Info\+T}$<$ {\bf Mesh} $>$\+::vrv0}}\label{a00417_a14f222f628f5256dd26dbe495a6452d2}
Outer remaining halfedge of diamond spanned by {\ttfamily v0}, {\ttfamily v1}, {\ttfamily vl}, and {\ttfamily vr} 

Definition at line 109 of file Collapse\+Info\+T.\+hh.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Decimater/\hyperlink{a02017}{Collapse\+Info\+T.\+hh}\end{DoxyCompactItemize}
