\hypertarget{a10428}{}\section{O\+V\+M\+Property\+Visualizer$<$ MeshT $>$ Class Template Reference}
\label{a10428}\index{O\+V\+M\+Property\+Visualizer$<$ Mesh\+T $>$@{O\+V\+M\+Property\+Visualizer$<$ Mesh\+T $>$}}
Inheritance diagram for O\+V\+M\+Property\+Visualizer$<$ MeshT $>$\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.306122cm]{a10428}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{a10432}{Copy\+Property}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10428_ae98a792654f9612ed777444df35c3218}\label{a10428_ae98a792654f9612ed777444df35c3218}} 
{\bfseries O\+V\+M\+Property\+Visualizer} (MeshT $\ast$\+\_\+mesh, int object\+ID, \hyperlink{a10496}{Property\+Info} \+\_\+property\+Info)
\item 
\mbox{\Hypertarget{a10428_aca7753233881fcdacff5f4f9c42a9264}\label{a10428_aca7753233881fcdacff5f4f9c42a9264}} 
virtual void \hyperlink{a10428_aca7753233881fcdacff5f4f9c42a9264}{visualize} (bool \+\_\+set\+Draw\+Mode, Q\+Widget $\ast$\+\_\+widget)
\begin{DoxyCompactList}\small\item\em Visualizes a property. \end{DoxyCompactList}\item 
virtual void \hyperlink{a10428_a05276c566a963f7d1e6c473c40cb5fe2}{remove\+Property} ()
\begin{DoxyCompactList}\small\item\em Should remove the property. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10428_aa4cf1d6efcde59286e22c36e157078ad}\label{a10428_aa4cf1d6efcde59286e22c36e157078ad}} 
virtual void \hyperlink{a10428_aa4cf1d6efcde59286e22c36e157078ad}{duplicate\+Property} ()
\begin{DoxyCompactList}\small\item\em Duplicates a property. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10428_a0c0c6053677e0a9aeeb7c6f18961d696}\label{a10428_a0c0c6053677e0a9aeeb7c6f18961d696}} 
virtual void \hyperlink{a10428_a0c0c6053677e0a9aeeb7c6f18961d696}{clear} ()
\begin{DoxyCompactList}\small\item\em Clears a property. \end{DoxyCompactList}\item 
virtual Q\+String \hyperlink{a10428_a02061ae2bdf447c9c6764374ceb1e710}{get\+Property\+Text} (unsigned int index)=0
\begin{DoxyCompactList}\small\item\em Returns the value of a property in text form. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10428_af8d2d82ece1c1189fc67a7a8db9ea3a0}\label{a10428_af8d2d82ece1c1189fc67a7a8db9ea3a0}} 
unsigned int \hyperlink{a10428_af8d2d82ece1c1189fc67a7a8db9ea3a0}{get\+Closest\+Primitive\+Id} (unsigned int \+\_\+face, \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+hit\+Point)
\begin{DoxyCompactList}\small\item\em Returns the ID of the closest primitive. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10428_ad5e048a3ce724df93f347689e67fa23a}\label{a10428_ad5e048a3ce724df93f347689e67fa23a}} 
{\footnotesize template$<$typename Type $>$ }\\void {\bfseries show\+Histogram} (\hyperlink{a07684}{A\+C\+G\+::\+Qt\+Widgets\+::\+Qt\+Histogram\+Widget} $\ast$histogram\+Widget)
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10428_a08d2879edb95b60d741b022f0c94de19}\label{a10428_a08d2879edb95b60d741b022f0c94de19}} 
virtual void {\bfseries visualize\+Face\+Prop} (bool \+\_\+set\+Draw\+Mode=true)
\item 
\mbox{\Hypertarget{a10428_aeb3d79754ac8949bcf729bfe3091f860}\label{a10428_aeb3d79754ac8949bcf729bfe3091f860}} 
virtual void {\bfseries visualize\+Edge\+Prop} (bool \+\_\+set\+Draw\+Mode=true)
\item 
\mbox{\Hypertarget{a10428_a9f66ddce49ac033821ad4f3ae771bac1}\label{a10428_a9f66ddce49ac033821ad4f3ae771bac1}} 
virtual void {\bfseries visualize\+Halfedge\+Prop} (bool \+\_\+set\+Draw\+Mode=true)
\item 
\mbox{\Hypertarget{a10428_abef48fba67b874fb72681a0c26ef1c6c}\label{a10428_abef48fba67b874fb72681a0c26ef1c6c}} 
virtual void {\bfseries visualize\+Vertex\+Prop} (bool \+\_\+set\+Draw\+Mode=true)
\item 
\mbox{\Hypertarget{a10428_adacdd03b829bc10425a39466eac5a6e7}\label{a10428_adacdd03b829bc10425a39466eac5a6e7}} 
virtual void {\bfseries visualize\+Cell\+Prop} (bool \+\_\+set\+Draw\+Mode=true)
\item 
\mbox{\Hypertarget{a10428_a54dc4e26efa5982b39c25178cdad7de0}\label{a10428_a54dc4e26efa5982b39c25178cdad7de0}} 
virtual void {\bfseries visualize\+Halfface\+Prop} (bool \+\_\+set\+Draw\+Mode=true)
\item 
\mbox{\Hypertarget{a10428_a4085270465f588c8089851398dc31257}\label{a10428_a4085270465f588c8089851398dc31257}} 
{\footnotesize template$<$typename Prop\+Type $>$ }\\void {\bfseries duplicate\+Property\+\_\+stage1} ()
\item 
\mbox{\Hypertarget{a10428_a206b59ecb62fe980e747918c3d241e4e}\label{a10428_a206b59ecb62fe980e747918c3d241e4e}} 
{\footnotesize template$<$typename Inner\+Type $>$ }\\Q\+String {\bfseries get\+Property\+Text\+\_\+} (unsigned int index)
\item 
\mbox{\Hypertarget{a10428_afed1b27efcfd5b7863caef185a1ce3cd}\label{a10428_afed1b27efcfd5b7863caef185a1ce3cd}} 
virtual void {\bfseries set\+Cell\+Property\+From\+Text} (unsigned int index, Q\+String text)
\item 
\mbox{\Hypertarget{a10428_a95498d563d707d55a869397fa7775908}\label{a10428_a95498d563d707d55a869397fa7775908}} 
virtual void {\bfseries set\+Face\+Property\+From\+Text} (unsigned int index, Q\+String text)
\item 
\mbox{\Hypertarget{a10428_a8e692f83a9e7cb5e6a8146056eeb728b}\label{a10428_a8e692f83a9e7cb5e6a8146056eeb728b}} 
virtual void {\bfseries set\+Halfface\+Property\+From\+Text} (unsigned int index, Q\+String text)
\item 
\mbox{\Hypertarget{a10428_a5c6fe0e829237589330e04e0d800b846}\label{a10428_a5c6fe0e829237589330e04e0d800b846}} 
virtual void {\bfseries set\+Edge\+Property\+From\+Text} (unsigned int index, Q\+String text)
\item 
\mbox{\Hypertarget{a10428_a2adc08ecb061e11b2af173ede90c0ef6}\label{a10428_a2adc08ecb061e11b2af173ede90c0ef6}} 
virtual void {\bfseries set\+Halfedge\+Property\+From\+Text} (unsigned int index, Q\+String text)
\item 
\mbox{\Hypertarget{a10428_adecb4b7cea1027755189e9cbdc5fdfa9}\label{a10428_adecb4b7cea1027755189e9cbdc5fdfa9}} 
virtual void {\bfseries set\+Vertex\+Property\+From\+Text} (unsigned int index, Q\+String text)
\item 
virtual void \hyperlink{a10428_a73e8ce16b637e90f7bd6fff2cc164abb}{set\+Property\+From\+Text} (unsigned int index, Q\+String text)
\begin{DoxyCompactList}\small\item\em Returns the value of a property in text form. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10428_a6c7e6d6c32f283938f74f2f1b2c81e55}\label{a10428_a6c7e6d6c32f283938f74f2f1b2c81e55}} 
virtual int \hyperlink{a10428_a6c7e6d6c32f283938f74f2f1b2c81e55}{get\+Entity\+Count} ()
\begin{DoxyCompactList}\small\item\em Returns the number of entities. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10428_ad352dcc3fa76c196ad7fd2065dd8f17f}\label{a10428_ad352dcc3fa76c196ad7fd2065dd8f17f}} 
virtual Q\+String \hyperlink{a10428_ad352dcc3fa76c196ad7fd2065dd8f17f}{get\+Header} ()
\begin{DoxyCompactList}\small\item\em Returns the header for saving. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a10428_acb56319c6bdd5f0a466bd587f834ab24}\label{a10428_acb56319c6bdd5f0a466bd587f834ab24}} 
unsigned int {\bfseries get\+Closest\+Cell\+Id} (unsigned int \+\_\+face, \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+hit\+Point)
\item 
\mbox{\Hypertarget{a10428_aa1b8ce81795db48e88a8acb9ed34b56a}\label{a10428_aa1b8ce81795db48e88a8acb9ed34b56a}} 
unsigned int {\bfseries get\+Closest\+Face\+Id} (unsigned int \+\_\+face, \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+hit\+Point)
\item 
\mbox{\Hypertarget{a10428_a2b3095bbb23e95407a77230549317984}\label{a10428_a2b3095bbb23e95407a77230549317984}} 
unsigned int {\bfseries get\+Closest\+Halfface\+Id} (unsigned int \+\_\+face, \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+hit\+Point)
\item 
\mbox{\Hypertarget{a10428_aa6df92ada8581123559b062883600ad4}\label{a10428_aa6df92ada8581123559b062883600ad4}} 
unsigned int {\bfseries get\+Closest\+Edge\+Id} (unsigned int \+\_\+face, \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+hit\+Point)
\item 
\mbox{\Hypertarget{a10428_a0d62c8de70cca16061a8a5e59de06247}\label{a10428_a0d62c8de70cca16061a8a5e59de06247}} 
unsigned int {\bfseries get\+Closest\+Halfedge\+Id} (unsigned int \+\_\+face, \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+hit\+Point)
\item 
\mbox{\Hypertarget{a10428_a2ddb0bbb06ef0f923e97cac8ef002ad9}\label{a10428_a2ddb0bbb06ef0f923e97cac8ef002ad9}} 
unsigned int {\bfseries get\+Closest\+Vertex\+Id} (unsigned int \+\_\+face, \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+hit\+Point)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10428_af2000c6194c1ccfa5b3480c9b937c5ad}\label{a10428_af2000c6194c1ccfa5b3480c9b937c5ad}} 
MeshT $\ast$ {\bfseries mesh}
\item 
\mbox{\Hypertarget{a10428_a305b21f11cb14727bbb7f17eeae85a18}\label{a10428_a305b21f11cb14727bbb7f17eeae85a18}} 
int {\bfseries m\+Object\+ID}
\item 
\mbox{\Hypertarget{a10428_aab65276cbc77caf56afdb14a2976b274}\label{a10428_aab65276cbc77caf56afdb14a2976b274}} 
\hyperlink{a11744}{Volume\+Mesh\+Draw\+Modes\+Container} {\bfseries draw\+Modes}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\subsubsection*{template$<$typename MeshT$>$\newline
class O\+V\+M\+Property\+Visualizer$<$ Mesh\+T $>$}



Definition at line 61 of file O\+V\+M\+Property\+Visualizer.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a10428_a02061ae2bdf447c9c6764374ceb1e710}\label{a10428_a02061ae2bdf447c9c6764374ceb1e710}} 
\index{O\+V\+M\+Property\+Visualizer@{O\+V\+M\+Property\+Visualizer}!get\+Property\+Text@{get\+Property\+Text}}
\index{get\+Property\+Text@{get\+Property\+Text}!O\+V\+M\+Property\+Visualizer@{O\+V\+M\+Property\+Visualizer}}
\subsubsection{\texorpdfstring{get\+Property\+Text()}{getPropertyText()}}
{\footnotesize\ttfamily template$<$typename MeshT$>$ \\
virtual Q\+String \hyperlink{a10428}{O\+V\+M\+Property\+Visualizer}$<$ MeshT $>$\+::get\+Property\+Text (\begin{DoxyParamCaption}\item[{unsigned int}]{i }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}



Returns the value of a property in text form. 


\begin{DoxyParams}{Parameters}
{\em i} & The id of the entity whose property we want to know. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The property value in text form. 
\end{DoxyReturn}


Implements \hyperlink{a10468_a58ba1a684654e1427a8d58408fb5c5e4}{Property\+Visualizer}.



Implemented in \hyperlink{a10448_abe8c4fcd9689d1ccdd3f6a2b5a680c91}{O\+V\+M\+Property\+Visualizer\+Vector$<$ Mesh\+T $>$}, \hyperlink{a10452_a4dff25ff8e9cd5cf66b67927a5ff17a1}{O\+V\+M\+Property\+Visualizer\+Vector\+Field\+Difference$<$ Mesh\+T $>$}, \hyperlink{a10436_a5015f6bc3f7c4cce6467181f79b4ad02}{O\+V\+M\+Property\+Visualizer\+Boolean$<$ Mesh\+T $>$}, \hyperlink{a10440_a6c3c969b82208e765ac2f249182f8daa}{O\+V\+M\+Property\+Visualizer\+Double$<$ Mesh\+T $>$}, and \hyperlink{a10444_a29a8ae8b7a11015e64b2d3cd43b645e6}{O\+V\+M\+Property\+Visualizer\+Integer$<$ Mesh\+T, T $>$}.

\mbox{\Hypertarget{a10428_a05276c566a963f7d1e6c473c40cb5fe2}\label{a10428_a05276c566a963f7d1e6c473c40cb5fe2}} 
\index{O\+V\+M\+Property\+Visualizer@{O\+V\+M\+Property\+Visualizer}!remove\+Property@{remove\+Property}}
\index{remove\+Property@{remove\+Property}!O\+V\+M\+Property\+Visualizer@{O\+V\+M\+Property\+Visualizer}}
\subsubsection{\texorpdfstring{remove\+Property()}{removeProperty()}}
{\footnotesize\ttfamily template$<$typename MeshT$>$ \\
virtual void \hyperlink{a10428}{O\+V\+M\+Property\+Visualizer}$<$ MeshT $>$\+::remove\+Property (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



Should remove the property. 

Removing properties is not yet supported by Open\+Volume\+Mesh. Therefor this method only informs the user of this fact via a log message. 

Reimplemented from \hyperlink{a10468_afbc5419dc5f0f69e5b7bc6372d3fa55f}{Property\+Visualizer}.



Definition at line 82 of file O\+V\+M\+Property\+Visualizer.\+hh.

\mbox{\Hypertarget{a10428_a73e8ce16b637e90f7bd6fff2cc164abb}\label{a10428_a73e8ce16b637e90f7bd6fff2cc164abb}} 
\index{O\+V\+M\+Property\+Visualizer@{O\+V\+M\+Property\+Visualizer}!set\+Property\+From\+Text@{set\+Property\+From\+Text}}
\index{set\+Property\+From\+Text@{set\+Property\+From\+Text}!O\+V\+M\+Property\+Visualizer@{O\+V\+M\+Property\+Visualizer}}
\subsubsection{\texorpdfstring{set\+Property\+From\+Text()}{setPropertyFromText()}}
{\footnotesize\ttfamily template$<$typename MeshT $>$ \\
void \hyperlink{a10428}{O\+V\+M\+Property\+Visualizer}$<$ MeshT $>$\+::set\+Property\+From\+Text (\begin{DoxyParamCaption}\item[{unsigned int}]{index,  }\item[{Q\+String}]{text }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}



Returns the value of a property in text form. 


\begin{DoxyParams}{Parameters}
{\em index} & The id of the entity whose property should be set. \\
\hline
{\em text} & The value in text form.\\
\hline
\end{DoxyParams}
This method sets the porperty of a given entity by transforming the text into the correct type. This is used when a property is loaded from a file. 

Implements \hyperlink{a10468_ae47166f4ac6b7ad65003eb71081b5432}{Property\+Visualizer}.



Definition at line 97 of file O\+V\+M\+Property\+Visualizer\+T\+\_\+impl.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin-\/\+Property\+Vis/\+Open\+Volume\+Mesh/O\+V\+M\+Property\+Visualizer.\+hh\item 
Plugin-\/\+Property\+Vis/\+Open\+Volume\+Mesh/O\+V\+M\+Property\+Visualizer\+T\+\_\+impl.\+hh\end{DoxyCompactItemize}
