\hypertarget{a02043}{\section{libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Kernel\+\_\+\+O\+S\+G/bind\+T.hh File Reference}
\label{a02043}\index{libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Kernel\+\_\+\+O\+S\+G/bind\+T.\+hh@{libs\+\_\+required/\+Open\+Mesh/src/\+Open\+Mesh/\+Tools/\+Kernel\+\_\+\+O\+S\+G/bind\+T.\+hh}}
}
{\ttfamily \#include $<$functional$>$}\\*
{\ttfamily \#include $<$algorithm$>$}\\*
{\ttfamily \#include $<$Open\+Mesh/\+Core/\+Mesh/\+Tri\+Mesh\+T.\+hh$>$}\\*
{\ttfamily \#include $<$Open\+Mesh/\+Core/\+Utils/color\+\_\+cast.\+hh$>$}\\*
{\ttfamily \#include $<$Open\+Mesh/\+Tools/\+Utils/\+G\+L\+Const\+As\+String.\+hh$>$}\\*
{\ttfamily \#include $<$Open\+S\+G/\+O\+S\+G\+Geometry.\+h$>$}\\*
{\ttfamily \#include \char`\"{}color\+\_\+cast.\+hh\char`\"{}}\\*
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \hyperlink{a03368}{Open\+Mesh}
\item 
 \hyperlink{a03377}{Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a03377_a445596a00b39cf2dba9f88672236a94b}{bool {\bfseries Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G\+::type\+\_\+is\+\_\+valid} (unsigned char \+\_\+t)}\label{a03377_a445596a00b39cf2dba9f88672236a94b}

\item 
{\footnotesize template$<$typename Mesh $>$ }\\bool \hyperlink{a03377_a16b8b29bbad427ea962a06fc04f5eb7a}{Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G\+::bind} (osg\+::\+Geometry\+Ptr \&\+\_\+geo, \hyperlink{a01335}{Mesh} \&\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh $>$ }\\bool \hyperlink{a03377_abdc3b4bdec92e3e781d54fbb21e533f6}{Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G\+::bind} (\hyperlink{a01335}{Mesh} \&\+\_\+mesh, osg\+::\+Geometry\+Ptr \&\+\_\+geo)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Bind an \hyperlink{a03368}{Open\+Mesh} to a Open\+S\+G geometry node. Be aware that due to this link the geometry node maybe modified. For instance triangle strips are converted to regular triangles. 

Definition in file \hyperlink{a02043_source}{bind\+T.\+hh}.

