\hypertarget{a06216}{}\section{Open\+Mesh\+:\+:Kernel\+\_\+\+O\+SG Namespace Reference}
\label{a06216}\index{Open\+Mesh\+::\+Kernel\+\_\+\+O\+SG@{Open\+Mesh\+::\+Kernel\+\_\+\+O\+SG}}
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \hyperlink{a06229}{FP}
\begin{DoxyCompactList}\small\item\em Open\+SG Face \hyperlink{a11928}{Properties} Adaptors. \end{DoxyCompactList}\item 
 \hyperlink{a06228}{VP}
\begin{DoxyCompactList}\small\item\em Open\+SG Vertex \hyperlink{a11928}{Properties} Adaptors. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{a09000}{Array\+KernelT}
\item 
class \hyperlink{a09004}{Attrib\+KernelT}
\begin{DoxyCompactList}\small\item\em This class adds the standard properties to the mesh type. \end{DoxyCompactList}\item 
class \hyperlink{a09020}{o\+PropertyT}
\item 
class \hyperlink{a09016}{Property\+Kernel}
\item 
struct \hyperlink{a09028}{Traits}
\item 
struct \hyperlink{a09032}{Tri\+Mesh\+\_\+\+O\+S\+G\+Array\+Kernel\+\_\+\+GeneratorT}
\begin{DoxyCompactList}\small\item\em Helper class to create a Tri\+Mesh-\/type based on \hyperlink{a09000}{Kernel\+\_\+\+O\+S\+G\+::\+Array\+KernelT}. \end{DoxyCompactList}\item 
class \hyperlink{a09036}{Tri\+Mesh\+\_\+\+O\+S\+G\+Array\+KernelT}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a06216_a445596a00b39cf2dba9f88672236a94b}\label{a06216_a445596a00b39cf2dba9f88672236a94b}} 
bool {\bfseries type\+\_\+is\+\_\+valid} (unsigned char \+\_\+t)
\item 
{\footnotesize template$<$typename Mesh $>$ }\\bool \hyperlink{a06216_a16b8b29bbad427ea962a06fc04f5eb7a}{bind} (osg\+::\+Geometry\+Ptr \&\+\_\+geo, \hyperlink{a08764}{Mesh} \&\+\_\+mesh)
\item 
{\footnotesize template$<$typename Mesh $>$ }\\bool \hyperlink{a06216_abdc3b4bdec92e3e781d54fbb21e533f6}{bind} (\hyperlink{a08764}{Mesh} \&\+\_\+mesh, osg\+::\+Geometry\+Ptr \&\+\_\+geo)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
In this namespace resides the Open\+SG integration of \hyperlink{a06210}{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\+SG Geometry. 

\subsection{Function Documentation}
\mbox{\Hypertarget{a06216_a16b8b29bbad427ea962a06fc04f5eb7a}\label{a06216_a16b8b29bbad427ea962a06fc04f5eb7a}} 
\index{Open\+Mesh\+::\+Kernel\+\_\+\+O\+SG@{Open\+Mesh\+::\+Kernel\+\_\+\+O\+SG}!bind@{bind}}
\index{bind@{bind}!Open\+Mesh\+::\+Kernel\+\_\+\+O\+SG@{Open\+Mesh\+::\+Kernel\+\_\+\+O\+SG}}
\subsubsection{\texorpdfstring{bind()}{bind()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$typename Mesh $>$ \\
bool Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G\+::bind (\begin{DoxyParamCaption}\item[{osg\+::\+Geometry\+Ptr \&}]{\+\_\+geo,  }\item[{\hyperlink{a08764}{Mesh} \&}]{\+\_\+mesh }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Bind a Open\+SG 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 101 of file bind\+T.\+hh.

\mbox{\Hypertarget{a06216_abdc3b4bdec92e3e781d54fbb21e533f6}\label{a06216_abdc3b4bdec92e3e781d54fbb21e533f6}} 
\index{Open\+Mesh\+::\+Kernel\+\_\+\+O\+SG@{Open\+Mesh\+::\+Kernel\+\_\+\+O\+SG}!bind@{bind}}
\index{bind@{bind}!Open\+Mesh\+::\+Kernel\+\_\+\+O\+SG@{Open\+Mesh\+::\+Kernel\+\_\+\+O\+SG}}
\subsubsection{\texorpdfstring{bind()}{bind()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$typename Mesh $>$ \\
bool Open\+Mesh\+::\+Kernel\+\_\+\+O\+S\+G\+::bind (\begin{DoxyParamCaption}\item[{\hyperlink{a08764}{Mesh} \&}]{\+\_\+mesh,  }\item[{osg\+::\+Geometry\+Ptr \&}]{\+\_\+geo }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

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 115 of file bind\+T.\+hh.

