\hypertarget{a02422}{\section{Object\+Types/\+Triangle\+Mesh/\+Plugin\+Functions\+Triangle\+Mesh.hh File Reference}
\label{a02422}\index{Object\+Types/\+Triangle\+Mesh/\+Plugin\+Functions\+Triangle\+Mesh.\+hh@{Object\+Types/\+Triangle\+Mesh/\+Plugin\+Functions\+Triangle\+Mesh.\+hh}}
}
{\ttfamily \#include $<$Open\+Flipper/common/\+Types.\+hh$>$}\\*
{\ttfamily \#include $<$Object\+Types/\+Triangle\+Mesh/\+Triangle\+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_aec94ce29387c749f17c584c667c14ae1}{Plugin\+Functions\+::get\+Source\+Meshes} (std\+::vector$<$ \hyperlink{a02425_a41cbba34c91d41c5325cc019b097ad91}{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{a03393_a2dbae12872a0bc53c9cfeb9c4ef5de64}{Plugin\+Functions\+::get\+Target\+Meshes} (std\+::vector$<$ \hyperlink{a02425_a41cbba34c91d41c5325cc019b097ad91}{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}{\bf Identifier handling}\par
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a03393_a1b583bc4ea03cc1b30ad6d342851df74}{Plugin\+Functions\+::get\+Object} (int \+\_\+identifier, \hyperlink{a01339}{Tri\+Mesh\+Object} $\ast$\&\+\_\+object)
\item 
bool \hyperlink{a03393_a4d6bd0933fe6b07f2e7c73945cc37ed6}{Plugin\+Functions\+::get\+Mesh} (int \+\_\+identifier, \hyperlink{a02425_a41cbba34c91d41c5325cc019b097ad91}{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}{\bf Getting data from objects and casting between them}\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{a02425_a41cbba34c91d41c5325cc019b097ad91}{Tri\+Mesh} $\ast$ \hyperlink{a03393_a11d22dc1c64537f87c014241cacc4340}{Plugin\+Functions\+::tri\+Mesh} (\hyperlink{a00330}{Base\+Object\+Data} $\ast$\+\_\+object)
\begin{DoxyCompactList}\small\item\em Get a triangle mesh from an object. \end{DoxyCompactList}\item 
\hyperlink{a02425_a41cbba34c91d41c5325cc019b097ad91}{Tri\+Mesh} $\ast$ \hyperlink{a03393_a77821a152f74a636af9c174626317ee9}{Plugin\+Functions\+::tri\+Mesh} (int \+\_\+identifier)
\begin{DoxyCompactList}\small\item\em Get a triangle mesh from an object id. \end{DoxyCompactList}\item 
\hyperlink{a01339}{Tri\+Mesh\+Object} $\ast$ \hyperlink{a03393_a1f03569cd9ea2c79069f362b84c42661}{Plugin\+Functions\+::tri\+Mesh\+Object} (\hyperlink{a00330}{Base\+Object\+Data} $\ast$\+\_\+object)
\begin{DoxyCompactList}\small\item\em Cast an \hyperlink{a00329}{Base\+Object} to a \hyperlink{a01339}{Tri\+Mesh\+Object} if possible. \end{DoxyCompactList}\item 
\hyperlink{a01339}{Tri\+Mesh\+Object} $\ast$ \hyperlink{a03393_ab0afe158eb7c541de3f14d688d922b4e}{Plugin\+Functions\+::tri\+Mesh\+Object} (int \+\_\+object\+Id)
\begin{DoxyCompactList}\small\item\em Get an \hyperlink{a01339}{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. 

Definition in file \hyperlink{a02422_source}{Plugin\+Functions\+Triangle\+Mesh.\+hh}.

