\hypertarget{a04997}{}\section{Type-\/\+Open\+Mesh/\+Object\+Types/\+Poly\+Mesh/\+Plugin\+Functions\+Poly\+Mesh.hh File Reference}
\label{a04997}\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{a06173}{Plugin\+Functions}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{Indent}\textbf{ Active Objects}\par
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a06173_ac680024186d5c9fdacc9e72d791f254f}{Plugin\+Functions\+::get\+Source\+Meshes} (std\+::vector$<$ \hyperlink{a05006_a6f3eb4ad4fc6f95326b848d821958f35}{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{a06173_a2fe8e5832525a6c6baa431e4fdceda98}{Plugin\+Functions\+::get\+Target\+Meshes} (std\+::vector$<$ \hyperlink{a05006_a6f3eb4ad4fc6f95326b848d821958f35}{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{a06173_a54a07ee16fd5da52f2650a41032ed2cd}{Plugin\+Functions\+::get\+Object} (int \+\_\+identifier, \hyperlink{a11364}{Poly\+Mesh\+Object} $\ast$\&\+\_\+object)
\item 
bool \hyperlink{a06173_a2a95d5995d6311bbf1527b7ebf9bf9b7}{Plugin\+Functions\+::get\+Mesh} (int \+\_\+identifier, \hyperlink{a05006_a6f3eb4ad4fc6f95326b848d821958f35}{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{a05006_a6f3eb4ad4fc6f95326b848d821958f35}{Poly\+Mesh} $\ast$ \hyperlink{a06173_a77c3bb78b4ed8f250cedc2ba2cb03fb5}{Plugin\+Functions\+::poly\+Mesh} (\hyperlink{a07044}{Base\+Object\+Data} $\ast$\+\_\+object)
\begin{DoxyCompactList}\small\item\em Get a poly mesh from an object. \end{DoxyCompactList}\item 
\hyperlink{a05006_a6f3eb4ad4fc6f95326b848d821958f35}{Poly\+Mesh} $\ast$ \hyperlink{a06173_a007ba10a56efc6cac1d3fc7303545902}{Plugin\+Functions\+::poly\+Mesh} (int \+\_\+identifier)
\begin{DoxyCompactList}\small\item\em Get a poly mesh from an object id. \end{DoxyCompactList}\item 
\hyperlink{a11364}{Poly\+Mesh\+Object} $\ast$ \hyperlink{a06173_a6f66bc15c6d3a25e3bf2a5ceec353d47}{Plugin\+Functions\+::poly\+Mesh\+Object} (\hyperlink{a07044}{Base\+Object\+Data} $\ast$\+\_\+object)
\begin{DoxyCompactList}\small\item\em Cast an \hyperlink{a07036}{Base\+Object} to a \hyperlink{a11364}{Poly\+Mesh\+Object} if possible. \end{DoxyCompactList}\item 
\hyperlink{a11364}{Poly\+Mesh\+Object} $\ast$ \hyperlink{a06173_a0c56942c50c71c9f6b0c314131e36c0b}{Plugin\+Functions\+::poly\+Mesh\+Object} (int \+\_\+object\+Id)
\begin{DoxyCompactList}\small\item\em Get an \hyperlink{a11364}{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. 