\hypertarget{a02344}{\section{Object\+Types/\+Poly\+Mesh/\+Plugin\+Functions\+Poly\+Mesh.hh File Reference}
\label{a02344}\index{Object\+Types/\+Poly\+Mesh/\+Plugin\+Functions\+Poly\+Mesh.\+hh@{Object\+Types/\+Poly\+Mesh/\+Plugin\+Functions\+Poly\+Mesh.\+hh}}
}
{\ttfamily \#include $<$Open\+Flipper/common/\+Types.\+hh$>$}\\*
{\ttfamily \#include $<$Object\+Types/\+Poly\+Mesh/\+Poly\+Mesh.\+hh$>$}\\*
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \hyperlink{a03393}{Plugin\+Functions}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{Indent}{\bf Active Objects}\par
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a03393_ad40af179353ee80df8b650c06ad871e1}{Plugin\+Functions\+::get\+Source\+Meshes} (std\+::vector$<$ \hyperlink{a02347_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{a03393_a95cbaa77bb46316774f31644001763aa}{Plugin\+Functions\+::get\+Target\+Meshes} (std\+::vector$<$ \hyperlink{a02347_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}{\bf Identifier handling}\par
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a03393_a2ed8ca288309997606e8ea66d1711da2}{Plugin\+Functions\+::get\+Object} (int \+\_\+identifier, \hyperlink{a00993}{Poly\+Mesh\+Object} $\ast$\&\+\_\+object)
\item 
bool \hyperlink{a03393_a1080830d4cca134fc907b207a1a37264}{Plugin\+Functions\+::get\+Mesh} (int \+\_\+identifier, \hyperlink{a02347_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}{\bf Getting data from objects and casting between them}\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{a02347_a6f3eb4ad4fc6f95326b848d821958f35}{Poly\+Mesh} $\ast$ \hyperlink{a03393_afe48c8dedf9bf541678277213548d61a}{Plugin\+Functions\+::poly\+Mesh} (\hyperlink{a00330}{Base\+Object\+Data} $\ast$\+\_\+object)
\begin{DoxyCompactList}\small\item\em Get a poly mesh from an object. \end{DoxyCompactList}\item 
\hyperlink{a02347_a6f3eb4ad4fc6f95326b848d821958f35}{Poly\+Mesh} $\ast$ \hyperlink{a03393_aa479dc9090f008c9772bd1559dfabf00}{Plugin\+Functions\+::poly\+Mesh} (int \+\_\+identifier)
\begin{DoxyCompactList}\small\item\em Get a poly mesh from an object id. \end{DoxyCompactList}\item 
\hyperlink{a00993}{Poly\+Mesh\+Object} $\ast$ \hyperlink{a03393_adbb1912ef5640b57a886731049f21413}{Plugin\+Functions\+::poly\+Mesh\+Object} (\hyperlink{a00330}{Base\+Object\+Data} $\ast$\+\_\+object)
\begin{DoxyCompactList}\small\item\em Cast an \hyperlink{a00329}{Base\+Object} to a \hyperlink{a00993}{Poly\+Mesh\+Object} if possible. \end{DoxyCompactList}\item 
\hyperlink{a00993}{Poly\+Mesh\+Object} $\ast$ \hyperlink{a03393_ac802b88bd77f5f84204c1f7be337252a}{Plugin\+Functions\+::poly\+Mesh\+Object} (int \+\_\+object\+Id)
\begin{DoxyCompactList}\small\item\em Get an \hyperlink{a00993}{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. 

Definition in file \hyperlink{a02344_source}{Plugin\+Functions\+Poly\+Mesh.\+hh}.

