\hypertarget{PluginFunctionsPolyMesh_8hh}{}\section{Type-\/\+Open\+Mesh/\+Object\+Types/\+Poly\+Mesh/\+Plugin\+Functions\+Poly\+Mesh.hh File Reference}
\label{PluginFunctionsPolyMesh_8hh}\index{Type-\/\+Open\+Mesh/\+Object\+Types/\+Poly\+Mesh/\+Plugin\+Functions\+Poly\+Mesh.\+hh@{Type-\/\+Open\+Mesh/\+Object\+Types/\+Poly\+Mesh/\+Plugin\+Functions\+Poly\+Mesh.\+hh}}
{\ttfamily \#include $<$Open\+Flipper/common/\+Types.\+hh$>$}\newline
{\ttfamily \#include $<$Object\+Types/\+Poly\+Mesh/\+Poly\+Mesh.\+hh$>$}\newline
{\ttfamily \#include $<$Open\+Flipper/common/\+Object\+Type\+D\+L\+L\+Defines.\+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_ac680024186d5c9fdacc9e72d791f254f}{Plugin\+Functions\+::get\+Source\+Meshes} (std\+::vector$<$ \hyperlink{PolyMeshTypes_8hh_ad87c228a508145078730fee01fb41ba8}{Poly\+Mesh} $\ast$ $>$ \&\+\_\+meshes)
\begin{DoxyCompactList}\small\item\em Get a pointer to every Poly Mesh which is marked as a source mesh. \end{DoxyCompactList}\item 
bool \hyperlink{namespacePluginFunctions_a2fe8e5832525a6c6baa431e4fdceda98}{Plugin\+Functions\+::get\+Target\+Meshes} (std\+::vector$<$ \hyperlink{PolyMeshTypes_8hh_ad87c228a508145078730fee01fb41ba8}{Poly\+Mesh} $\ast$ $>$ \&\+\_\+meshes)
\begin{DoxyCompactList}\small\item\em Get a pointer to every Poly 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_a54a07ee16fd5da52f2650a41032ed2cd}{Plugin\+Functions\+::get\+Object} (int \+\_\+identifier, \hyperlink{classPolyMeshObject}{Poly\+Mesh\+Object} $\ast$\&\+\_\+object)
\item 
bool \hyperlink{namespacePluginFunctions_a2a95d5995d6311bbf1527b7ebf9bf9b7}{Plugin\+Functions\+::get\+Mesh} (int \+\_\+identifier, \hyperlink{PolyMeshTypes_8hh_ad87c228a508145078730fee01fb41ba8}{Poly\+Mesh} $\ast$\&\+\_\+mesh)
\begin{DoxyCompactList}\small\item\em Get the Poly 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{PolyMeshTypes_8hh_ad87c228a508145078730fee01fb41ba8}{Poly\+Mesh} $\ast$ \hyperlink{namespacePluginFunctions_a77c3bb78b4ed8f250cedc2ba2cb03fb5}{Plugin\+Functions\+::poly\+Mesh} (\hyperlink{classBaseObjectData}{Base\+Object\+Data} $\ast$\+\_\+object)
\begin{DoxyCompactList}\small\item\em Get a poly mesh from an object. \end{DoxyCompactList}\item 
\hyperlink{PolyMeshTypes_8hh_ad87c228a508145078730fee01fb41ba8}{Poly\+Mesh} $\ast$ \hyperlink{namespacePluginFunctions_a007ba10a56efc6cac1d3fc7303545902}{Plugin\+Functions\+::poly\+Mesh} (int \+\_\+identifier)
\begin{DoxyCompactList}\small\item\em Get a poly mesh from an object id. \end{DoxyCompactList}\item 
\hyperlink{classPolyMeshObject}{Poly\+Mesh\+Object} $\ast$ \hyperlink{namespacePluginFunctions_a6f66bc15c6d3a25e3bf2a5ceec353d47}{Plugin\+Functions\+::poly\+Mesh\+Object} (\hyperlink{classBaseObjectData}{Base\+Object\+Data} $\ast$\+\_\+object)
\begin{DoxyCompactList}\small\item\em Cast an \hyperlink{classBaseObject}{Base\+Object} to a \hyperlink{classPolyMeshObject}{Poly\+Mesh\+Object} if possible. \end{DoxyCompactList}\item 
\hyperlink{classPolyMeshObject}{Poly\+Mesh\+Object} $\ast$ \hyperlink{namespacePluginFunctions_a0c56942c50c71c9f6b0c314131e36c0b}{Plugin\+Functions\+::poly\+Mesh\+Object} (int \+\_\+object\+Id)
\begin{DoxyCompactList}\small\item\em Get an \hyperlink{classPolyMeshObject}{Poly\+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 polymeshes in the framework. 