\hypertarget{a01048}{\section{Property\+Visualizer Class Reference}
\label{a01048}\index{Property\+Visualizer@{Property\+Visualizer}}
}


This class vizualizes a property.  




{\ttfamily \#include $<$Plugin-\/\+Property\+Vis/\+Property\+Visualizer.\+hh$>$}

Inheritance diagram for Property\+Visualizer\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.117764cm]{a01048}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01048_afb174d032bf8a09156ac44f5df00f967}{void {\bfseries log} (\hyperlink{a02444_a595b2880f3ae74561ba390e3fd8c0e7c}{Logtype} \+\_\+type, Q\+String \+\_\+message)}\label{a01048_afb174d032bf8a09156ac44f5df00f967}

\item 
\hypertarget{a01048_a46f295974b77e45ad955d55a2579a962}{void {\bfseries log} (Q\+String \+\_\+message)}\label{a01048_a46f295974b77e45ad955d55a2579a962}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a01048_a61f2b891c20d049742cbdfb8da9221f6}{Property\+Visualizer} (\hyperlink{a01033}{Property\+Info} \+\_\+property\+Info)
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hypertarget{a01048_a8da3fd5204f45273c940ac8f1c207282}{virtual \hyperlink{a01048_a8da3fd5204f45273c940ac8f1c207282}{$\sim$\+Property\+Visualizer} ()}\label{a01048_a8da3fd5204f45273c940ac8f1c207282}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
virtual void \hyperlink{a01048_ac05734a8520842cfaa5d194adcdaea86}{visualize} (bool \+\_\+set\+Draw\+Mode, Q\+Widget $\ast$\+\_\+widget)
\begin{DoxyCompactList}\small\item\em Visualizes the property. \end{DoxyCompactList}\item 
virtual void \hyperlink{a01048_afbc5419dc5f0f69e5b7bc6372d3fa55f}{remove\+Property} ()
\begin{DoxyCompactList}\small\item\em Removes the property. \end{DoxyCompactList}\item 
virtual void \hyperlink{a01048_a0ef33f9678bbb847349f0d7112d623fa}{duplicate\+Property} ()
\begin{DoxyCompactList}\small\item\em Duplicates the property. \end{DoxyCompactList}\item 
virtual void \hyperlink{a01048_a46b96d36d7e87c95338b9bf16590f42c}{clear} ()
\begin{DoxyCompactList}\small\item\em Clears the property visualization. \end{DoxyCompactList}\item 
virtual Q\+String \hyperlink{a01048_a420a70e732ffda78951725005d54a285}{get\+Name} ()
\begin{DoxyCompactList}\small\item\em Returns a beautiful name. \end{DoxyCompactList}\item 
virtual Q\+Widget $\ast$ \hyperlink{a01048_a134a9981a8112457e9a144edf79b86db}{get\+Widget} ()
\begin{DoxyCompactList}\small\item\em Returns the visualizer's widget. \end{DoxyCompactList}\item 
\hypertarget{a01048_a553459ed2b5e53a5e4427554bfd2fe0f}{const \hyperlink{a01033}{Property\+Info} \& \hyperlink{a01048_a553459ed2b5e53a5e4427554bfd2fe0f}{get\+Property\+Info} () const }\label{a01048_a553459ed2b5e53a5e4427554bfd2fe0f}

\begin{DoxyCompactList}\small\item\em Returns the \hyperlink{a01033}{Property\+Info}. \end{DoxyCompactList}\item 
virtual Q\+String \hyperlink{a01048_a58ba1a684654e1427a8d58408fb5c5e4}{get\+Property\+Text} (unsigned int i)=0
\begin{DoxyCompactList}\small\item\em Returns the value of a property in text form. \end{DoxyCompactList}\item 
virtual void \hyperlink{a01048_ae47166f4ac6b7ad65003eb71081b5432}{set\+Property\+From\+Text} (unsigned int index, Q\+String text)=0
\begin{DoxyCompactList}\small\item\em Returns the value of a property in text form. \end{DoxyCompactList}\item 
\hypertarget{a01048_a1252c8242c9f28744a4ec1122a5c0a89}{virtual int \hyperlink{a01048_a1252c8242c9f28744a4ec1122a5c0a89}{get\+Entity\+Count} ()=0}\label{a01048_a1252c8242c9f28744a4ec1122a5c0a89}

\begin{DoxyCompactList}\small\item\em Returns the number of entities. \end{DoxyCompactList}\item 
\hypertarget{a01048_a5568a7b2c8919c458f8fb07be2294988}{virtual Q\+String \hyperlink{a01048_a5568a7b2c8919c458f8fb07be2294988}{get\+Header} ()=0}\label{a01048_a5568a7b2c8919c458f8fb07be2294988}

\begin{DoxyCompactList}\small\item\em Returns the header for saving. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01048_ad375cd89e5103ea4d5ba2dfb31ea29a6}{static Q\+String {\bfseries to\+Str} (bool b)}\label{a01048_ad375cd89e5103ea4d5ba2dfb31ea29a6}

\item 
\hypertarget{a01048_acad6b211e9de8217d714091c0edbcb9e}{static Q\+String {\bfseries to\+Str} (double d)}\label{a01048_acad6b211e9de8217d714091c0edbcb9e}

\item 
\hypertarget{a01048_a564c22679862f1892eb43d601eaeb4e7}{static Q\+String {\bfseries to\+Str} (int i)}\label{a01048_a564c22679862f1892eb43d601eaeb4e7}

\item 
\hypertarget{a01048_af24583fbadfe03a7a255e23ad701d584}{static Q\+String {\bfseries to\+Str} (uint8\+\_\+t i)}\label{a01048_af24583fbadfe03a7a255e23ad701d584}

\item 
\hypertarget{a01048_a102fcc773ee675cfbef0a9e6795fc8a9}{static Q\+String {\bfseries to\+Str} (unsigned int i)}\label{a01048_a102fcc773ee675cfbef0a9e6795fc8a9}

\item 
\hypertarget{a01048_a9b39dfea9c57efa670991b2bf7c33b09}{static Q\+String {\bfseries to\+Str} (\hyperlink{a03368_aca56e7eac7bf182bfff4ea1841d2cea2}{Open\+Mesh\+::\+Vec3d} v)}\label{a01048_a9b39dfea9c57efa670991b2bf7c33b09}

\item 
\hypertarget{a01048_a76df161270de46be2ad35b4bc4d60b5d}{static Q\+String {\bfseries to\+Str} (\hyperlink{a03368_a8adbb749b1928ca5dfa079ee0b994fec}{Open\+Mesh\+::\+Vec2d} v)}\label{a01048_a76df161270de46be2ad35b4bc4d60b5d}

\item 
\hypertarget{a01048_a405b572d4a970869131643323281e4e3}{static Q\+String {\bfseries to\+Str} (\hyperlink{a03368_abe4bc40898580f1b70eea39adaa4dda0}{Open\+Mesh\+::\+Vec2f} v)}\label{a01048_a405b572d4a970869131643323281e4e3}

\item 
\hypertarget{a01048_acbfdf06a20fefa4337347293ef808fbe}{static bool {\bfseries str\+To\+Bool} (Q\+String str)}\label{a01048_acbfdf06a20fefa4337347293ef808fbe}

\item 
\hypertarget{a01048_a74521d7d131a90a0200d3552cb163b5d}{static double {\bfseries str\+To\+Double} (Q\+String str)}\label{a01048_a74521d7d131a90a0200d3552cb163b5d}

\item 
\hypertarget{a01048_a0ba79b37c071eeec9591d558ab8d6672}{static int {\bfseries str\+To\+Int} (Q\+String str)}\label{a01048_a0ba79b37c071eeec9591d558ab8d6672}

\item 
\hypertarget{a01048_a1a1d6c944368ca9f868ce181e4c49354}{static unsigned int {\bfseries str\+To\+U\+Int} (Q\+String str)}\label{a01048_a1a1d6c944368ca9f868ce181e4c49354}

\item 
\hypertarget{a01048_aa4e63f1ca4f0f06d750053f3221d4c82}{static \hyperlink{a03368_aca56e7eac7bf182bfff4ea1841d2cea2}{Open\+Mesh\+::\+Vec3d} {\bfseries str\+To\+Vec3d} (Q\+String str)}\label{a01048_aa4e63f1ca4f0f06d750053f3221d4c82}

\item 
\hypertarget{a01048_a0ca9e0a279eb7fd62a1e4f82c850465b}{static \hyperlink{a03368_a8adbb749b1928ca5dfa079ee0b994fec}{Open\+Mesh\+::\+Vec2d} {\bfseries str\+To\+Vec2d} (Q\+String str)}\label{a01048_a0ca9e0a279eb7fd62a1e4f82c850465b}

\item 
\hypertarget{a01048_a23e06fcab5acfec60945517b56a4d378}{static \hyperlink{a03368_abe4bc40898580f1b70eea39adaa4dda0}{Open\+Mesh\+::\+Vec2f} {\bfseries str\+To\+Vec2f} (Q\+String str)}\label{a01048_a23e06fcab5acfec60945517b56a4d378}

\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01048_afd254878be9e245fd065f4cbaa21a4b5}{Q\+Widget $\ast$ {\bfseries widget}}\label{a01048_afd254878be9e245fd065f4cbaa21a4b5}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01048_ad9fd5bbcbe0f4264fc1ec68865c11fe8}{\hyperlink{a01033}{Property\+Info} {\bfseries property\+Info}}\label{a01048_ad9fd5bbcbe0f4264fc1ec68865c11fe8}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class vizualizes a property. 

For each property one object of this class is created. It is responsible for the visualization of that property. It provides a widget that can be used to set options for the visualization. 

Definition at line 80 of file Property\+Visualizer.\+hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a01048_a61f2b891c20d049742cbdfb8da9221f6}{\index{Property\+Visualizer@{Property\+Visualizer}!Property\+Visualizer@{Property\+Visualizer}}
\index{Property\+Visualizer@{Property\+Visualizer}!Property\+Visualizer@{Property\+Visualizer}}
\subsubsection[{Property\+Visualizer}]{\setlength{\rightskip}{0pt plus 5cm}Property\+Visualizer\+::\+Property\+Visualizer (
\begin{DoxyParamCaption}
\item[{{\bf Property\+Info}}]{\+\_\+property\+Info}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{a01048_a61f2b891c20d049742cbdfb8da9221f6}


Constructor. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+property\+Info} & Information about the property this visualizer should visualize. \\
\hline
\end{DoxyParams}


Definition at line 94 of file Property\+Visualizer.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a01048_a46b96d36d7e87c95338b9bf16590f42c}{\index{Property\+Visualizer@{Property\+Visualizer}!clear@{clear}}
\index{clear@{clear}!Property\+Visualizer@{Property\+Visualizer}}
\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}void Property\+Visualizer\+::clear (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01048_a46b96d36d7e87c95338b9bf16590f42c}


Clears the property visualization. 

This method should be implemented by a subclass that specializes on clearing property visualizations for a specific object type. This method here only implements a warning which will tell the user that clearing the property visualitaion is not implemented yet for that object type. 

Reimplemented in \hyperlink{a00911_a390408f9ea5653eece5660bbf308494e}{O\+M\+Property\+Visualizer$<$ Mesh\+T $>$}, \hyperlink{a00916_a039fce26f70cde86cd6b4468aa021acc}{O\+M\+Property\+Visualizer\+Vector2$<$ Mesh\+T, Vector\+Type $>$}, and \hyperlink{a00915_ac8342152d622faaefd1cd4886470ef8e}{O\+M\+Property\+Visualizer\+Vector$<$ Mesh\+T $>$}.



Definition at line 95 of file Property\+Visualizer.\+cc.

\hypertarget{a01048_a0ef33f9678bbb847349f0d7112d623fa}{\index{Property\+Visualizer@{Property\+Visualizer}!duplicate\+Property@{duplicate\+Property}}
\index{duplicate\+Property@{duplicate\+Property}!Property\+Visualizer@{Property\+Visualizer}}
\subsubsection[{duplicate\+Property}]{\setlength{\rightskip}{0pt plus 5cm}void Property\+Visualizer\+::duplicate\+Property (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01048_a0ef33f9678bbb847349f0d7112d623fa}


Duplicates the property. 

This method should be implemented by a subclass that specializes on duplicating properties for a specific object type. This method here only implements a warning which will tell the user that removing the property is not implemented yet for that object type. 

Reimplemented in \hyperlink{a00916_a9d0622f587263297b3dff0341e3b9e78}{O\+M\+Property\+Visualizer\+Vector2$<$ Mesh\+T, Vector\+Type $>$}, \hyperlink{a00915_a847aa01668894d3a8ba6cc6922dac35b}{O\+M\+Property\+Visualizer\+Vector$<$ Mesh\+T $>$}, \hyperlink{a00911_a027f04bed5745fc80263a9da964c22a9}{O\+M\+Property\+Visualizer$<$ Mesh\+T $>$}, \hyperlink{a00913_adf3a61a3b17c186df0913dfc2ed5e820}{O\+M\+Property\+Visualizer\+Double$<$ Mesh\+T $>$}, \hyperlink{a00914_a22bf220a596155448d46c36e1117afa1}{O\+M\+Property\+Visualizer\+Integer$<$ Mesh\+T, T $>$}, and \hyperlink{a00912_af58986fe1042b71fd206a464e7d78d3c}{O\+M\+Property\+Visualizer\+Boolean$<$ Mesh\+T $>$}.



Definition at line 83 of file Property\+Visualizer.\+cc.

\hypertarget{a01048_a420a70e732ffda78951725005d54a285}{\index{Property\+Visualizer@{Property\+Visualizer}!get\+Name@{get\+Name}}
\index{get\+Name@{get\+Name}!Property\+Visualizer@{Property\+Visualizer}}
\subsubsection[{get\+Name}]{\setlength{\rightskip}{0pt plus 5cm}virtual Q\+String Property\+Visualizer\+::get\+Name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01048_a420a70e732ffda78951725005d54a285}


Returns a beautiful name. 

The beautiful name consists of a symbol representing the entity type, the property's name and the property's type. 

Reimplemented in \hyperlink{a00917_a5126369e88c2e5c01310417655b3dd1e}{O\+M\+Property\+Visualizer\+Vector\+Field\+Difference$<$ Mesh\+T $>$}.



Definition at line 122 of file Property\+Visualizer.\+hh.

\hypertarget{a01048_a58ba1a684654e1427a8d58408fb5c5e4}{\index{Property\+Visualizer@{Property\+Visualizer}!get\+Property\+Text@{get\+Property\+Text}}
\index{get\+Property\+Text@{get\+Property\+Text}!Property\+Visualizer@{Property\+Visualizer}}
\subsubsection[{get\+Property\+Text}]{\setlength{\rightskip}{0pt plus 5cm}virtual Q\+String Property\+Visualizer\+::get\+Property\+Text (
\begin{DoxyParamCaption}
\item[{unsigned int}]{i}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{a01048_a58ba1a684654e1427a8d58408fb5c5e4}


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}


Implemented in \hyperlink{a00911_a71a04dc64ec6ee746e3fd2a7751ee85e}{O\+M\+Property\+Visualizer$<$ Mesh\+T $>$}, \hyperlink{a00916_af39fdf93459d09d1401d86349fe7b3d6}{O\+M\+Property\+Visualizer\+Vector2$<$ Mesh\+T, Vector\+Type $>$}, \hyperlink{a00915_a39bce112841087ffcae5cf9c5be1217e}{O\+M\+Property\+Visualizer\+Vector$<$ Mesh\+T $>$}, \hyperlink{a00917_ae3dd472512b732810dc6539190393722}{O\+M\+Property\+Visualizer\+Vector\+Field\+Difference$<$ Mesh\+T $>$}, \hyperlink{a00914_a42e993590ecd1508456f059169e63be6}{O\+M\+Property\+Visualizer\+Integer$<$ Mesh\+T, T $>$}, \hyperlink{a00913_a4d4ab420da16ebd5bd16de5130d281aa}{O\+M\+Property\+Visualizer\+Double$<$ Mesh\+T $>$}, and \hyperlink{a00912_a057f9d33931f8eebca297368e7491157}{O\+M\+Property\+Visualizer\+Boolean$<$ Mesh\+T $>$}.

\hypertarget{a01048_a134a9981a8112457e9a144edf79b86db}{\index{Property\+Visualizer@{Property\+Visualizer}!get\+Widget@{get\+Widget}}
\index{get\+Widget@{get\+Widget}!Property\+Visualizer@{Property\+Visualizer}}
\subsubsection[{get\+Widget}]{\setlength{\rightskip}{0pt plus 5cm}virtual Q\+Widget$\ast$ Property\+Visualizer\+::get\+Widget (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{a01048_a134a9981a8112457e9a144edf79b86db}


Returns the visualizer's widget. 

Returns the visualizer's widget that can be used to set some options for the visualization. 

Definition at line 129 of file Property\+Visualizer.\+hh.

\hypertarget{a01048_afbc5419dc5f0f69e5b7bc6372d3fa55f}{\index{Property\+Visualizer@{Property\+Visualizer}!remove\+Property@{remove\+Property}}
\index{remove\+Property@{remove\+Property}!Property\+Visualizer@{Property\+Visualizer}}
\subsubsection[{remove\+Property}]{\setlength{\rightskip}{0pt plus 5cm}void Property\+Visualizer\+::remove\+Property (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01048_afbc5419dc5f0f69e5b7bc6372d3fa55f}


Removes the property. 

This method should be implemented by a subclass that specializes on removing properties for a specific object type. This method here only implements a warning which will tell the user that removing the property is not implemented yet for that object type. 

Reimplemented in \hyperlink{a00916_abe82aff9bf9c160b122c4de879d871b9}{O\+M\+Property\+Visualizer\+Vector2$<$ Mesh\+T, Vector\+Type $>$}, \hyperlink{a00915_a824c75ff545e9a62c560a9a96410f887}{O\+M\+Property\+Visualizer\+Vector$<$ Mesh\+T $>$}, \hyperlink{a00917_a76ede3bde8e589363c3b5334d1259618}{O\+M\+Property\+Visualizer\+Vector\+Field\+Difference$<$ Mesh\+T $>$}, \hyperlink{a00911_ad2b376392ad165e56a01d25336622086}{O\+M\+Property\+Visualizer$<$ Mesh\+T $>$}, \hyperlink{a00913_a4c78c39fd901886adb30c082ed6876e2}{O\+M\+Property\+Visualizer\+Double$<$ Mesh\+T $>$}, \hyperlink{a00914_aaa1d773e620f55f8a2d39e983a587e93}{O\+M\+Property\+Visualizer\+Integer$<$ Mesh\+T, T $>$}, and \hyperlink{a00912_a48c68d8eeb7f3f9444ac0c0cce810826}{O\+M\+Property\+Visualizer\+Boolean$<$ Mesh\+T $>$}.



Definition at line 71 of file Property\+Visualizer.\+cc.

\hypertarget{a01048_ae47166f4ac6b7ad65003eb71081b5432}{\index{Property\+Visualizer@{Property\+Visualizer}!set\+Property\+From\+Text@{set\+Property\+From\+Text}}
\index{set\+Property\+From\+Text@{set\+Property\+From\+Text}!Property\+Visualizer@{Property\+Visualizer}}
\subsubsection[{set\+Property\+From\+Text}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Property\+Visualizer\+::set\+Property\+From\+Text (
\begin{DoxyParamCaption}
\item[{unsigned int}]{index, }
\item[{Q\+String}]{text}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{a01048_ae47166f4ac6b7ad65003eb71081b5432}


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. 

Implemented in \hyperlink{a00911_a676cb51a02a115f5bb5a56097cde194d}{O\+M\+Property\+Visualizer$<$ Mesh\+T $>$}.

\hypertarget{a01048_ac05734a8520842cfaa5d194adcdaea86}{\index{Property\+Visualizer@{Property\+Visualizer}!visualize@{visualize}}
\index{visualize@{visualize}!Property\+Visualizer@{Property\+Visualizer}}
\subsubsection[{visualize}]{\setlength{\rightskip}{0pt plus 5cm}void Property\+Visualizer\+::visualize (
\begin{DoxyParamCaption}
\item[{bool}]{\+\_\+set\+Draw\+Mode, }
\item[{Q\+Widget $\ast$}]{\+\_\+widget}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01048_ac05734a8520842cfaa5d194adcdaea86}


Visualizes the property. 

This method should be implemented by a subclass that specializes on visualizing a specific property type for a specific object type. This method here only implements a warning which will tell the user that visualizing the property for that object type is not implemented yet. 

Reimplemented in \hyperlink{a00911_ab65cff35528ed4c7cfff02c444f60ce6}{O\+M\+Property\+Visualizer$<$ Mesh\+T $>$}.



Definition at line 59 of file Property\+Visualizer.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin-\/\+Property\+Vis/Property\+Visualizer.\+hh\item 
Plugin-\/\+Property\+Vis/Property\+Visualizer.\+cc\end{DoxyCompactItemize}
