\hypertarget{a05015}{}\section{Type-\/\+Open\+Mesh/\+Object\+Types/\+Triangle\+Mesh/\+Plugin\+Functions\+Triangle\+Mesh.hh File Reference}
\label{a05015}\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{a06173}{Plugin\+Functions}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{Indent}\textbf{ Active Objects}\par
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a06173_a058dc5d5628c37950e7a2e293c149c76}{Plugin\+Functions\+::get\+Source\+Meshes} (std\+::vector$<$ \hyperlink{a05024_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{a06173_a308809b86da9a096233b66f16c1089c3}{Plugin\+Functions\+::get\+Target\+Meshes} (std\+::vector$<$ \hyperlink{a05024_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}\textbf{ Identifier handling}\par
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{a06173_a285e69a8453714c83043c84dbd0eed2f}{Plugin\+Functions\+::get\+Object} (int \+\_\+identifier, \hyperlink{a11372}{Tri\+Mesh\+Object} $\ast$\&\+\_\+object)
\item 
bool \hyperlink{a06173_a1c5f2d09b60d5f1ec864f897b78779ab}{Plugin\+Functions\+::get\+Mesh} (int \+\_\+identifier, \hyperlink{a05024_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}\textbf{ Getting data from objects and casting between them}\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{a05024_a41cbba34c91d41c5325cc019b097ad91}{Tri\+Mesh} $\ast$ \hyperlink{a06173_a4797322b8169e91fd69c194b927b8aa8}{Plugin\+Functions\+::tri\+Mesh} (\hyperlink{a07044}{Base\+Object\+Data} $\ast$\+\_\+object)
\begin{DoxyCompactList}\small\item\em Get a triangle mesh from an object. \end{DoxyCompactList}\item 
\hyperlink{a05024_a41cbba34c91d41c5325cc019b097ad91}{Tri\+Mesh} $\ast$ \hyperlink{a06173_a5378051e853c95fd5bddc9891c049c57}{Plugin\+Functions\+::tri\+Mesh} (int \+\_\+identifier)
\begin{DoxyCompactList}\small\item\em Get a triangle mesh from an object id. \end{DoxyCompactList}\item 
\hyperlink{a11372}{Tri\+Mesh\+Object} $\ast$ \hyperlink{a06173_a3151050c315cd5d58091df12a04eba49}{Plugin\+Functions\+::tri\+Mesh\+Object} (\hyperlink{a07044}{Base\+Object\+Data} $\ast$\+\_\+object)
\begin{DoxyCompactList}\small\item\em Cast an \hyperlink{a07036}{Base\+Object} to a \hyperlink{a11372}{Tri\+Mesh\+Object} if possible. \end{DoxyCompactList}\item 
\hyperlink{a11372}{Tri\+Mesh\+Object} $\ast$ \hyperlink{a06173_a773d0f8a370a74e04bd88270a6ea58e7}{Plugin\+Functions\+::tri\+Mesh\+Object} (int \+\_\+object\+Id)
\begin{DoxyCompactList}\small\item\em Get an \hyperlink{a11372}{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. 