\hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT}{}\section{Open\+Mesh\+:\+:Subdivider\+:\+:Adaptive\+:\+:CompositeT$<$ M $>$ Class Template Reference}
\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT}\index{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+Composite\+T$<$ M $>$@{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+Composite\+T$<$ M $>$}}


{\ttfamily \#include $<$Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Subdivider/\+Adaptive/\+Composite/\+Composite\+T.\+hh$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a6a7324f11505d0140f4ce947c3e7872a}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a6a7324f11505d0140f4ce947c3e7872a}} 
typedef \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule\+InterfaceT}$<$ M $>$ {\bfseries Rule}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_aa75c59efa30d205c67d551d1cc7e5339}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_aa75c59efa30d205c67d551d1cc7e5339}} 
typedef M {\bfseries Mesh}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a27da6988470ed03567f5d4f39f850c97}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a27da6988470ed03567f5d4f39f850c97}} 
typedef std\+::vector$<$ \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule} $\ast$ $>$ {\bfseries Rule\+Sequence}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a94af1e7b58406bbd5cdd2df34389ac5e}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a94af1e7b58406bbd5cdd2df34389ac5e}} 
typedef M\+::\+Vertex\+Handle {\bfseries VH}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a6706919876617cbceb3fe854a3fd2769}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a6706919876617cbceb3fe854a3fd2769}} 
typedef M\+::\+Face\+Handle {\bfseries FH}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a77f680a429898a23ad7874257ce816c0}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a77f680a429898a23ad7874257ce816c0}} 
typedef M\+::\+Edge\+Handle {\bfseries EH}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_acd6d1e782257d9c352076571c6e8f493}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_acd6d1e782257d9c352076571c6e8f493}} 
typedef M\+::\+Halfedge\+Handle {\bfseries HH}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a14acda841f3f50918ce31e07b56ba507}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a14acda841f3f50918ce31e07b56ba507}} 
\hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a14acda841f3f50918ce31e07b56ba507}{CompositeT} (Mesh \&\+\_\+mesh)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
void \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_ad80960eb4a617e8bd46fdebdf842c4f1}{cleanup} (void)
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a18fd11270e399c7ede5f9a45373cf193}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a18fd11270e399c7ede5f9a45373cf193}} 
bool \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a18fd11270e399c7ede5f9a45373cf193}{initialize} (void)
\begin{DoxyCompactList}\small\item\em Initialize faces, edges, vertices, and rules. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_ae51784d44a9134dd09718617349cce09}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_ae51784d44a9134dd09718617349cce09}} 
void \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_ae51784d44a9134dd09718617349cce09}{refine} (typename M\+::\+Face\+Handle \&\+\_\+fh)
\begin{DoxyCompactList}\small\item\em Refine one face. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a244944f4dfef7629d18a96da2e488a0d}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a244944f4dfef7629d18a96da2e488a0d}} 
void \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a244944f4dfef7629d18a96da2e488a0d}{refine} (typename M\+::\+Vertex\+Handle \&\+\_\+vh)
\begin{DoxyCompactList}\small\item\em Raise one vertex to next final level. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_ae33f9634758aeb49fa9dc0efc2adf6b9}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_ae33f9634758aeb49fa9dc0efc2adf6b9}} 
int \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_ae33f9634758aeb49fa9dc0efc2adf6b9}{subdiv\+\_\+type} ()
\begin{DoxyCompactList}\small\item\em Return subdivision split type (3 for 1-\/to-\/3 split, 4 for 1-\/to-\/4 split). \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a7f860de1f18dca6af91aa8666e368204}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a7f860de1f18dca6af91aa8666e368204}} 
const \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule} \& {\bfseries subdiv\+\_\+rule} () const
\end{DoxyCompactItemize}
\begin{Indent}\textbf{ Managing composite rules}\par
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename R $>$ }\\\hyperlink{structOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleHandleT}{Rule\+HandleT}$<$ R $>$ \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a9822926fab6924d5c9d5ada7a2db366e}{add} ()
\item 
{\footnotesize template$<$typename R $>$ }\\\hyperlink{structOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleHandleT}{Rule\+HandleT}$<$ R $>$ \& \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a748163a4a7c7f45f7714ae5ff724d014}{add} (\hyperlink{structOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleHandleT}{Rule\+HandleT}$<$ R $>$ \&\+\_\+rh)
\item 
{\footnotesize template$<$typename R $>$ }\\\hyperlink{structOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleHandleT}{Rule\+HandleT}$<$ R $>$\+::\hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule} \& \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a99ff9d4f4a55f612ee10dd1c5d0aa60d}{rule} (const \hyperlink{structOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleHandleT}{Rule\+HandleT}$<$ R $>$ \&\+\_\+rh)
\item 
\hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule\+InterfaceT}$<$ M $>$ \& \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a8df1c3098721d47a64c64f9bbafe5639}{rule} (size\+\_\+t \+\_\+idx)
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a1fd94e9a9a3b6c0c973904bcd3d19fd0}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a1fd94e9a9a3b6c0c973904bcd3d19fd0}} 
size\+\_\+t \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a1fd94e9a9a3b6c0c973904bcd3d19fd0}{n\+\_\+rules} () const
\begin{DoxyCompactList}\small\item\em Number of rules in the rule sequence. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a13ef8fec36da611f409984d89540e7f3}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a13ef8fec36da611f409984d89540e7f3}} 
std\+::string \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a13ef8fec36da611f409984d89540e7f3}{rules\+\_\+as\+\_\+string} (const std\+::string \&\+\_\+sep=\char`\"{} $\ast$ \char`\"{}) const
\begin{DoxyCompactList}\small\item\em Return the sequence as string. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_abf8a0cecb46f7acf03310359cd01cf05}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_abf8a0cecb46f7acf03310359cd01cf05}} 
const Rule\+Sequence \& \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_abf8a0cecb46f7acf03310359cd01cf05}{rules} () const
\begin{DoxyCompactList}\small\item\em The rule sequence. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a64d46d4ea36ae9929c51d6ffb4179b99}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a64d46d4ea36ae9929c51d6ffb4179b99}} 
\hyperlink{namespaceOpenMesh_1_1Subdivider_1_1Adaptive_af706613543b0da1b097580a9dc30fc6e}{state\+\_\+t} {\bfseries generation} (\hyperlink{namespaceOpenMesh_1_1Subdivider_1_1Adaptive_af706613543b0da1b097580a9dc30fc6e}{state\+\_\+t} \+\_\+s) const
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a17463bc4b4ae0802830ba4b143fa320d}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a17463bc4b4ae0802830ba4b143fa320d}} 
\hyperlink{namespaceOpenMesh_1_1Subdivider_1_1Adaptive_af706613543b0da1b097580a9dc30fc6e}{state\+\_\+t} {\bfseries generation} (VH \+\_\+vh) const
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_ab8528e92c3036664c9adff0963dc6dd7}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_ab8528e92c3036664c9adff0963dc6dd7}} 
\hyperlink{namespaceOpenMesh_1_1Subdivider_1_1Adaptive_af706613543b0da1b097580a9dc30fc6e}{state\+\_\+t} {\bfseries generation} (EH \+\_\+eh) const
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a4b9fd0d0fe8cf3b735c35f12648d09f5}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a4b9fd0d0fe8cf3b735c35f12648d09f5}} 
\hyperlink{namespaceOpenMesh_1_1Subdivider_1_1Adaptive_af706613543b0da1b097580a9dc30fc6e}{state\+\_\+t} {\bfseries generation} (FH \+\_\+fh) const
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_accc63c22d4c4d3f16e7fc12948e303d0}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_accc63c22d4c4d3f16e7fc12948e303d0}} 
\hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule} $\ast$ {\bfseries t\+\_\+rule} () const
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a939f967996c777ce034a2de9b3ee8b9c}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a939f967996c777ce034a2de9b3ee8b9c}} 
\hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule} $\ast$ {\bfseries f\+\_\+rule} ()
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a434abd72686b697e6ce22eb48411968f}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a434abd72686b697e6ce22eb48411968f}} 
\hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule} $\ast$ {\bfseries l\+\_\+rule} ()
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a14793cfbb432731379685ff2fe2b5922}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a14793cfbb432731379685ff2fe2b5922}} 
{\bfseries CompositeT} (const \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT}{CompositeT} \&)
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a3d220748d76dbf062b34874540bb2c23}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a3d220748d76dbf062b34874540bb2c23}} 
\hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT}{CompositeT} \& {\bfseries operator=} (const \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT}{CompositeT})
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a419197784b44d0951f93a6f51afe61d5}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a419197784b44d0951f93a6f51afe61d5}} 
Rule\+Sequence {\bfseries rule\+\_\+sequence\+\_\+}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a72ec78caeebd3da03388663051ae87dd}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a72ec78caeebd3da03388663051ae87dd}} 
int {\bfseries subdiv\+\_\+type\+\_\+}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a70da5f11514e868ea21386a66301c1c8}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a70da5f11514e868ea21386a66301c1c8}} 
\hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule} $\ast$ {\bfseries subdiv\+\_\+rule\+\_\+}
\item 
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a215e24f89fa0f8500eed9fc906c89bab}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a215e24f89fa0f8500eed9fc906c89bab}} 
Mesh \& {\bfseries mesh\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename M$>$\newline
class Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+Composite\+T$<$ M $>$}

\hyperlink{namespaceOpenMesh_1_1Subdivider_1_1Adaptive}{Adaptive} Composite Subdivision framework.

The adaptive composite subdivision framework is based on the work done by P. Oswald and P. Schroeder. This framework elevates the uniform case of the composite scheme to the adaptive setting.

For details on the composite scheme refer to
\begin{DoxyItemize}
\item \href{http://cm.bell-labs.com/who/poswald/sqrt3.pdf}{\tt P. Oswald, P. Schroeder \char`\"{}\+Composite primal/dual sqrt(3)-\/subdivision schemes\char`\"{}, C\+A\+GD 20, 3, 2003, 135--164}
\end{DoxyItemize}

For details on the transition from uniform to adaptive composite subdivision please refer to
\begin{DoxyItemize}
\item \href{http://www.eg.org/EG/DL/PE/OPENSG03/04sovakar.pdf}{\tt A. von Studnitz, A. Sovakar, L. Kobbelt \char`\"{}\+A\+P\+I Design for Adaptive Subdivision
\+Schemes\char`\"{} Open\+SG Symposium 2003}
\end{DoxyItemize}

In the composite scheme a subdivision operator is created by combining smaller \char`\"{}atomic\char`\"{} rules. Depending on the selection and ordering of the operator many known subdivision schemes can be created.

Every rule inherits from \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule\+InterfaceT} and is represented out of the subdivider object by a \hyperlink{structOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleHandleT}{Rule\+HandleT} (as usual within Open\+Mesh). You can add rules using the \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a9822926fab6924d5c9d5ada7a2db366e}{Composite\+T\+::add()} functions. The correct order of adding the rules is very important, and furthermore not all rules get along with each other very well. (Please read the given literature, especially the paper by Oswald and Schr�der.)

To use a composite subdivider first define a rule sequence describing the order of execution of the rules. In the order the rules habe been added they will be executed. E.\+g. the rules given in operator notation have to added from right to left.

After the rule sequence has been defined the subdivider has to be intialized using \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a18fd11270e399c7ede5f9a45373cf193}{Composite\+T\+::initialize()}. If everything went well, use \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_ae51784d44a9134dd09718617349cce09}{Composite\+T\+::refine()} to subdivide locally a face or vertex.

\begin{DoxyNote}{Note}
Not all (topological) operators have been implemented! 

Only triangle meshes are supported. 

The rule sequence must begin with a topological operator.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule\+InterfaceT}, \hyperlink{structOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleHandleT}{Rule\+HandleT} 
\end{DoxySeeAlso}


Definition at line 133 of file Composite\+T.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a9822926fab6924d5c9d5ada7a2db366e}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a9822926fab6924d5c9d5ada7a2db366e}} 
\index{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT@{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}!add@{add}}
\index{add@{add}!Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT@{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}}
\subsubsection{\texorpdfstring{add()}{add()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$typename M$>$ \\
template$<$typename R $>$ \\
\hyperlink{structOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleHandleT}{Rule\+HandleT}$<$R$>$ \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT}{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}$<$ M $>$\+::add (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Add new rule to rule sequence by passing the type of the wanted rule as template argument to the method. \begin{DoxyReturn}{Returns}
Valid handle on success. Else it is invalid. 
\end{DoxyReturn}


Definition at line 201 of file Composite\+T.\+hh.

\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a748163a4a7c7f45f7714ae5ff724d014}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a748163a4a7c7f45f7714ae5ff724d014}} 
\index{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT@{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}!add@{add}}
\index{add@{add}!Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT@{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}}
\subsubsection{\texorpdfstring{add()}{add()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$typename M$>$ \\
template$<$typename R $>$ \\
\hyperlink{structOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleHandleT}{Rule\+HandleT}$<$R$>$\& \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT}{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}$<$ M $>$\+::add (\begin{DoxyParamCaption}\item[{\hyperlink{structOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleHandleT}{Rule\+HandleT}$<$ R $>$ \&}]{\+\_\+rh }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Add new rule to rule sequence by passing an appropriate handle to the method. \begin{DoxyReturn}{Returns}
Valid handle on success. Else it is invalid. 
\end{DoxyReturn}


Definition at line 213 of file Composite\+T.\+hh.

\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_ad80960eb4a617e8bd46fdebdf842c4f1}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_ad80960eb4a617e8bd46fdebdf842c4f1}} 
\index{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT@{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}!cleanup@{cleanup}}
\index{cleanup@{cleanup}!Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT@{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}}
\subsubsection{\texorpdfstring{cleanup()}{cleanup()}}
{\footnotesize\ttfamily template$<$typename M$>$ \\
void \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT}{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}$<$ M $>$\+::cleanup (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Reset {\ttfamily self} to state after the default constructor except of the mesh. 

Definition at line 161 of file Composite\+T.\+hh.

\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a99ff9d4f4a55f612ee10dd1c5d0aa60d}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a99ff9d4f4a55f612ee10dd1c5d0aa60d}} 
\index{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT@{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}!rule@{rule}}
\index{rule@{rule}!Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT@{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}}
\subsubsection{\texorpdfstring{rule()}{rule()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$typename M$>$ \\
template$<$typename R $>$ \\
\hyperlink{structOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleHandleT}{Rule\+HandleT}$<$R$>$\+::\hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule}\& \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT}{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}$<$ M $>$\+::rule (\begin{DoxyParamCaption}\item[{const \hyperlink{structOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleHandleT}{Rule\+HandleT}$<$ R $>$ \&}]{\+\_\+rh }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Get rule in the rule sequence by a handle.

\begin{DoxyReturn}{Returns}
The wanted rule if the handle is valid. The return value is undefined if the handle is invalid! 
\end{DoxyReturn}


Definition at line 224 of file Composite\+T.\+hh.

\mbox{\Hypertarget{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a8df1c3098721d47a64c64f9bbafe5639}\label{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT_a8df1c3098721d47a64c64f9bbafe5639}} 
\index{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT@{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}!rule@{rule}}
\index{rule@{rule}!Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT@{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}}
\subsubsection{\texorpdfstring{rule()}{rule()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$typename M$>$ \\
\hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1RuleInterfaceT}{Rule\+InterfaceT}$<$M$>$\& \hyperlink{classOpenMesh_1_1Subdivider_1_1Adaptive_1_1CompositeT}{Open\+Mesh\+::\+Subdivider\+::\+Adaptive\+::\+CompositeT}$<$ M $>$\+::rule (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{\+\_\+idx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Get rule (interface) by index

\begin{DoxyReturn}{Returns}
The wanted rule if the handle is valid. The return value is undefined if the handle is invalid! 
\end{DoxyReturn}


Definition at line 237 of file Composite\+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/\+Subdivider/\+Adaptive/\+Composite/\hyperlink{Adaptive_2Composite_2CompositeT_8hh}{Composite\+T.\+hh}\item 
Open\+Flipper/libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Subdivider/\+Adaptive/\+Composite/\hyperlink{Adaptive_2Composite_2CompositeT__impl_8hh}{Composite\+T\+\_\+impl.\+hh}\end{DoxyCompactItemize}
