\hypertarget{PluginFunctionsTriangleMesh_8hh}{}\section{Type-\/\+Open\+Mesh/\+Object\+Types/\+Triangle\+Mesh/\+Plugin\+Functions\+Triangle\+Mesh.hh File Reference}
\label{PluginFunctionsTriangleMesh_8hh}\index{Type-\/\+Open\+Mesh/\+Object\+Types/\+Triangle\+Mesh/\+Plugin\+Functions\+Triangle\+Mesh.\+hh@{Type-\/\+Open\+Mesh/\+Object\+Types/\+Triangle\+Mesh/\+Plugin\+Functions\+Triangle\+Mesh.\+hh}}
{\ttfamily \#include $<$Open\+Flipper/common/\+Types.\+hh$>$}\newline
{\ttfamily \#include $<$Object\+Types/\+Triangle\+Mesh/\+Triangle\+Mesh.\+hh$>$}\newline
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \hyperlink{namespacePluginFunctions}{Plugin\+Functions}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{Indent}\textbf{ Active Objects}\par
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{namespacePluginFunctions_a058dc5d5628c37950e7a2e293c149c76}{Plugin\+Functions\+::get\+Source\+Meshes} (std\+::vector$<$ \hyperlink{TriangleMeshTypes_8hh_a1e692d019e1d7c032c1de2e68b838ad6}{Tri\+Mesh} $\ast$ $>$ \&\+\_\+meshes)
\begin{DoxyCompactList}\small\item\em Get a pointer to every Triangle Mesh which is marked as a source mesh. \end{DoxyCompactList}\item 
bool \hyperlink{namespacePluginFunctions_a308809b86da9a096233b66f16c1089c3}{Plugin\+Functions\+::get\+Target\+Meshes} (std\+::vector$<$ \hyperlink{TriangleMeshTypes_8hh_a1e692d019e1d7c032c1de2e68b838ad6}{Tri\+Mesh} $\ast$ $>$ \&\+\_\+meshes)
\begin{DoxyCompactList}\small\item\em Get a pointer to every Triangle Mesh which is marked as a target mesh. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ Identifier handling}\par
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{namespacePluginFunctions_a285e69a8453714c83043c84dbd0eed2f}{Plugin\+Functions\+::get\+Object} (int \+\_\+identifier, \hyperlink{classTriMeshObject}{Tri\+Mesh\+Object} $\ast$\&\+\_\+object)
\item 
bool \hyperlink{namespacePluginFunctions_a1c5f2d09b60d5f1ec864f897b78779ab}{Plugin\+Functions\+::get\+Mesh} (int \+\_\+identifier, \hyperlink{TriangleMeshTypes_8hh_a1e692d019e1d7c032c1de2e68b838ad6}{Tri\+Mesh} $\ast$\&\+\_\+mesh)
\begin{DoxyCompactList}\small\item\em Get the Triangle Mesh which has the given identifier. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}
\begin{Indent}\textbf{ Getting data from objects and casting between them}\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{TriangleMeshTypes_8hh_a1e692d019e1d7c032c1de2e68b838ad6}{Tri\+Mesh} $\ast$ \hyperlink{namespacePluginFunctions_a4797322b8169e91fd69c194b927b8aa8}{Plugin\+Functions\+::tri\+Mesh} (\hyperlink{classBaseObjectData}{Base\+Object\+Data} $\ast$\+\_\+object)
\begin{DoxyCompactList}\small\item\em Get a triangle mesh from an object. \end{DoxyCompactList}\item 
\hyperlink{TriangleMeshTypes_8hh_a1e692d019e1d7c032c1de2e68b838ad6}{Tri\+Mesh} $\ast$ \hyperlink{namespacePluginFunctions_a5378051e853c95fd5bddc9891c049c57}{Plugin\+Functions\+::tri\+Mesh} (int \+\_\+identifier)
\begin{DoxyCompactList}\small\item\em Get a triangle mesh from an object id. \end{DoxyCompactList}\item 
\hyperlink{classTriMeshObject}{Tri\+Mesh\+Object} $\ast$ \hyperlink{namespacePluginFunctions_a3151050c315cd5d58091df12a04eba49}{Plugin\+Functions\+::tri\+Mesh\+Object} (\hyperlink{classBaseObjectData}{Base\+Object\+Data} $\ast$\+\_\+object)
\begin{DoxyCompactList}\small\item\em Cast an \hyperlink{classBaseObject}{Base\+Object} to a \hyperlink{classTriMeshObject}{Tri\+Mesh\+Object} if possible. \end{DoxyCompactList}\item 
\hyperlink{classTriMeshObject}{Tri\+Mesh\+Object} $\ast$ \hyperlink{namespacePluginFunctions_a773d0f8a370a74e04bd88270a6ea58e7}{Plugin\+Functions\+::tri\+Mesh\+Object} (int \+\_\+object\+Id)
\begin{DoxyCompactList}\small\item\em Get an \hyperlink{classTriMeshObject}{Tri\+Mesh\+Object} from the given id If possible. \end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}


\subsection{Detailed Description}
This file contains functions which can be used by plugins to access Triangle Meshes in the framework. 