\hypertarget{a03377}{\section{Open\+Mesh\+:\+:Kernel\+\_\+\+O\+S\+G Namespace Reference}
\label{a03377}\index{Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G@{Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G}}
}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \hyperlink{a03378}{F\+P}
\begin{DoxyCompactList}\small\item\em Open\+S\+G Face \hyperlink{a01027}{Properties} Adaptors. \end{DoxyCompactList}\item 
 \hyperlink{a03379}{V\+P}
\begin{DoxyCompactList}\small\item\em Open\+S\+G Vertex \hyperlink{a01027}{Properties} Adaptors. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{a00296}{Array\+Kernel\+T}
\item 
class \hyperlink{a00304}{Attrib\+Kernel\+T}
\begin{DoxyCompactList}\small\item\em This class adds the standard properties to the mesh type. \end{DoxyCompactList}\item 
class \hyperlink{a00937}{o\+Property\+T}
\item 
class \hyperlink{a01034}{Property\+Kernel}
\item 
struct \hyperlink{a01318}{Traits}
\item 
struct \hyperlink{a01336}{Tri\+Mesh\+\_\+\+O\+S\+G\+Array\+Kernel\+\_\+\+Generator\+T}
\begin{DoxyCompactList}\small\item\em Helper class to create a Tri\+Mesh-\/type based on \hyperlink{a00296}{Kernel\+\_\+\+O\+S\+G\+::\+Array\+Kernel\+T}. \end{DoxyCompactList}\item 
class \hyperlink{a01337}{Tri\+Mesh\+\_\+\+O\+S\+G\+Array\+Kernel\+T}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a03377_a445596a00b39cf2dba9f88672236a94b}{bool {\bfseries type\+\_\+is\+\_\+valid} (unsigned char \+\_\+t)}\label{a03377_a445596a00b39cf2dba9f88672236a94b}

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


\subsection{Detailed Description}
In this namespace resides the Open\+S\+G integration of \hyperlink{a03368}{Open\+Mesh}. Here you find the class Open\+Mesh\+::\+O\+S\+G\+\_\+\+Kernel\+::\+Tri\+Mesh\+\_\+\+O\+S\+G\+Array\+Kernel\+T$<$$>$ and the template function Open\+Mesh\+::\+O\+S\+G\+\_\+\+Kernel\+::bind\+T$<$$>$ to link such a mesh with a Open\+S\+G Geometry. 

\subsection{Function Documentation}
\hypertarget{a03377_a16b8b29bbad427ea962a06fc04f5eb7a}{\index{Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G@{Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G}!bind@{bind}}
\index{bind@{bind}!Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G@{Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G}}
\subsubsection[{bind}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Mesh $>$ bool Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G\+::bind (
\begin{DoxyParamCaption}
\item[{osg\+::\+Geometry\+Ptr \&}]{\+\_\+geo, }
\item[{{\bf Mesh} \&}]{\+\_\+mesh}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{a03377_a16b8b29bbad427ea962a06fc04f5eb7a}
Bind a Open\+S\+G geometry to a mesh.


\begin{DoxyParams}{Parameters}
{\em \+\_\+mesh} & The mesh object to bind the geometry to. \\
\hline
{\em \+\_\+geo} & The geometry object to bind. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if the connection has been established else false. 
\end{DoxyReturn}


Definition at line 106 of file bind\+T.\+hh.

\hypertarget{a03377_abdc3b4bdec92e3e781d54fbb21e533f6}{\index{Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G@{Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G}!bind@{bind}}
\index{bind@{bind}!Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G@{Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G}}
\subsubsection[{bind}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Mesh $>$ bool Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G\+::bind (
\begin{DoxyParamCaption}
\item[{{\bf Mesh} \&}]{\+\_\+mesh, }
\item[{osg\+::\+Geometry\+Ptr \&}]{\+\_\+geo}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{a03377_abdc3b4bdec92e3e781d54fbb21e533f6}
Bind a mesh object to geometry. The binder is able to handle non-\/indexed and indexed geometry. Multi-\/indexed geometry is not supported.


\begin{DoxyParams}{Parameters}
{\em \+\_\+mesh} & The mesh object to bind. \\
\hline
{\em \+\_\+geo} & The geometry object to bind to. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true if the connection has been established else false. 
\end{DoxyReturn}


Definition at line 120 of file bind\+T.\+hh.

