\hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT}{}\section{Open\+Mesh\+:\+:Subdivider\+:\+:Uniform\+:\+:Catmull\+ClarkT$<$ Mesh\+Type, Real\+Type $>$ Class Template Reference}
\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT}\index{Open\+Mesh\+::\+Subdivider\+::\+Uniform\+::\+Catmull\+Clark\+T$<$ Mesh\+Type, Real\+Type $>$@{Open\+Mesh\+::\+Subdivider\+::\+Uniform\+::\+Catmull\+Clark\+T$<$ Mesh\+Type, Real\+Type $>$}}


{\ttfamily \#include $<$Catmull\+Clark\+T.\+hh$>$}

Inheritance diagram for Open\+Mesh\+:\+:Subdivider\+:\+:Uniform\+:\+:Catmull\+ClarkT$<$ Mesh\+Type, Real\+Type $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_afb81aaa80c3dd00a71d6e9b027c3404f}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_afb81aaa80c3dd00a71d6e9b027c3404f}} 
typedef Mesh\+Type\+::\+Face\+Handle {\bfseries Face\+Handle}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a16856045ea6cb81478200e338f70d7a0}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a16856045ea6cb81478200e338f70d7a0}} 
typedef Mesh\+Type\+::\+Vertex\+Handle {\bfseries Vertex\+Handle}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a46e6197eae82c4592eb63179bb01cedf}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a46e6197eae82c4592eb63179bb01cedf}} 
typedef Mesh\+Type\+::\+Edge\+Handle {\bfseries Edge\+Handle}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ae6facaeec3c51f7d48b787b268cd611a}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ae6facaeec3c51f7d48b787b268cd611a}} 
typedef Mesh\+Type\+::\+Halfedge\+Handle {\bfseries Halfedge\+Handle}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a20beb79bd423930daa500e83354acb5a}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a20beb79bd423930daa500e83354acb5a}} 
typedef Mesh\+Type\+::\+Point {\bfseries Point}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ab02d527ddfeedd4cd7e99cfac3a40193}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ab02d527ddfeedd4cd7e99cfac3a40193}} 
typedef Mesh\+Type\+::\+Normal {\bfseries Normal}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ab92e9e5aa0eef6d58957b8bb36e6420c}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ab92e9e5aa0eef6d58957b8bb36e6420c}} 
typedef Mesh\+Type\+::\+Face\+Iter {\bfseries Face\+Iter}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a5c2d90f4bf6f7e1be995fee3bf2346f6}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a5c2d90f4bf6f7e1be995fee3bf2346f6}} 
typedef Mesh\+Type\+::\+Edge\+Iter {\bfseries Edge\+Iter}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a2b348559c9f1453e1d1aed960b6e3080}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a2b348559c9f1453e1d1aed960b6e3080}} 
typedef Mesh\+Type\+::\+Vertex\+Iter {\bfseries Vertex\+Iter}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a490f5a58e50ed7ba81d86cd81ffd7c5e}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a490f5a58e50ed7ba81d86cd81ffd7c5e}} 
typedef Mesh\+Type\+::\+Vertex\+Edge\+Iter {\bfseries Vertex\+Edge\+Iter}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_adce13f2ef29ec027648ac8a11932885c}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_adce13f2ef29ec027648ac8a11932885c}} 
typedef Mesh\+Type\+::\+Vertex\+Face\+Iter {\bfseries Vertex\+Face\+Iter}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ab45a947fb39ce828de4242ddf1f8f0ef}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ab45a947fb39ce828de4242ddf1f8f0ef}} 
typedef Mesh\+Type\+::\+V\+O\+H\+Iter {\bfseries V\+O\+H\+Iter}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_aedf4baed9240d00509d09c8d8faeb75c}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_aedf4baed9240d00509d09c8d8faeb75c}} 
typedef \hyperlink{classOpenMesh_1_1Subdivider_1_1Uniform_1_1SubdividerT}{SubdividerT}$<$ Mesh\+Type, Real\+Type $>$ {\bfseries parent\+\_\+t}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ae6d980d140a5fa437cbd052cad08ad5b}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ae6d980d140a5fa437cbd052cad08ad5b}} 
\hyperlink{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ae6d980d140a5fa437cbd052cad08ad5b}{Catmull\+ClarkT} ()
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a4dffc85efdd793bb06fd62ae54440e46}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a4dffc85efdd793bb06fd62ae54440e46}} 
\hyperlink{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a4dffc85efdd793bb06fd62ae54440e46}{Catmull\+ClarkT} (Mesh\+Type \&\+\_\+m)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ac3df4fa3b30dffb3a5efef6a6113c66f}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ac3df4fa3b30dffb3a5efef6a6113c66f}} 
const char $\ast$ \hyperlink{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ac3df4fa3b30dffb3a5efef6a6113c66f}{name} () const override
\begin{DoxyCompactList}\small\item\em Return name of subdivision algorithm. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a7a5e0f11bad95ea3cea2878e84861d40}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a7a5e0f11bad95ea3cea2878e84861d40}} 
virtual bool \hyperlink{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a7a5e0f11bad95ea3cea2878e84861d40}{prepare} (Mesh\+Type \&\+\_\+m) override
\begin{DoxyCompactList}\small\item\em Initialize properties and weights. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a8b44f7c06f0cc5fb5fa8dfeb5cb09755}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a8b44f7c06f0cc5fb5fa8dfeb5cb09755}} 
virtual bool \hyperlink{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a8b44f7c06f0cc5fb5fa8dfeb5cb09755}{cleanup} (Mesh\+Type \&\+\_\+m) override
\begin{DoxyCompactList}\small\item\em Remove properties and weights. \end{DoxyCompactList}\item 
virtual bool \hyperlink{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a346c07c2d40dac303a1812106dec39d5}{subdivide} (Mesh\+Type \&\+\_\+m, size\+\_\+t \+\_\+n, const bool \+\_\+update\+\_\+points=true) override
\begin{DoxyCompactList}\small\item\em Execute n subdivision steps. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{Indent}\textbf{ Topology helpers}\par
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ad911bc5597c63f19620bdd692d7618d0}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ad911bc5597c63f19620bdd692d7618d0}} 
void {\bfseries split\+\_\+edge} (Mesh\+Type \&\+\_\+m, const Edge\+Handle \&\+\_\+eh)
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a61859912ec2d16287a26250124074f0c}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a61859912ec2d16287a26250124074f0c}} 
void {\bfseries split\+\_\+face} (Mesh\+Type \&\+\_\+m, const Face\+Handle \&\+\_\+fh)
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ae6a68ccd835dfb5860344f4788d2212d}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ae6a68ccd835dfb5860344f4788d2212d}} 
void {\bfseries compute\+\_\+midpoint} (Mesh\+Type \&\+\_\+m, const Edge\+Handle \&\+\_\+eh, const bool \+\_\+update\+\_\+points)
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a36f737ae8a7e5c226a1fad528d72e914}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a36f737ae8a7e5c226a1fad528d72e914}} 
void {\bfseries update\+\_\+vertex} (Mesh\+Type \&\+\_\+m, const Vertex\+Handle \&\+\_\+vh)
\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a95307ba32fe3326fd289ff2d27776de0}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a95307ba32fe3326fd289ff2d27776de0}} 
\hyperlink{structOpenMesh_1_1VPropHandleT}{Open\+Mesh\+::\+V\+Prop\+HandleT}$<$ Point $>$ {\bfseries vp\+\_\+pos\+\_\+}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ab7d2eb5be21588d324ef3da72e3e017b}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_ab7d2eb5be21588d324ef3da72e3e017b}} 
\hyperlink{structOpenMesh_1_1EPropHandleT}{Open\+Mesh\+::\+E\+Prop\+HandleT}$<$ Point $>$ {\bfseries ep\+\_\+pos\+\_\+}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a84f222572d96ebbbfc64f41a9ac074ee}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a84f222572d96ebbbfc64f41a9ac074ee}} 
\hyperlink{structOpenMesh_1_1FPropHandleT}{Open\+Mesh\+::\+F\+Prop\+HandleT}$<$ Point $>$ {\bfseries fp\+\_\+pos\+\_\+}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a893f296f01b7763f324905901af67e64}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a893f296f01b7763f324905901af67e64}} 
\hyperlink{structOpenMesh_1_1EPropHandleT}{Open\+Mesh\+::\+E\+Prop\+HandleT}$<$ double $>$ {\bfseries crease\+Weights\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Mesh\+Type, typename Real\+Type = double$>$\newline
class Open\+Mesh\+::\+Subdivider\+::\+Uniform\+::\+Catmull\+Clark\+T$<$ Mesh\+Type, Real\+Type $>$}

Based on code from Leon Kos, C\+AD lab, Mech.\+Eng., University of Ljubljana, Slovenia (\href{http://www.lecad.fs.uni-lj.si/~leon}{\tt http\+://www.\+lecad.\+fs.\+uni-\/lj.\+si/$\sim$leon})

\begin{DoxyNote}{Note}
Needs a Poly\+Mesh to work on! 
\end{DoxyNote}


Definition at line 85 of file Catmull\+Clark\+T.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a346c07c2d40dac303a1812106dec39d5}\label{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT_a346c07c2d40dac303a1812106dec39d5}} 
\index{Open\+Mesh\+::\+Subdivider\+::\+Uniform\+::\+Catmull\+ClarkT@{Open\+Mesh\+::\+Subdivider\+::\+Uniform\+::\+Catmull\+ClarkT}!subdivide@{subdivide}}
\index{subdivide@{subdivide}!Open\+Mesh\+::\+Subdivider\+::\+Uniform\+::\+Catmull\+ClarkT@{Open\+Mesh\+::\+Subdivider\+::\+Uniform\+::\+Catmull\+ClarkT}}
\subsubsection{\texorpdfstring{subdivide()}{subdivide()}}
{\footnotesize\ttfamily template$<$typename Mesh\+Type , typename Real\+Type $>$ \\
bool \hyperlink{classOpenMesh_1_1Subdivider_1_1Uniform_1_1CatmullClarkT}{Open\+Mesh\+::\+Subdivider\+::\+Uniform\+::\+Catmull\+ClarkT}$<$ Mesh\+Type, Real\+Type $>$\+::subdivide (\begin{DoxyParamCaption}\item[{Mesh\+Type \&}]{\+\_\+m,  }\item[{size\+\_\+t}]{\+\_\+n,  }\item[{const bool}]{\+\_\+update\+\_\+points = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}



Execute n subdivision steps. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+m} & Mesh to work on \\
\hline
{\em \+\_\+n} & Number of iterations \\
\hline
{\em \+\_\+update\+\_\+points} & Unused here \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
successful? 
\end{DoxyReturn}


Implements \hyperlink{classOpenMesh_1_1Subdivider_1_1Uniform_1_1SubdividerT_aacf8b2b63d1512d3c174fbe1781ee311}{Open\+Mesh\+::\+Subdivider\+::\+Uniform\+::\+Subdivider\+T$<$ Mesh\+Type, Real\+Type $>$}.



Definition at line 96 of file Catmull\+Clark\+T\+\_\+impl.\+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/\+Subdivider/\+Uniform/\hyperlink{CatmullClarkT_8hh}{Catmull\+Clark\+T.\+hh}\item 
Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Subdivider/\+Uniform/Catmull\+Clark\+T\+\_\+impl.\+hh\end{DoxyCompactItemize}
